Kotlin/Wasm is now stable in Kotlin 2.5.0, released by JetBrains on December 2, 2026. The release also adds support for Java 28 and introduces full value classes in Alpha. These support multiple properties but may still undergo breaking changes.
The update brings changes to the Kotlin language, compiler, and libraries. Features ready to use include name-based destructuring in only-syntax mode and a checker for unused return values; other features, such as full value classes and companion blocks, remain experimental.
Kotlin/Wasm exits Beta, with interoperability limitations
The stabilization of Kotlin/Wasm is the most wide-ranging change in the release. JetBrains presents WebAssembly as a stable Kotlin target; however, compatibility coverage does not extend equally to every area. Interoperability with JavaScript, the WebAssembly Component Model, and the @WasmImport and @WasmExport annotations are still evolving and may change.
There are also two practical changes for web projects. Kotlin/Wasm can produce ES modules with an import map and do without webpack, and the Playwright-based browser testing DSL, which was already available for Kotlin/JS, is extended to wasmJs. JetBrains also highlights smaller binaries and behavior more aligned with other Kotlin targets.
Wasm's stability comes alongside advances in Kotlin/JS: the compiler adds the es2020 target and a new DSL for npm dependencies. In Kotlin/Native, Swift export moves to Beta and gets a reorganized Gradle DSL. Declared API dependencies are exported automatically, and the tool can generate a self-contained Swift package.
SwiftPM import, which lets you add Swift packages to a Multiplatform project, is also in Beta. The change in Swift export's status should not be confused with complete stabilization of interoperability: JetBrains itself is continuing to evolve some connections between Kotlin/Wasm and JavaScript.
Full value classes: multiple properties, still in Alpha
The most notable language feature is the arrival of full value classes in Alpha. Unlike the earlier inline value classes, which could contain only one property, these support an unrestricted number of primary properties. They are declared with the value modifier and, according to JetBrains, are available on all platforms and JVM versions.
Their design aims to represent a value through its properties, without an independent object identity. For this reason, they cannot include backing fields outside the primary properties. They can have computed properties, for example through a getter. The compiler generates equals(), hashCode(), and toString(), but does not generate the copy() or componentN() functions commonly associated with data classes.
The absence of these functions does not mean destructuring is being dropped. Kotlin 2.5.0 stabilizes name-based destructuring in only-syntax mode: the compiler matches properties by name, not by position. The classic form val (x, y) remains positional; the new syntax (val x, val y) selects components by name.
To update immutable data, JetBrains is preparing copy properties calls, designed to modify some properties of a value without resorting to mutability. The design is in its final phase, and the company plans to release a first Alpha version in Kotlin 2.6.0. It is also working on migration strategies: starting with Kotlin 2.5.20, library authors will be able to mark an existing class with @WillBecomeValue so the compiler and IDE can warn about code that could break during migration.
The Alpha warning is explicit: these classes are not ready for production, and breaking changes are expected. JetBrains asks developers to try them in experimental projects and provide feedback before the design is finalized.

Valhalla and equality checks
On the JVM, Kotlin value classes connect with Project Valhalla and JDK 28. JetBrains notes that JDK 28 offers JVM value classes as a preview feature. With the appropriate compiler options, Kotlin value classes can be compiled to this JVM format; both compilation and execution with this representation require JDK 28 or later.
The Kotlin feature does not, however, depend on having that JDK: full value classes are part of the language and work on all platforms where Kotlin runs. Use -Xfull-value-classes to enable them; -Xvalhalla-value-classes requests compilation to JVM value classes. The second option requires JDK 28 or later.
JetBrains also clarifies that existing inline classes are not going away. Starting with Kotlin 2.5.20, you will be able to use the inline modifier instead of the @JvmInline annotation. If full classes are not enabled, a value class declared in code must be marked as inline or with that annotation, on any platform.
Language safety checks are advancing in parallel. Kotlin 2.5.0 lets you enable -Xstrict-equality-for-structural-classes, which warns about suspicious structural equality comparisons, such as comparing a Point class with a Rectangle. The analysis also covers data classes and enumerations. JetBrains plans to improve diagnostics around identity, equality, and value class capture in Kotlin 2.5.20 and later versions.
Identity is another issue the company wants to make visible before a program runs: value classes are described by their data, so they should not be compared using referential equality (===) or used for synchronization. On the JVM, the latter operation fails at runtime; the compiler can flag these errors beforehand.
More changes in the standard library and Multiplatform
The standard library adds experimental onTrue(), onFalse(), and ifOrNull() functions, intended to simplify common patterns with if expressions. It also adds experimental support for Unicode code points through a CodePoint type in kotlin.text.unicode. This feature is relevant for characters outside the Basic Multilingual Plane, which occupy two UTF-16 code units.
Elsewhere in the language, the unused return value checker is enabled by default in check mode. The release improves compile-time constants and adds the @IntroducedAt annotation, which lets you generate version-based overloads for optional parameters. It also adds the TAU constant to kotlin.math, equivalent to twice PI, and a container property to KCallable for retrieving the class or file that declares a function or property reference.
The new experimental format for publishing Multiplatform libraries packages artifacts for platforms other than JVM and Android in a .kar file, a ZIP with additional XZ compression. JetBrains created it in response to new size limits on Maven Central. In the cryptography-kotlin example, the result shrinks from 7,539 files and 91 MB to 1,036 files and 23 MB.
The release also adjusts tools and targets. The default Node.js version for the Gradle plugin becomes 24.22.1. In Kotlin/Native, support for Xcode 27 is added; deprecation of the watchosArm32 target becomes an error, as does the use of the old Intel targets macosX64, tvosX64, and watchosX64.
| Area | Change in Kotlin 2.5.0 | Status |
|---|---|---|
| Kotlin/Wasm | Moves to Stable | Stable |
| Full value classes | Support multiple primary properties | Alpha |
| Swift export | New Gradle DSL and automatic export of API dependencies | Beta |
| Multiplatform publication | Compressed .kar format | Experimental |
| Kotlin/JVM | Compilation targeting Java 28 | Available |
How to install the release and what remains
Kotlin 2.5.0 is included in the latest versions of IntelliJ IDEA and Android Studio. To update a project, JetBrains says to keep the IDE up to date and change to 2.5.0 in the build scripts. The command-line compiler can be downloaded from the GitHub releases page; for issues, the company points users to Slack and its YouTrack tracker.
The list of changes also includes external contributions and a new monthly Kotlin security newsletter, focusing on security fixes for Kotlin and its ecosystem. For full value classes, JetBrains' stated next step is to gather feedback during Alpha; improvements to copy properties are expected first in Kotlin 2.6.0.
Sources: The JetBrains Blog, The JetBrains Blog, Vinish.dev