Kotlin Multiplatform Jul 6, 2023

v1.9.0

What's New

Kotlin 1.9.0 delivers K2 compiler alpha support for multiplatform development with enhanced Analysis API extensibility and improved stability across JVM, Native, and Wasm backends. The release includes new language features like secondary constructors in value classes and Volatile annotation support for Native, alongside significant performance optimizations and hundreds of bug fixes addressing K2 compiler issues, partial linkage scenarios, and cross-platform compatibility.

Highlights

Breaking Changes

  • JvmDefault annotation and old -Xjvm-default modes deprecated with ERROR level
  • Method deprecation no longer propagates through overrides
  • Actual members in expect classes now forbidden

Deprecations

  • JvmDefault annotation deprecated with ERROR
  • -Xjvm-default modes (all, all-compatibility) deprecated with ERROR
  • Anonymous type exposure from inline functions with type arguments deprecated

Recent Releases

All releases →