Development7 views

Kotlin 2.3.0: Java 25, Swift & WebAssembly Boost

JetBrains officially launched Kotlin 2.3.0, featuring key updates for developers.

Key Highlights:

  • Java 25 Support: Generate classes compatible with the latest Java version.
  • Swift Interoperability: Improved native development with direct export of enums and variadic parameters. Expect faster release compilation times.
  • WebAssembly Enhancements: Default fully qualified names and new exception handling for wasmwasi. Compact Latin-1 string storage reduces binary size.
  • Language Improvements:
  • Explicit backing fields simplify property declarations.
  • Experimental checker warns when function returns are ignored.
  • Standard Library: Native UUID v4 and v7 generation.
  • Compose Compiler: Critical debugging improvements for Android, providing readable stack traces even in R8-minified apps. Full compatibility with Gradle 9.0.

This release strengthens Kotlin's multiplatform ecosystem and developer experience.