Kotlin 2.2.0 Released
The Kotlin 2.2.0 release is out! This version includes both new and stable language features, tooling updates, performance improvements for different platforms, and important fixes. Here are some additional highlights from this release:Language: New language features in preview, including context parameters. Several previously experimental features are now stable, such as guard conditions, non-local break and continue, and multi-dollar interpolation.Kotlin compiler: Unified management of compiler warnings.Kotlin/JVM: Changes to default method generation for interface functions.Kotlin/Native: LLVM 19 and new features for tracking and adjusting memory consumption.Kotlin/Wasm: Separated Wasm target and the ability to configure Binaryen per project.Kotlin/JS: Fix for the copy method generated for @JsPlainObject interfaces.Gradle: Binary compatibility validation included in the Kotlin Gradle plugin.Standard library: Stable Base64 and HexFormat APIs.For the complete list of changes, refer to Whats new in Kotlin 2.2.0 or the release notes on GitHub.Join the Kotlin 2.2.0 livestreamDo you want to learn more about these updates? Join the Kotlin Language Evolution team live as they discuss the new features and answer your questions.Save the date: July 10th, 2025, at 4:00 PM UTC. Join Live If you cant make it, the recording will be available afterward.How to install Kotlin 2.2.0The Kotlin plugin is distributed as a bundled plugin in IntelliJ IDEA and Android Studio.To update to the new Kotlin version, change the Kotlin version to 2.2.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.Kotlins documentation surveyHave you used Kotlins documentation recently? Were looking for genuine feedback to make it better.It takes around 15 minutes to complete, and your input will help shape the future of Kotlin docs. Take the Survey 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 YouTrackJinseong Jeon (45 issues), Nickolay Viuginov (33 issues), Andreas Malik (33 issues), xyzboom (20 issues), Laxystem (18 issues), Zac Sweers (17 issues), Edoardo Luppi (16 issues), Matthew Groth (15 issues), liutikas (14 issues), Madalin Valceleanu (13 issues), Troels Lund (11 issues), Youssef Shoaib (11 issues), Jaebaek Seo (11 issues), Andy Magee (10 issues), Robert Jaros (10 issues), Julia McClellan (9 issues), Robert Stoll (9 issues), Alexander Hinze (9 issues), wolfseifert (8 issues), and Martin Bonnin (8 issues).External contributorsWed like to thank all of our contributors whose pull requests were included in this release: Sonya Valchuk, Andrei Shikov, Troels Bjerre Lund, Johan Bay, Edoardo Luppi, Jinseong Jeon, Rafal Galczak, Andreas, Dipl.-Ing. Dr. Markus Weninger, BSc, Emmanuel Ferdman, Lee Jaeheon, lucasmdjl96Special thanks to our EAP Champions Rick ClephasZac SweersJake WhartonSechaba MofokengDavid LopezFlorian SchreiberAlexander NozikBenoit BoD LubekDayan RubenJohannes Svenssonukasz WasylkowskiKacper WojciechowskiMohamed RejebBernd PrnsterYangSterling AlburyAmr YousefYinlong xiaobaiWhat else to readWhats new in Kotlin 2.2.0 documentationKotlin 2.2.0 compatibility guideK2 compiler migration guideK2 Compiler Performance Benchmarks and How to Measure Them on Your ProjectsKotlin EAP Champions
0 Commentarii 0 Distribuiri 21 Views