v2.1.0
What's New
Kotlin 2.1.0 significantly strengthens the Analysis API with Wasm support, improved session management, and extensive performance optimizations for IDE responsiveness. The K2 compiler receives critical fixes for false positive diagnostics, type resolution issues, and debugger evaluation, while Kotlin/Wasm gains incremental compilation and enhanced debugging capabilities. Light Classes now properly support value classes and their companion objects.
Highlights
- Analysis API gains Wasm target support and improved session invalidation for better stability
- Light Classes now support value classes and companion objects inside value classes
- resolveToCallCandidates API extended to support operators and properties
- Kotlin/Wasm incremental compilation support with improved debugging variable view in Chrome/Firefox
- Extensive Analysis API performance improvements including optimized scope handling and caching
- K2 compiler fixes for false positive diagnostics and type resolution edge cases
Breaking Changes
- Language versions 1.4 and 1.5 dropped from supported versions
- Bitcode embedding support deprecated and removed from Kotlin Gradle plugin for Apple ecosystem
- jspecify nullability warnings promoted from warning to error level
Deprecations
- KotlinDirectInheritorsProvider behavior changed with new option to ignore non-Kotlin results
- Various Analysis API declarations renamed or deprecated as part of stabilization effort
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 →