Skip to content

Releases: google/ksp

1.8.22-1.0.11 Release

08 Jun 19:46
Compare
Choose a tag to compare
   1.8.22-1.0.11

1.9.0-Beta-1.0.11

23 May 22:35
Compare
Choose a tag to compare
1.9.0-Beta-1.0.11 Pre-release
Pre-release
   1.9.0-Beta-1.0.11

1.8.21-1.0.11 Release

27 Apr 14:54
Compare
Choose a tag to compare

Bump Kotlin Compiler to 1.8.21 for 1.0.11 release

1.8.20-1.0.11 Release

18 Apr 05:27
Compare
Choose a tag to compare

Issues fixed

Incremental compilation fails with "Number of loaded files in snapshots differs" #1280

1.8.20-1.0.10

03 Apr 11:53
Compare
Choose a tag to compare

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

23 Mar 21:08
Compare
Choose a tag to compare
1.8.20-RC2-1.0.9 Pre-release
Pre-release

KSP 1.0.9 for Kotlin 1.8.20-RC2

1.8.20-RC-1.0.9

09 Mar 00:27
Compare
Choose a tag to compare
1.8.20-RC-1.0.9 Pre-release
Pre-release

KSP 1.0.9 for Kotlin 1.8.20-RC

1.8.20-Beta-1.0.9

08 Feb 23:44
Compare
Choose a tag to compare
1.8.20-Beta-1.0.9 Pre-release
Pre-release
   1.8.20-Beta-1.0.9

1.8.10-1.0.9

02 Feb 22:01
Compare
Choose a tag to compare
   1.8.10-1.0.9

1.8.0-1.0.9

26 Jan 01:16
Compare
Choose a tag to compare

New Features

  • Supported definitely non null type
    • Added corresponding KSDefNonNullReference for definitely non null types.
    • If you are implementing KSVisitor directly, you need to override visitDefNonNullReference in your visitor as well.
  • 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