What’s New

Kotlin Symbol Processing 2.3.10

2.3.10
Added 2
  • Include kotlinx.coroutines in the distributed uber jar symbol-processing-aa-embeddable
  • New debugging features for incremental compilation, including additional logging and dependency graph visualization
Changed 1
  • Memoized hash code for KSTypeImpl to speed up processing
Fixed 10
  • Fix OOMs caused by unstopped coroutine Dispatcher threads by moving KSP task cache to a gradle build service
  • Sanitize ':' in internal-name module suffix so KSP works with Kotlin 2.4.0 default module names
  • Filter source file trees in KspAATask to restore NO-SOURCE skipping behaviour
  • Fix R-class resolution in KSP when AGP 9 built-in Kotlin is enabled
  • Fix KSP2 incremental cache path normalization mismatch
  • Normalize line endings for KspAATask source roots to prevent cross-platform remote build cache misses
Deprecated 1
  • Deprecate the ksp(...) Gradle configuration in Kotlin Multiplatform (KMP) projects in favor of target-specific configurations
What's Changed
  • Fix OOMs caused by unstopped coroutine Dispatcher threads by moving KSP task cache to a gradle build service (#2817)
  • Sanitize ':' in internal-name module suffix so KSP works with Kotlin 2.4.0 default module names (#2964)
  • Filter source file trees in KspAATask to restore NO-SOURCE skipping behaviour (#2947)
  • Fix R-class resolution in KSP when AGP 9 built-in Kotlin is enabled (#2857)
  • Fix KSP2 incremental cache path normalization mismatch (#2854)
  • Normalize line endings for KspAATask source roots to prevent cross-platform remote build cache misses (#2849)
  • Fix bug where KSP incremental compilation does not consider library class references in annotations (#3011)
  • Consume all Kotlin sources in KSP to support other code generators (#3001)
  • Fix configuration cache invalidation in klib cross-compilation check (#3014)
  • Memoized hash code for KSTypeImpl to speed up processing (#2896)
  • Fix incorrect name generation for data classes annotated with @JvmRecord (#2813)
  • Include kotlinx.coroutines in the distributed uber jar symbol-processing-aa-embeddable (#2938)
  • New debugging features for incremental compilation, including additional logging and dependency graph visualization (#3015)
  • Deprecate the ksp(...) Gradle configuration in Kotlin Multiplatform (KMP) projects in favor of target-specific configurations (#2956). Note: Non-KMP projects are also affected. For migration details, see the documentation.
Contributors
  • Thanks to @mvanhorn, @Yong-yuan-X, @MariusVolkhart, @shmuelr and everyone who reported bugs and participated in discussions!

Full Changelog: https://github.com/google/ksp/compare/2.3.9...2.3.10

View original

Discussion