Kotlin logo

Kotlin

A concise multiplatform language developed by JetBrains

Releases

Kotlin 2.0.20 Released

The Kotlin 2.0.20 release is out! This version includes performance improvements and bug fixes for Kotlin 2.0.0, where we announced the Kotlin K2 compiler as Stable. Here are some additional highlights from this release:

  • The data class copy function will have the same visibility as the constructor
  • Static accessors for source sets from the default target hierarchy are now available in multiplatform projects
  • Concurrent marking for Kotlin/Native has been made possible in the garbage collector
  • The @ExperimentalWasmDsl annotation in Kotlin/Wasm has a new location
  • Support has been added for Gradle versions 8.6–8.8
  • A new option allows sharing JVM artifacts between Gradle projects as class files
  • The Compose compiler has been updated
  • Support for UUIDs has been added to the common Kotlin standard library

For the complete list of changes, refer to What’s new in Kotlin 2.0.20 or the release notes on GitHub.

How to install Kotlin 2.0.20

Starting from IntelliJ IDEA 2023.3 and Android Studio Iguana (2023.2.1) Canary 15, the Kotlin plugin is distributed as a bundled plugin included in your IDE. This means that you can’t install the plugin from JetBrains Marketplace anymore.

To update to the new Kotlin version, change the Kotlin version to 2.0.20 in your build scripts.

If you need the command-line compiler, download it from the GitHub release page.

If you run into any problems

  • 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. ⬇️

Special thanks to our EAP Champions 🥇👏

What else to read and watch

image description