· rangkumin.tech

Kotlin 2.5.0 is out: Kotlin/Wasm is now stable, Swift export reaches beta and Java 28 support arrives

JetBrains released Kotlin 2.5.0 on December 2, 2026. The headline change is that Kotlin/Wasm is now stable, alongside stable name-based destructuring, an unused return value checker, Java 28 support and Swift export moving to beta.

Why it matters

On the language side, name-based destructuring is now stable in only-syntax mode, so variables bind by property name rather than by position. The release also adds a checker for ignored function return values and improves compile-time constants. The standard library gains experimental functions for common if-expression patterns and experimental support for Unicode code points.

For other targets, Kotlin/JVM now supports Java 28, Kotlin/JS supports the es2020 target, and Kotlin/Native ships Swift export in beta with a new DSL. Kotlin Multiplatform also introduces a new publication format for multiplatform libraries, which matters to library maintainers.

Stable status for Kotlin/Wasm matters to teams that want to run Kotlin code in browsers or WebAssembly runtimes without an experimental label. Developers can update IntelliJ IDEA or Android Studio and change the Kotlin version in build scripts to 2.5.0. Multiplatform libraries are worth testing first because the publication format has changed.

Sources

Choose English or Indonesian. Up to two editions a day. Unsubscribe anytime.