Kotlin Multiplatform Jul 10, 2024 Pre-release

v2.0.20-Beta2

What's New

Kotlin v2.0.20-Beta2 delivers significant K2 compiler stability improvements with 100+ bug fixes across type inference, sealed classes, and enum handling. The Compose compiler gains strong skipping by default and support for default parameters in abstract @Composable functions. Analysis API undergoes major refactoring for cleaner interfaces, while Native debugging receives LLVM 16 compatibility fixes.

Highlights

Breaking Changes

  • Analysis API: KaFirReference marked internal, KaSymbolBasedReference moved to resolution package
  • Analysis API: KaTypeProjection moved to types package
  • High-level-api JAR family renamed to analysis-api

Deprecations

  • Smartcasts on class-delegated properties deprecated
  • Context receivers deprecated in favor of context parameters

Recent Releases

All releases →