Kotlin 2.1.0 enhances Multiplatform capabilities by introducing Swift export, enabling straightforward publishing of Kotlin libraries directly as Swift sources without Objective-C headers.
The K2 compiler update allows global suppression of warnings and introduces significant checks to enhance code validity, targeting elements like REDUNDANT_NULLABLE.
Incremental compilation support for Kotlin/Wasm reduces overall compilation time by only recompiling relevant files, and the improvements enhance both debugging and binary size.
Kotlin/JS now supports ES2015 arrow functions, streamlining syntax and improving functionality when generating JavaScript code from Kotlin.
Collection
[
|
...
]