Kotlin Multiplatform Mar 20, 2025

v2.1.20

What's New

Kotlin 2.1.20 delivers substantial improvements to the Analysis API with better type alias support and performance optimizations, particularly in FIR compilation and symbol resolution. The release fixes critical issues affecting K2 IDE stability, debugger functionality, and memory management in large projects. New features include context receiver overloads in multiplatform projects and DWARF debug support for WebAssembly.

Highlights

Breaking Changes

  • JvmDefault annotation deprecated with HIDDEN level, affecting -Xjvm-default mode users
  • Removed custom class loader option in Analysis API Standalone session creation
  • Removed JAR publications with old artifact names from high-level-api family

Deprecations

  • KaSessionProvider marked as internal API
  • Context classes and constructors deprecated with removal warnings

Recent Releases

All releases →