v2.3.0
What's New
Kotlin 2.3.0 stabilizes K2 as the default compiler with significant improvements to debugging, Analysis API capabilities, and Wasm support. The release includes 50+ bug fixes across debugger, type inference, and incremental compilation, plus performance optimizations in caching and Native backend. K1 decompiler is removed and replaced with a K2 implementation offering better stub consistency.
Highlights
- K2 compiler now default for Kotlin/Wasm with improved exception handling and annotation instantiation support
- Analysis API gains context parameter bridges and vararg parameter type endpoints for better IDE support
- Debugger fixes for value classes, local classes, and null variable evaluation in K2
- New local type aliases feature (REPL/scripts only) and destructuring syntax improvements
- Performance optimizations across Analysis API caching, symbol providers, and Native compilation
- K1 decompiler dropped, K2 decompiler implemented with improved stub consistency
Breaking Changes
- Language versions 1.8 and 1.9 dropped for non-JVM platforms
- K1 decompiler removed in favor of K2 implementation
- KaImportOptimizer API dropped from Analysis API
Deprecations
- Local type aliases restricted to REPL/scripts pending full stabilization
- Kotlin/Native eager GlobalData initialization deprecated
- Package-private parameter exposure in internal methods now deprecated with warning
Related Articles
Kotlin 2.3.0 Released
Release notes for Kotlin 2.3.0 with improvements relevant to mobile development and performance optimizations.
Recent Releases
All releases →
v1.9.0
Jul 6, 2023
Release Notes →
v1.8.22
Jun 8, 2023
Release Notes →
v1.8.21
Apr 25, 2023
Release Notes →
v1.8.20
Apr 3, 2023
Release Notes →
v1.8.10
Feb 2, 2023
Release Notes →
v1.8.0
Dec 28, 2022
Release Notes →
v1.7.22
Nov 28, 2022
Release Notes →
v1.7.21
Nov 9, 2022
Release Notes →
v1.7.20
Sep 29, 2022
Release Notes →
v1.7.10
Jul 8, 2022
Release Notes →
v1.7.0
Jun 9, 2022
Release Notes →