2.1.0-Beta2
(click to copy version to test it)-
@SubclassOptInRequired
- to require opt-in from library clients when implementing interface/extending class- Guard conditions in
when
with a subject- Non-local
break
and continue
- Multidollar interpolation: improved handling of
$
in string literals.- New Gradle DSL for compiler options in multiplatform projects is stable
- Improved overload resolution for functions with generic types
- Improved K2 kapt implementation
- Update LLVM version to 16.0.0 for Kotlin/Native
- Kotlin/Wasm and Kotlin/JS improvments
- Extra compiler checks! (opt-in)
- Compose compiler updates
Kotlinlang.org: What's new in Kotlin 2.1.0-Beta2
GitHub Changelog