v2.1.20
What's New
Kotlin 2.1.20 delivers substantial improvements to the Analysis API with better type alias support and performance optimizations, particularly in FIR compilation and symbol resolution. The release fixes critical issues affecting K2 IDE stability, debugger functionality, and memory management in large projects. New features include context receiver overloads in multiplatform projects and DWARF debug support for WebAssembly.
Highlights
- Analysis API now supports typealiased constructors and improved SAM type resolution
- Major performance improvements in FIR compilation with reduced redundant resolve operations
- K2 debugger evaluator fixes for annotation resolution and inline function evaluation
- Wasm backend adds DWARF debug information support and incremental compilation improvements
- Context receivers now supported in Kotlin multiplatform with improved diagnostics
- Memory leak fixes in symbol pointers and cache management for large projects
Breaking Changes
- JvmDefault annotation deprecated with HIDDEN level, affecting -Xjvm-default mode users
- Removed custom class loader option in Analysis API Standalone session creation
- Removed JAR publications with old artifact names from high-level-api family
Deprecations
- KaSessionProvider marked as internal API
- Context classes and constructors deprecated with removal warnings
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 →