Kotlin 2.1.20, just released as the latest version of JetBrains’ cross-platform programming language, improves both plugin support for the K2 compiler and Kotlin/Wasm debugging.
The Kotlin update was announced March 20. Instructions on updating can be found at kotlinlang.org.
For the K2 compiler, Kotlin 2.1.20 brings updates to the new kapt and Lombok compiler plugins, including having the kapt compiler plugin enabled by default for all projects. Kotlin’s builders have been improving performance of the kapt annotation processing compiler dating back to Kotlin 1.9.20, from October 2023. But kapt has been in maintenance mode, meaning JetBrains keeps it up-to-date with Kotlin and Java but has no plans to add new features. The experimental Lombok plugin, for using Java Lombok declarations, now supports the @SuperBuilder annotation, thus making it easier to create builders for class hierarchies.