Kotlin Multiplatform Jan 29, 2025 Pre-release

v2.1.20-Beta2

What's New

Kotlin 2.1.20-Beta2 delivers substantial performance improvements across the FIR analysis pipeline, enhanced support for context receivers in multiplatform projects, and expanded type alias capabilities in the K2 compiler. Key additions include moving Instant and Clock to stdlib, improved Compose compiler handling of context parameters, and better WebAssembly debugging support. The release also includes numerous bug fixes for inline functions, value classes, and debugger integration across JVM, JavaScript, and Native platforms.

Highlights

Breaking Changes

  • Local type aliases are now prohibited in K2 compiler
  • Inline and value class modifiers cannot be used together
  • kotlin-android-extensions plugin will fail the build on apply
  • Nested type aliases with inner RHS that implicitly capture type parameters are prohibited

Deprecations

  • FreezingIsDeprecated API in Kotlin/Native deprecated to error
  • kotlin.androidExtensionsPlugin.enabled flag removed
  • Old artifact names for high-level-api family JAR publications removed

Recent Releases

All releases →