Releases: google/ksp
Releases Β· google/ksp
2.2.21-2.0.5
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
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
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
2.3.2
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
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
What's Changed
Full Changelog: 2.2.21-RC2-2.0.4...2.2.21-2.0.4
2.3.0
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
What's Changed
- Update Kotlin version to 2.2.21-RC2 by @mkmuir0 in #2653
- Show KSP1 warning only once per project by @hfmehmed in #2655
Full Changelog: 2.2.21-RC-2.0.4...2.2.21-RC2-2.0.4
2.2.21-RC-2.0.4
What's Changed
Full Changelog: 2.2.20-2.0.4...2.2.21-RC-2.0.4