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

推荐订阅源

G
Google Developers Blog
Google DeepMind News
Google DeepMind News
Microsoft Security Blog
Microsoft Security Blog
Martin Fowler
Martin Fowler
MyScale Blog
MyScale Blog
The GitHub Blog
The GitHub Blog
I
InfoQ
A
About on SuperTechFans
GbyAI
GbyAI
宝玉的分享
宝玉的分享
爱范儿
爱范儿
博客园 - 【当耐特】
博客园 - 司徒正美
博客园 - 聂微东
P
Proofpoint News Feed
WordPress大学
WordPress大学
云风的 BLOG
云风的 BLOG
Last Week in AI
Last Week in AI
阮一峰的网络日志
阮一峰的网络日志
B
Blog RSS Feed
Jina AI
Jina AI
aimingoo的专栏
aimingoo的专栏
J
Java Code Geeks
博客园 - 叶小钗

The JetBrains Blog

Kotlin Turns 15: Celebrate the Kotlin Effect - The JetBrains Blog PhpStorm 2026.2 is Now Out - The JetBrains Blog Key Takeaways From PHPverse 2026 - The JetBrains Blog What's New in IntelliJ IDEA 2026.2 - The JetBrains Blog What’s fixed in IntelliJ IDEA 2026.2 - The JetBrains Blog CLion 2026.2 Is Here - The JetBrains Blog DataGrip 2026.2: AI Agent Skills, MCP Tools and CLI Commands for Data Source Management, Bundled JDBC Drivers, and Improved Session Control - The JetBrains Blog Download WebStorm 2026.2: TypeScript 7 Support, AI, and more GoLand 2026.2 Is Now Available! - The JetBrains Blog Code in Space: Redefining Tech Creation with AI and XR - The JetBrains Blog Rider 2026.2 Release Candidate Is Out! - The JetBrains Blog ReSharper 2026.2 Release Candidate Released! - The JetBrains Blog JetBrains GameDev Days 2026 – Call for Speakers - The JetBrains Blog MPS 2026.1 Has Been Released! - The JetBrains Blog IntelliJ Scala Plugin 2026.2 Is Out! - The JetBrains Blog What's New in ReSharper 2026.2 for VS Code-compatible editors  - The JetBrains Blog Debugging for .NET in VS Code and Cursor: The #1 Requested Feature Is Here - The JetBrains Blog dotInsights | July 2026 - The JetBrains Blog The History of Kodee, Kotlin’s Mascot - The JetBrains Blog JetBrains Academy – June Digest - The JetBrains Blog Introducing the Kotlin Benchmark for AI Coding Agents - The JetBrains Blog Best Object Detection Models for Machine Learning in 2026 - The JetBrains Blog What's Next for TeamCity – CI/CD by JetBrains - The JetBrains Blog The Benchmark Meaning Gap - The JetBrains Blog JetBrains AI for Teams and Organizations: From Fragmented AI Usage to Coordinated Software Development - The JetBrains Blog Java Annotated Monthly – July 2026  - The JetBrains Blog Shift-Left with JetBrains Qodana Natvis Comes to Linux and macOS: Visualize Your C++ Types Without Writing a Single Data Formatter - The JetBrains Blog Speaking to AI Agents like Cavemen Saves 65% of Tokens. We Test. In Conversation With the Golden Kodee Winners - The JetBrains Blog
Kotlin 2.4.0 Released | The Kotlin Blog
Sarah Haggarty · 2026-06-03 · via The JetBrains Blog
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