Releases: google/ksp
Releases Β· google/ksp
1.8.21-1.0.11 Release
Bump Kotlin Compiler to 1.8.21 for 1.0.11 release
1.8.20-1.0.11 Release
Issues fixed
Incremental compilation fails with "Number of loaded files in snapshots differs" #1280
1.8.20-1.0.10
New Features
KSP can now be run with K2 compiler frontend.
- note that KSP itself still runs in old frontend implementation as its own task, there might be some behavior differences with new compiler frontend (e.g. you might get different type resolution results)
Issues fixed
- KSP up-to-date after changing processor code #1308
- Java annotation array type value in java will break getAnnotationsByType #1329
- Gradle configuration warning: "Configuration is both resolvable/consumable or consumable/declarable #1293
- Defer resolution of processor classpath #1294
Known issue
There is a known issue with incremental with this release #1280 from compiler update, we are working on a hotfix release to address this, if you are impacted by this issue, please try to disable incremental or hold on for hotfix release.
Contributors
Thanks for your contributions!
@larryxiao625
@ansman
1.8.20-RC2-1.0.9
KSP 1.0.9 for Kotlin 1.8.20-RC2
1.8.20-RC-1.0.9
KSP 1.0.9 for Kotlin 1.8.20-RC
1.8.20-Beta-1.0.9
1.8.20-Beta-1.0.9
1.8.10-1.0.9
1.8.10-1.0.9
1.8.0-1.0.9
New Features
- Supported definitely non null type
- Added corresponding
KSDefNonNullReference
for definitely non null types. - If you are implementing
KSVisitor
directly, you need to overridevisitDefNonNullReference
in your visitor as well.
- Added corresponding
excludedProcessors
is added to Gradle extensions to allow excluding certain processors.Any?
is added to unbounded type parameters
Issues fixed
- Incremental compilation fails with "Number of loaded files in snapshots differs" #1280
- Type T & Any can't be analyzed even in the latest version. #1127
- Can't differentiate between @A(int.class) and @A(Integer.class) #870
- Non-embeddable compiler JAR compilations are broken in 1.0.7 #1155
- Need a way to specify and exclude processors #1234
- Bug of KSPropertyDeclaration.findOverridee() #1182
- KSTypeParameter#bounds returns when the bounds is another type parameter #1250
- Resolved KSTypeParameter doesn't equal the source #971
Contributors
Thanks for your contributions!
@3flex
@danysantiago
1.8.0-1.0.8
KSP 1.0.8 for Kotlin 1.8.0.
1.8.0-RC2-1.0.8
KSP 1.0.8 for Kotlin 1.8.0-RC2