Skip to main content

Kotlin 2.4.20

Release Date: September 1, 2026

OK KOTLIN 2.4.20 JUST DROPPED and it is packed. I spent the afternoon poking at the bits that matter, and honestly the stdlib got the love it needed period.

TL;DR: coroutine stack trace recovery is here, Swift import is nicer, and your JS testing is less awkward now.

Stdlib Steals the Show

Coroutine stack trace recovery means your crashes finally point somewhere useful. You also get new functions to check equality and uniqueness of collection elements, plus extra overloads for kotlin.test assertions. Small additions. Big quality of life.

Native Does Swift Proud

Kotlin/Native gets new Swift export features, better incremental compilation, and auto-generated Package.swift files for SwiftPM dependencies. If you are shipping shared code to an iOS app, this is the one to grab.

Wasm and JS Get Real

Top-level require() calls inside JsFun changed, companion object init order is improved, and the Gradle plugin learned Wasmtime. Over on Kotlin/JS there is a brand new DSL for browser testing, suspend lambdas can now export as async functions, and data classes export more cleanly.

Gradle and Tools

Gradle 9.7.0 is supported, the Problems API reports better, and the Build tools API can now target Kotlin/JS, Kotlin/Wasm, and Kotlin metadata. There is also a kotlinr runner command in the compiler.

Go update your build scripts rn. The new version ships in the latest IntelliJ IDEA and Android Studio.

What is New?

By continuing to use the site, you agree to the use of cookies.