Kotlin
A concise multiplatform language developed by JetBrains
Kotlin 2.4.0 Released
The Kotlin 2.4.0 release is out! Here are the main highlights:
- Language: Stable context parameters, explicit backing fields, and multiple features for annotation use-site targets.
- Standard library: Stabilized support for the UUID API and support for checking sorted order.
- Kotlin/JVM: Support for Java 26 and annotations in metadata enabled by default.
- Kotlin/Native: Support for Swift packages as dependencies, updates on Swift export, and the CMS GC enabled by default.
- Kotlin/Wasm: Incremental compilation enabled by default and support for WebAssembly Component Model.
- Kotlin/JS: Support for value class export and ES2015 features in JS code inlining.
- Gradle: Compatibility with Gradle 9.5.0.
- Maven: Automatic alignment between Java and JVM target versions.
- Kotlin compiler: More consistent inline function behavior during
.klibcompilation.
For the complete list of changes, refer to What’s new in Kotlin 2.4.0 or the release notes on GitHub.
How to install Kotlin 2.4.0
The latest version of Kotlin is included in the latest versions of IntelliJ IDEA and Android Studio.
To update to the new Kotlin version, change the Kotlin version to 2.4.0 in your build scripts.
If you need the command-line compiler, download it from the GitHub release page.
If you run into any problems:
- Find help on Slack (get an invite).
- Report issues to our issue tracker, YouTrack.
Stay up to date with the latest Kotlin features! Subscribe to receive Kotlin updates by filling out the form at the bottom of this post. ⬇️
Top issue reporters from YouTrack
Andreas Malik (21 issues), Ryan Nett (20 issues), Julien Dramaix (18 issues), Youssef Shoaib (17 issues), Jinseong Jeon (14 issues), Zac Sweers (11 issues), Ivan Canet (10 issues), Jose Enrique Estremadoyro Fort (9 issues), Łukasz Wasylkowski (8 issues), calebbrandt77 (8 issues), Edoardo Luppi (8 issues), Vadim Shabanov (7 issues), Asapha (6 issues), Louis CAD (6 issues), Niklas Baudy (6 issues), Rick Clephas (6 issues), rlnt (5 issues), marc (5 issues), Victor Turansky (5 issues), and Dirk Lattermann (5 issues).
External contributors
We’d like to thank all of our contributors whose pull requests were included in this release:
AndreyBozhko, ArseniySukhanov, bennyhuo, BraisGabin, dmaclach, kralliv, loadkrnis, migmacdev, NeonMika, nyksans, oscarArismendi, rickclephas, stefanhaustein, Stream29, tcmulcahy, and ZacSweers.
Special thanks to our EAP Champions
- Alexander Nozik
- Benoit Lubek
- Bernd Prünster
- David Lopez
- Dayan Ruben
- Florian Schreiber
- Ivan Canet
- Jake Wharton
- Johannes Svensson
- Łukasz Wasylkowski
- Mohamed Rejeb
- Olaf Gottschalk
- Rick Clephas
- Sechaba Mofokeng
- Sergey Chernov
- Sterling Albury
- Yang
- Yuri Geronimus
- Zac Sweers