Kotlin Multiplatform v2.0.0-Beta4 Release Notes & Developer Guide
What's New for Developers
Kotlin v2.0.0-Beta4 delivers critical performance improvements, particularly a 50GB memory allocation fix, alongside extensive compiler stability enhancements across K2, builder inference, and multiplatform support. Major additions include multi-threaded analysis resolution, TypeScript definition generation for Wasm, and platform-specific declaration clash diagnostics. The release resolves numerous type inference inconsistencies and IDE integration issues while strengthening Kotlin/Native and Kotlin/Wasm capabilities.
Highlights
- 50GB memory allocation fix for kotlinx.collections.immutable.persistentMapOf creation
- Multi-threaded and parallel resolve implementation for LL FIR analysis
- Extensive builder inference fixes resolving type inference inconsistencies
- Platform-specific declaration clash diagnostics across all backends
- TypeScript definitions generation for @JsExport declarations in K/Wasm
- Kotlin/Wasm lazy associated object initialization and singleton lambda support
Breaking Changes
- Forbid multiple labels per statement in K2
- Forbid local delegated properties with private accessors in public inline functions
- Deprecate -Xworker-exception-handling=legacy with error in Kotlin/Native
Deprecations
- Mark @SubclassOptInRequired as experimental
- Deprecate -Xworker-exception-handling=legacy in Kotlin/Native runtime
Recent Releases
All releases →
v2.5.0-Beta2
Oct 21, 2026
Release Notes →
v2.4.21
Oct 8, 2026
Release Notes →
v2.4.21-RC
Sep 30, 2026
Release Notes →
v2.5.0-Beta1
Sep 23, 2026
Release Notes →
v2.4.20
Sep 7, 2026
Release Notes →
v2.4.20-RC3
Sep 2, 2026
Release Notes →
v2.4.20-RC2
Aug 26, 2026
Release Notes →
v2.4.20-RC
Aug 12, 2026
Release Notes →
v2.4.20-Beta2
Jul 22, 2026
Release Notes →
v2.4.10
Jul 14, 2026
Release Notes →
v2.4.10-RC2
Jul 7, 2026
Release Notes →