Kotlin continues to stay up to date with latest Java features such as dynamic invocations and to provide better interoperability with Java by adding support for Java’s Lombok and JSpecify. We are also continuing our work of making the standard library consistent across platforms, as well as investing in Gradle tooling and the new JS IR backend.
This blog post provides an overview of the updates in this release:
- Kotlin/JVM improvements, including string concatenation via
invokedynamic
and experimental support for calling Java’s Lombok-generated methods and JSpecify nullness annotations. - Kotlin/Native improvements, including the experimental export of KDoc comments to Objective-C headers.
- Kotlin/JS IR backend migration guide.
- Gradle improvements, including the parallel execution of Kotlin tasks.
- Standard library improvements for aligning behavior of Char conversions across platforms.
更多 Kotlin 1.5.20 Released! | The Kotlin Blog (jetbrains.com)