Skip to content

Releases: google/ksp

2.2.21-2.0.5

02 Feb 21:06

Choose a tag to compare

What's Changed

  • A new Gradle property flag was added to mute the warnings about KSP1 usage. You can enable this by setting warn.on.ksp1.usage=false in your gradle.properties file.

Full Changelog: 2.2.21-2.0.4...2.2.21-2.0.5

2.3.5

28 Jan 18:06

Choose a tag to compare

What's Changed

  • KSPCoreEnvironment.instance_prop leaks memory when used programmatically #2742
  • Missing first annotation argument when toByte is used #2672
  • Fix circular dependency between KSP and KAPT in AGP 9.0 #2743

Contributors

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

Full Changelog: 2.3.4...2.3.5

2.3.4

16 Dec 20:35

Choose a tag to compare

What's Changed

  • KSP ignores sources in Kotlin directory #2730
  • Avoid recording Java symbol lookups in non-incremental builds #2728
  • Clean up ThreadLocals when processing is done #2709

Contributors

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

Full Changelog: 2.3.3...2.3.4

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