The Kotlin 1.9.0 release is out and the K2 compiler for the JVM is now in Beta. This release contains new language features as well as improvements for Kotlin Multiplatform and Kotlin/Native. Here are some highlights from this release:
✅ New Kotlin K2 compiler updates
✅ Stable replacement of the enum class values function
✅ Stable ..< operator for open-ended ranges
✅ New common function to get regex capture group by name
✅ New path utility to create parent directories
✅ Preview of Gradle configuration cache in Kotlin Multiplatform
✅ Changes for Android target support in Kotlin Multiplatform
✅ Preview of custom memory allocator in Kotlin/Native
✅ Library linkage in Kotlin/Native
✅ Size-related optimizations in Kotlin/Wasm
Learn more