Skip to content

Releases: google/ksp

2.3.3

20 Nov 20:58

Choose a tag to compare

What's Changed

  • Migrate away from a deprecated compilerOptions KGP API #2703

Contributors

  • Thanks to everyone who reported bugs and participated in discussions!

Full Changelog: 2.3.2...2.3.3

2.3.2

06 Nov 20:22

Choose a tag to compare

What's Changed

Note: This release is a hotfix for a regression introduced in 2.3.1

  • Fixed an issue where KSP incorrectly processed specific nullable annotations from Java interfaces, leading to incorrect nullability in the generated Kotlin code #2696
  • Fixed a regression introduced in #2656 that caused runtime failures for projects using AGP 8.8.0 and older due to an incompatible, version-specific type check. #2694

Contributors

Thanks to everyone who reported bugs and participated in discussions!

Full Changelog: 2.3.1...2.3.2

2.3.1

04 Nov 17:29

Choose a tag to compare

What's Changed

  • Added support for AGP 9.0 and built-in Kotlin #2674
  • Fixed a bug in getJvmCheckedException that incorrectly handled nested classes. #2584
  • Removed incorrect caching for KSValueArgumentLiteImpl that wrongly merged arguments with different parents, origins, or locations #2677

Contributors

Thanks to everyone who reported bugs and participated in discussions!
Full Changelog: 2.3.0...2.3.1

2.2.21-2.0.4

28 Oct 20:11

Choose a tag to compare

What's Changed

Full Changelog: 2.2.21-RC2-2.0.4...2.2.21-2.0.4

2.3.0

22 Oct 16:26

Choose a tag to compare

What's Changed

  • KSP1 has been deprecated #2657
  • KSP version is no longer tied to the Kotlin compiler version (moving away from the old - format). #2658
  • KSP is no longer a compiler plugin (like KSP1). It now operates as a more standalone tool built on stable compiler APIs (shared with tools like IntelliJ).
  • KSP now has fewer limitations on the Kotlin version in use and allows the KSP team to provide better compatibility to KGP/AGP/Gradle
  • Read more about KSP2: https://github.com/google/ksp/blob/main/docs/ksp2.md

Reason for 2.3.0 version name:

  • It is independent of Kotlin now
  • We wanted to match the Kotlin language version
  • It is newer than the latest KSP 2.2.20-2.0.4 release.

Full Changelog: 2.2.20-2.0.4...2.3.0

2.2.21-RC2-2.0.4

17 Oct 16:34

Choose a tag to compare

2.2.21-RC2-2.0.4 Pre-release
Pre-release

What's Changed

Full Changelog: 2.2.21-RC-2.0.4...2.2.21-RC2-2.0.4

2.2.21-RC-2.0.4

08 Oct 19:37

Choose a tag to compare

2.2.21-RC-2.0.4 Pre-release
Pre-release

What's Changed

Full Changelog: 2.2.20-2.0.4...2.2.21-RC-2.0.4

2.2.20-2.0.4

07 Oct 21:52

Choose a tag to compare

What's Changed

  • Unable to build on AGP 8.11.1 using KSP 2.2.20-2.0.3 due to class cast exception #2614

  • Resolver#getJvmCheckedException(KSPropertyAccessor) throws IllegalArgumentException #2548

  • ClassCastException when building with 2.2.20-2.0.3 #2598

  • Replace KaFirStopWorldCacheCleaner with no-op implementation #2626

  • BuildConfig values are not available during annotation process after upgrading ksp from 2.2.10-2.0.2 -> 2.2.20-2.0.3 #2597

  • Missing Gradle task wiring with 2.2.20-2.0.3 #2595

  • 2.2.20-2.0.3 + protobufJavalite build errors #2596

Contributors

Thanks to everyone who reported bugs and participated in discussions!

Full Changelog: 2.2.20-2.0.3...2.2.20-2.0.4

2.2.20-2.0.3

11 Sep 21:48

Choose a tag to compare

What's Changed

  • Removed usages of deprecated KGP ApiVersion - #2400
  • Android integration for KSP has moved on to the new Variant API - #2250
  • Runtime warning was added for projects that opt out of KSP2 - #2538
  • AGP version against which KSP is compiled has been upgraded - #2552

Contributors

Thanks to everyone who reported bugs and participated in discussions!

Full Changelog: 2.1.21-2.0.2...2.2.20-2.0.3

2.2.20-2.0.2

10 Sep 21:04

Choose a tag to compare

What's Changed

Full Changelog: 2.2.20-RC2-2.0.2...2.2.20-2.0.2