Kotlin Multiplatform Dec 15, 2023 Pre-release

v2.0.0-Beta2

What's New

Kotlin 2.0.0-Beta2 delivers substantial K2 compiler stability improvements with 100+ bug fixes across type inference, smartcasts, and diagnostics. Major enhancements include improved Analysis API for IDE support, Kotlin/Wasm compilation fixes, and better multiplatform expect/actual matching. JavaScript backend gains per-file mode support and export validation, while builder inference receives stricter restrictions for safer type checking.

Highlights

Breaking Changes

  • Compiler ABI change in FIR2IR may affect kotlinc plugins, requires recompilation
  • Expect/actual classes now in Beta with compilation warning about potential future changes

Deprecations

  • Cases where companion property is prioritized over enum entry now deprecated in K1

Recent Releases

All releases →