Kotlin 2.5.0 Released

The Kotlin 2.5.0 release is out and Kotlin/Wasm is Stable! Here are the main highlights:
- Language: Stable name-based destructuring in only-syntax mode, unused return value checker, and improved compile-time constants.
- Standard library: New experimental functions for simplifying common patterns with if expressions and experimental support for Unicode code points.
- Kotlin/JVM: Support for Java 28.
- Kotlin/Native: Swift export in Beta with a new DSL.
- Kotlin Multiplatform: New publication format for multiplatform libraries.
- Kotlin/JS: Support for the es2020 target.
- Kotlin compiler: More consistent inline function behavior during klib compilation.
For the complete list of changes, see What’s new in Kotlin 2.5.0 or the release notes on GitHub.
We’ve launched the Kotlin Security Newsletter, a monthly digest of security fixes across Kotlin and its ecosystem.
How to install Kotlin 2.5.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, make sure your IDE is updated to the latest version and change the Kotlin version to 2.5.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), liutikas (12 issues), Oliver O. (12 issues), Louis CAD (11 issues), MukjepScarlet (11 issues), Ian Brandt (10 issues), Julia McClellan (9 issues), Yu Bao from PayPal Cyber Security Team (8 issues), Francesco Protopapa (8 issues), Robert Jaros (8 issues), Pau M (7 issues), József Bartók (7 issues), Troels Lund (7 issues), Zac Sweers (7 issues), Carter Jernigan (6 issues), Dmitry Stakhov (6 issues), Niklas Baudy (6 issues), Sterling Albury (5 issues), freya02 (5 issues), and Mikhail Porotkin (5 issues).
External contributors
We’d like to thank all of our contributors whose pull requests were included in this release:
AFH7233, anastabe, autonomousapps, bacecek, christianaurichzm, DevSrSouza, dewantawsif, findyourexit, gavr123456789, GeorgeChernyshov, gmjneko, GtechGovind, gw111zz, HamidRezaLS, ItsEmpa, kcolford, linhandev, lnteng, loadkrnis, marcowuethrich, maureenCindy, Maxerns, minavtafreshi, mole828, monomere, MukjepScarlet, murfel, napanch, phantom2291, Pitel, reuben, scaventz, sjrd, stsspu, sunnyboy33, tejasM17, ternbusty, tessoir, ugliansky, uny, vibingkevin, vladd-g, wordyarc, xxfast, ZacSweers, and zoobestik.
Special thanks to our EAP Champions
- Alexander Nozik
- Anderson Lameck
- Benoit Lubek
- Bernd Prünster
- Florian Schreiber
- Jake Wharton
- Johannes Svensson
- Łukasz Wasylkowski
- Mohamed Rejeb
- Olaf Gottschalk
- Rick Clephas
- Robert Jaros
- Sechaba Mofokeng
- Sergey Chernov
- Sterling Albury
- Yuri Geronimus
Further reading
- What’s new in Kotlin 2.5.0 documentation
- Kotlin 2.5.0 compatibility guide
- Kotlin EAP Champions
Subscribe to Kotlin Blog updates
Thanks, we've got you!