Home / Companies / JetBrains / Blog / Post Details
Content Deep Dive

Kotlin 2.4.0 Released | The Kotlin Blog

Blog post from JetBrains

Post Details
Company
Date Published
Author
Sarah Haggarty
Word Count
477
Language
American English
Hacker News Points
-
Summary

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.