Releases: google/ksp
1.7.0-1.0.6
This release upgrades compiler version to 1.7.0
1.6.21-1.0.6
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
1.7.0-RC2-1.0.5
1.7.0-RC-1.0.5
This release advances KSP compiler version to 1.7.0-RC
1.7.0-Beta-1.0.5
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
KSP 1.0.5 release for Kotlin 1.6.21
This release only has a compiler version update.
1.6.20-1.0.5
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
KSP 1.0.4 release for Kotlin 1.6.20
Nothing has changed besides the compiler update :-)
1.6.20-RC2-1.0.4
KSP 1.0.4 release for Kotlin 1.6.20-RC2
1.6.20-RC-1.0.4
KSP 1.0.4 release for Kotlin 1.6.20-RC