v2.0.0-Beta4
What's New
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.3.20-RC
Feb 19, 2026
Release Notes →
v2.3.10
Feb 5, 2026
Release Notes →
v2.3.10-RC2
Feb 2, 2026
Release Notes →
v2.3.20-Beta2
Jan 29, 2026
Release Notes →
v2.3.10-RC
Jan 19, 2026
Release Notes →
v2.3.20-Beta1
Jan 8, 2026
Release Notes →
v2.3.0
Dec 16, 2025
Release Notes →
v2.3.0-RC3
Dec 9, 2025
Release Notes →
v2.3.0-RC2
Dec 2, 2025
Release Notes →
v2.3.0-RC
Nov 18, 2025
Release Notes →
v2.3.0-Beta2
Oct 28, 2025
Release Notes →