2.3.13
Added 2
- Add KSContextParameter and KSFunctionDeclaration.contextParameters to the API
- Add opt-in processor classloader caching via ksp.classloader.cache.processors=true to speed up multi-module builds
Changed 3
- Improve diagnostics by returning last round dismissible errors when KSP fails
- Avoid clearing binary and library caches between KSP rounds
- Optimize classpath scanning, dependency indexing, and package directory lookups during incremental compilation
Fixed 5
- Backport IntelliJ Platform CoreJarHandler to prevent non-deterministic missing jar entries
- Fix getting annotation default values from KLibs in Kotlin Multiplatform
- Fix resolving aliased annotations in PsiResolutionStrategy
- Fix Gradle project isolation detection when configured via command-line flags
- Fix duplicate declaration generation in intermediate Kotlin Multiplatform metadata compilations
From Kotlin Symbol Processing
Defect in release
This release has a regression described in issue 3286 which may cause issues for concurrent executions of KSP. We are working on a fix and will release a new version soon.
What's Changed
- Add
KSContextParameterandKSFunctionDeclaration.contextParametersto the API (#3216) - Improve diagnostics by returning last round dismissible errors when KSP fails (#3196)
- Add opt-in processor classloader caching (
ksp.classloader.cache.processors=true) to speed up multi-module builds (#3210) - Avoid clearing binary and library caches between KSP rounds (#3235)
- Optimize classpath scanning, dependency indexing, and package directory lookups during incremental compilation (#3254)
- Backport IntelliJ Platform
CoreJarHandlerto prevent non-deterministic missing jar entries (#3240) - Fix getting annotation default values from KLibs in Kotlin Multiplatform (#2356)
- Fix resolving aliased annotations in
PsiResolutionStrategy(#2997) - Fix Gradle project isolation detection when configured via command-line flags (#3188)
- Fix duplicate declaration generation in intermediate Kotlin Multiplatform metadata compilations (#3229)
Contributors
- Thanks to @alfonsocv12, @bacecek, @bcorso, @cushon, and everyone who reported bugs and participated in discussions!
Full Changelog: https://github.com/google/ksp/compare/2.3.12...2.4.0