blog.jetbrains.com/kotlin/2026/12/value-classes-in-kotlin-2-5-0-and-beyond Value classes in Kotlin 2.5.0 and beyond
Kotlin 2.5.0 introduces full value classes in Alpha: immutable types with an unrestricted number of primary properties that work on every platform. From JDK 28 onward, Kotlin value classes can be compiled into JVM value classes to gain Project Valhalla's performance benefits, though the feature is not yet production-ready.