Kotlin Multiplatform Sep 11, 2023 Pre-release

v1.9.20-Beta

What's New

Kotlin 1.9.20-Beta focuses on stabilizing the K2 compiler with over 100 bug fixes, particularly for Kotlin Multiplatform and Analysis API. Major improvements include WebAssembly backend enhancements, new enumEntries intrinsic support across platforms, and stricter validation for expect/actual declarations. Performance optimizations in FIR compilation and type resolution provide faster IDE responsiveness.

Highlights

Breaking Changes

  • KMP: prohibit implicit actualization via Java for expect/actual declarations
  • KMP: prohibit expect tailrec and expect external modifiers
  • Analysis API: forbid providing custom KtLifetimeToken for every analyze call

Deprecations

  • Deprecation for open val with backing field and deferred initialization in K1

Recent Releases

All releases →