Releases: google/ksp
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
2.2.20-2.0.4
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
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
What's Changed
Full Changelog: 2.2.20-RC2-2.0.2...2.2.20-2.0.2