Kotlin Multiplatform Nov 27, 2024

v2.1.0

What's New

Kotlin 2.1.0 significantly strengthens the Analysis API with Wasm support, improved session management, and extensive performance optimizations for IDE responsiveness. The K2 compiler receives critical fixes for false positive diagnostics, type resolution issues, and debugger evaluation, while Kotlin/Wasm gains incremental compilation and enhanced debugging capabilities. Light Classes now properly support value classes and their companion objects.

Highlights

Breaking Changes

  • Language versions 1.4 and 1.5 dropped from supported versions
  • Bitcode embedding support deprecated and removed from Kotlin Gradle plugin for Apple ecosystem
  • jspecify nullability warnings promoted from warning to error level

Deprecations

  • KotlinDirectInheritorsProvider behavior changed with new option to ignore non-Kotlin results
  • Various Analysis API declarations renamed or deprecated as part of stabilization effort

Recent Releases

All releases →