:tada: Kotlin 2.5.0-Beta2 is out! Here’s what’s ne...
# eap
n
🎉 Kotlin 2.5.0-Beta2 is out! Here’s what’s new: ✨ New Node.js provisioning toolchain 📦 New DSL for declaring npm dependencies swift Introduced a new Swift export DSL (documentation). Swift Export now supports Swift Package Manager integration, including self-contained Swift package generation. 🔍 Unused-return-value checker enabled in
check
mode by default 🛠️ Full compatibility with Gradle 9.8.0. 🆕 We’re collecting feedback on Kotlin’s new separate compilation scheme — KT-89725 ⚠️ Migration heads-up: • Running the compiler on a JDK older than 17 now produces an error, with a temporary opt-out available in 2.5.0. JDK 17 or newer will be required from 2.5.20-Beta1. Share any missing use cases in KT-88173. • The standalone
kotlin-js
Gradle plugin has been removed. Use the Kotlin Multiplatform plugin with a JS target instead. • The legacy
swiftExport {}
DSL is deprecated; migrate to
export.swift {}
. • Removed support for the non-Build-Tools-API JVM compiler execution mode. Give Beta2 a spin and tell us what you think! 💜 Report issues at kotl.in/issue or share your feedback right here in Slack. 🧵
K 10
🚀 9