v2.0.20-Beta1
What's New
Kotlin 2.0.20-Beta1 delivers significant Analysis API improvements with symbol naming consistency and origin tracking enhancements. The compiler gains guard conditions for when-expressions, improved string literal handling, and JSpecify @NullUnmarked support for better Java interoperability. Multiple backend fixes address WebAssembly Web Worker support, Native type checking on generics, and Light Classes visibility issues.
Highlights
- Analysis API redesign with KtSymbolOrigin improvements and better Kotlin/Java source distinction
- Guard conditions for when-with-subject expressions enable more flexible pattern matching
- Improved $ handling in string literals with new compiler feature implementation
- JSpecify @NullUnmarked support for enhanced Java interoperability and null safety
- WebAssembly backend fixes including Web Worker support and event listener improvements
- Native compiler enhancements with LLVM opaque pointer support and type checking on generics
- Light Classes fixes for companion objects and interface delegation visibility issues
Breaking Changes
- Analysis API: Kt prefix renamed to Ka across symbol classes (KtClassLikeSymbol becomes KaClassLikeSymbol)
- Analysis API: KtSymbolOrigin redesigned to distinguish Kotlin/Java source/library declarations
- Compose compiler: Feature flag options changed from individual flags to unified featureFlag option
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 →