Kotlin 1.8.20 Released
The Kotlin 1.8.20 release is out! Here are some highlights from this release:
- The new Kotlin K2 compiler updates.
- AutoCloseable interface and Base64 encoding in the standard library.
- New JVM incremental compilation enabled by default.
- New experimental Kotlin/Wasm target.
New experimental Kotlin/Wasm target
Kotlin 1.8.20 introduces a new compilation target called WebAssembly.
We think WebAssembly is a promising technology, and we want to find better ways for you to use it and get all of the benefits of Kotlin.
Starting from this release, you can use Kotlin/Wasm in your multiplatform projects. Compiling Kotlin code to WebAssembly allows you to run it directly in the browser or any other environment that supports WebAssembly and meets Kotlin requirements. This opens up a wide range of possibilities, from building high-performance web applications to serverless functions.
Kotlin/Wasm is now Experimental. Your feedback is especially important at this stage of the product, and we encourage you to try Kotlin/Wasm. Follow this tutorial to create your first Kotlin/Wasm application:
How to install Kotlin 1.8.20
If you already use IntelliJ IDEA 2022.2, 2022.3, the IDE will suggest updating Kotlin to 1.8.20 automatically. You can also update manually by following these instructions. IntelliJ IDEA 2023.1 has the built-in Kotlin plugin 1.8.20.
For Android Studio Flamingo (222) and Giraffe (223), the Kotlin plugin 1.8.20 will be delivered with upcoming Android Studios updates.
If you need the command-line compiler, download it from the GitHub release page.
If you run into any problems
Stay up to date with the latest Kotlin features! Subscribe to receive Kotlin updates by filling out the form to the right of this post.
Special thanks to our EAP Champions 🥇👏
They reported issues and helped us stabilize the Kotlin 1.8.20 release:
What else to read and watch
- What’s new in Kotlin 1.8.20 documentation
- What’s new in Kotlin 1.8.20 on YouTube
- Kotlin EAP Champions
Subscribe to Blog updates
Thanks, we've got you!
Kotlin 1.9.0 Released
Kotlin 1.9.0 has been released! Highlights include: Kotlin K2 for JVM is in Beta, other K2 compiler updates, new enum class values function, new operator for open-ended ranges, preview of Gradle configuration cache in Kotlin Multiplatform, changes for Android target support in Kotlin Multiplatform, preview of custom memory allocator in Kotlin/Native. Learn more!
Introducing Kotlin Notebook
The first experimental version of the Kotlin Notebook plugin for IntelliJ IDEA is now available! This post will offer insight into the plugin’s functionality and use cases, but before launching into that, we’d like to let the plugin speak for itself: https://youtu.be/2PLYlDJPelQ W…
Kotlin 1.8.0 Released
New experimental functions for JVM, Improved kotlin-reflect performance, New -Xdebug compiler option, and more.