Kotlin 2.4.0 Released | The Kotlin Blog
Blog post from JetBrains
Kotlin 2.4.0 has been released, featuring several significant updates across different platforms and tools. Key language enhancements include stable context parameters and explicit backing fields, while the standard library now supports UUID API and sorted order checks. Kotlin/JVM introduces support for Java 26 and default annotations in metadata, and Kotlin/Native adds Swift package dependencies and CMS GC enabled by default. Kotlin/Wasm supports incremental compilation and the WebAssembly Component Model, whereas Kotlin/JS allows value class export and ES2015 features. The release is compatible with Gradle 9.5.0 and offers Java and JVM target alignment in Maven, with the Kotlin compiler improving inline function consistency. Installation is straightforward via IntelliJ IDEA, Android Studio, or by updating build scripts, and the release acknowledges contributors and issue reporters who played crucial roles in its development.