惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Blog of Author Tim Ferriss
WordPress大学
WordPress大学
博客园 - Franky
The Cloudflare Blog
T
Tailwind CSS Blog
宝玉的分享
宝玉的分享
小众软件
小众软件
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
B
Blog
Y
Y Combinator Blog
V
V2EX
有赞技术团队
有赞技术团队
M
MIT News - Artificial intelligence
博客园 - 司徒正美
IT之家
IT之家
G
Google Developers Blog
C
Check Point Blog
Engineering at Meta
Engineering at Meta
Microsoft Security Blog
Microsoft Security Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
GbyAI
GbyAI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

Lobsters

CIFSwitch: a non-universal Linux local root vulnerability RIPE NCC session fixation: poaching logins with an Atlas probe GNOME 2.20 but its Web Components Agentic Search for Context Engineering – Leonie Monigatti Garnix is shutting down [not OC] akashina.tngl.sh/jjc Concerning Emacs (and Jazz) Nitpicking the shell history scene in ‘Tron: Legacy’ What's cooking on SourceHut? Q2 2026 The tenth OpenPGP email summit Package managers that package package managers Clojure on Fennel part three: parsing WordPress at 23 Finding Miscompiles for Fun, Not Profit GitHub - creusot-rs/creusot: Creusot helps you prove your Rust code is correct. Announcing Rust 1.96.0 | Rust Blog A Love Letter to Neovim sqlite AGENTS.md Am I a Bad Friend? CSS vs. JavaScript • Josh W. Comeau Erlang Ecosystem Foundation - Supporting the BEAM community A brief note about slot access cost in Common Lisp Keyboard latency probe Rethinking the GNOME clipboard issues Back to the Building Blocks’ Building Blocks Tech Notes: Theseus: translating win32 to wasm Fast is better than slow Content-addressed Rust builds (or, what kache actually caches) Intent to Prototype: Embedding API Canada’s Bill C-22 and the security cost of collecting more data
Kotlin 2.4.0 Released | The Kotlin Blog
Sarah Haggarty · 2026-06-03 · via Lobsters
Kotlin logo

A concise multiplatform language developed by JetBrains

Releases

Kotlin 2.4.0 Released

The Kotlin 2.4.0 release is out! Here are the main highlights:

  • Language: Stable context parameters, explicit backing fields, and multiple features for annotation use-site targets.
  • Standard library: Stabilized support for the UUID API and support for checking sorted order.
  • Kotlin/JVM: Support for Java 26 and annotations in metadata enabled by default.
  • Kotlin/Native: Support for Swift packages as dependencies, updates on Swift export, and the CMS GC enabled by default.
  • Kotlin/Wasm: Incremental compilation enabled by default and support for WebAssembly Component Model.
  • Kotlin/JS: Support for value class export and ES2015 features in JS code inlining.
  • Gradle: Compatibility with Gradle 9.5.0.
  • Maven: Automatic alignment between Java and JVM target versions.
  • Kotlin compiler: More consistent inline function behavior during .klib compilation.

For the complete list of changes, refer to What’s new in Kotlin 2.4.0 or the release notes on GitHub.

How to install Kotlin 2.4.0

The latest version of Kotlin is included in the latest versions of IntelliJ IDEA and Android Studio.

To update to the new Kotlin version, change the Kotlin version to 2.4.0 in your build scripts.

If you need the command-line compiler, download it from the GitHub release page.

If you run into any problems:

Stay up to date with the latest Kotlin features! Subscribe to receive Kotlin updates by filling out the form at the bottom of this post. ⬇️

Top issue reporters from YouTrack

Andreas Malik (21 issues), Ryan Nett (20 issues), Julien Dramaix (18 issues), Youssef Shoaib (17 issues), Jinseong Jeon (14 issues), Zac Sweers (11 issues), Ivan Canet (10 issues), Jose Enrique Estremadoyro Fort (9 issues), Łukasz Wasylkowski (8 issues), calebbrandt77 (8 issues), Edoardo Luppi (8 issues), Vadim Shabanov (7 issues), Asapha (6 issues), Louis CAD (6 issues), Niklas Baudy (6 issues), Rick Clephas (6 issues), rlnt (5 issues), marc (5 issues), Victor Turansky (5 issues), and Dirk Lattermann (5 issues).

External contributors

We’d like to thank all of our contributors whose pull requests were included in this release:

AndreyBozhko, ArseniySukhanov, bennyhuo, BraisGabin, dmaclach, kralliv, loadkrnis, migmacdev, NeonMika, nyksans, oscarArismendi, rickclephas, stefanhaustein, Stream29, tcmulcahy, and ZacSweers.

Special thanks to our EAP Champions

Further reading

Subscribe to Kotlin Blog updates

Discover more