Skip to content

Releases: google/ksp

1.7.20-Beta-1.0.6

02 Aug 00:10
Compare
Choose a tag to compare

KSP 1.0.6 for Kotlin 1.7.20-Beta

1.7.10-1.0.6

07 Jul 21:39
Compare
Choose a tag to compare

This is the KSP 1.0.6 release for kotlin compiler 1.7.10

1.7.0-1.0.6

10 Jun 05:07
Compare
Choose a tag to compare

This release upgrades compiler version to 1.7.0

1.6.21-1.0.6

10 Jun 04:08
Compare
Choose a tag to compare

new features

new API for checking and getting annotation default value.
KSValueArgument.isDefault()
KSAnnotation.defaultArguments: List<KSValueArgument>

Verbose debug information started to be added to KSP, ships with this release:

  • Logs current round number of processing.
  • Logs loaded processor providers.
  • Logs an error when there is no processor providers found in AP classpath.

Issues fixed

#839 null value in annotation arguments if annotation originates from Java and argument is Kotlin's const val
#936 Could not extract location from getSealedSubclasses declaration
#948 KSP does not handle symlinks for new files in followup rounds
#958 Inconsistency in type of vararg parameter of overriden method
#1004 Annotation method return type resolved as property for java sources.
fixed an issue with deprecated compatibility flag used for building KSP jars.

Contributors

Thank you for the pull requests!
@jameskleeh

1.7.0-RC2-1.0.5

02 Jun 17:53
Compare
Choose a tag to compare
1.7.0-RC2-1.0.5 Pre-release
Pre-release
   1.7.0-RC2-1.0.5

1.7.0-RC-1.0.5

20 May 21:34
Compare
Choose a tag to compare
1.7.0-RC-1.0.5 Pre-release
Pre-release

This release advances KSP compiler version to 1.7.0-RC

1.7.0-Beta-1.0.5

05 May 20:38
Compare
Choose a tag to compare
1.7.0-Beta-1.0.5 Pre-release
Pre-release

KSP 1.0.5 release for Kotlin 1.7.0-Beta

This release updates compiler version to 1.7.0-Beta

1.6.21-1.0.5

20 Apr 22:09
Compare
Choose a tag to compare

KSP 1.0.5 release for Kotlin 1.6.21

This release only has a compiler version update.

1.6.20-1.0.5

07 Apr 21:52
Compare
Choose a tag to compare

New Features

Thanks to @runningcode, KSP supports CommandLineArgumentProvider now:

// build.gradle.kts
...
ksp {
    arg(myCommandLineArgumentProvider)
}

Issues Fixed

#815 Extended Java interface defines Any as a supertype
#831 Multi-modules: superTypes doesn't return the super types
#843 allowSourcesFromOtherPlugins breaks up-to-date checks & caching
#847 Add support for passing CommandLineArgumentProvider to KspExtension
#851 API for KSType for checking whether the underlying Java type is raw.
#858 Sealed class's KSDeclaration.isOpen returns true
#876 KSClassDeclaration.isOpen returns true for nested data classes
#879 Generated files are not cleaned up between runs for Kotlin/Native targets
#881 KSP Processing order doesn't process room class first before typealias
#887 Incremental compilation: getNewFiles does not pick up newly generated files on Windows
#890 isAssignableFrom behaves incorrectly with Java-specific types (from Resolver.getJavaClassByName)

Contributors
Thank you for the pull requests!
@DSteve595
@Jeffset
@jsjeon
@runningcode
@sangyongchoi
@yigit

1.6.20-1.0.4

02 Apr 23:45
Compare
Choose a tag to compare

KSP 1.0.4 release for Kotlin 1.6.20

Nothing has changed besides the compiler update :-)