12
Kotlin Blog
作者:Daniel Csorba
發布:09-07 11:30
Kotlin 2.4.20 Released
The Kotlin 2.4.20 release is out! Here are the main highlights:
重點摘要
Standard library adds coroutine stack trace recovery and new collection/test helpers.
Kotlin/Native, Kotlin/Wasm, and Kotlin/JS receive multiple platform-specific improvements.
Gradle 9.7.0 support and new Build tools API targets are now available.
Kotlin 2.4.20 is now available, bringing updates across the standard library, Kotlin/Native, Kotlin/Wasm, Kotlin/JS, Gradle integration, the Build tools API, and the compiler. Highlights include coroutine stack trace recovery, new collection equality and uniqueness helpers, additional kotlin.test overloads, new Swift export features, improved incremental compilation, browser testing DSL support, async export for suspend lambdas, and better Problems API reporting. The release also adds support for Gradle 9.7.0, new Build tools API targets, and the kotlinr runner command with a separate native image. Users can install the update through the latest IDE versions or the GitHub release page.
Kotlin 2.4.20 发布
Kotlin 2.4.20 版本已发布,以下是主要亮点:
重點摘要
标准库新增 coroutine 堆栈追踪恢复与集合工具函数。
Kotlin/Native、Kotlin/Wasm、Kotlin/JS 均获得多项平台改进。
支持 Gradle 9.7.0,并扩展 Build tools API 和编译器能力。
Kotlin 2.4.20 已发布,更新覆盖标准库、Kotlin/Native、Kotlin/Wasm、Kotlin/JS、Gradle 集成、Build tools API 和编译器。主要内容包括 coroutine 堆栈追踪恢复、集合元素相等与唯一性检查函数、kotlin.test 新增断言重载,以及 Swift 导出、增量编译、浏览器测试 DSL、将 suspend lambda 导出为 async 函数等改进。该版本还支持 Gradle 9.7.0、新的 Build tools API 目标,并提供 kotlinr runner 命令和独立的 native image。用户可通过最新版 IDE 或 GitHub 发布页安装更新。
Kotlin 2.4.20 釋出
Kotlin 2.4.20 版本已發布,以下是主要亮點:
重點摘要
標準函式庫新增 coroutine 堆疊追蹤還原與集合工具函式。
Kotlin/Native、Kotlin/Wasm、Kotlin/JS 都有多項平台改進。
支援 Gradle 9.7.0,並擴充 Build tools API 與編譯器功能。
Kotlin 2.4.20 已正式發布,更新涵蓋標準函式庫、Kotlin/Native、Kotlin/Wasm、Kotlin/JS、Gradle 整合、Build tools API 與編譯器。重點包括 coroutine 堆疊追蹤還原、集合元素相等與唯一性檢查工具、kotlin.test 新增多個斷言重載,以及 Swift 匯出、增量編譯、瀏覽器測試 DSL、suspend lambda 轉為 async 函式等改進。此版同時支援 Gradle 9.7.0、新的 Build tools API 目標,並加入 kotlinr runner 與獨立 native image。可透過最新版 IDE 或 GitHub 釋出頁更新。