Kotlin 版本发布
We ship different types of releases:
- Feature releases (1.x) that bring major changes in the language.
- Incremental releases (1.x.y) that are shipped between feature releases and include updates in the tooling, performance improvements, and bug fixes.
- Bug fix releases (1.x.yz) that include bug fixes for incremental releases.
For example, for the feature release 1.3 we had several incremental releases including 1.3.10, 1.3.20, and 1.3.70. For 1.3.70, we had 2 bug fix releases – 1.3.71 and 1.3.72.
For each incremental and feature release, we also ship several preview (EAP) versions for you to try new features before they are released. See Early Access Preview for details.
Learn more about types of Kotlin releases and their compatibility.
更新到新版本
IntelliJ IDEA and Android Studio suggest updating to a new release once it is out. When you accept the suggestion, it automatically updates the Kotlin plugin to the new version. You can check the Kotlin version in Tools | Kotlin | Configure Kotlin Plugin Updates.
If you have projects created with earlier Kotlin versions, change the Kotlin version in your projects and update kotlinx libraries if necessary.
If you are migrating to the new feature release, Kotlin plugin’s migration tools will help you with the migration.
IDE 支持
The IDE support for the latest version of the language is available for the following versions of IntelliJ IDEA and Android Studio:
- IntelliJ IDEA:
- Latest stable
- Previous stable
- Early access versions
- Android Studio:
- Latest released version
- Early access versions
Learn more about the latest Kotlin-related updates in IntelliJ IDEA in the Kotlin section of the What’s new in IntelliJ IDEA page.
版本发布详情
The following table lists details of the latest Kotlin releases.
You can also use preview versions of Kotlin.
版本信息 | 版本重点 |
---|---|
1.9.10 Released: August 23, 2023 | A bug fix release for Kotlin 1.9.0. Learn more about Kotlin 1.9.0 in What’s new in Kotlin 1.9.0. |
1.9.0 Released: July 6, 2023 | A feature release with Kotlin K2 compiler updates, new enum class values function, new operator for open-ended ranges, preview of Gradle configuration cache in Kotlin Multiplatform, changes to Android target support in Kotlin Multiplatform, preview of custom memory allocator in Kotlin/Native. Learn more in: |
1.8.22 Released: June 8, 2023 | A bug fix release for Kotlin 1.8.20. Learn more about Kotlin 1.8.20 in What’s new in Kotlin 1.8.20. |
1.8.21 Released: April 25, 2023 | A bug fix release for Kotlin 1.8.20. Learn more about Kotlin 1.8.20 in What’s new in Kotlin 1.8.20. |
1.8.20 Released: April 3, 2023 | A feature release with Kotlin K2 compiler updates, AutoCloseable interface and Base64 encoding in stdlib, new JVM incremental compilation enabled by default, new Kotlin/Wasm compiler backend. Learn more in: |
1.8.10 Released: February 2, 2023 | A bug fix release for Kotlin 1.8.0. Learn more about Kotlin 1.8.0. |
1.8.0 Released: December 28, 2022 | A feature release with improved kotlin-reflect performance, new recursively copy or delete directory content experimental functions for JVM, improved Objective-C/Swift interoperability. Learn more in: |
1.7.21 Released: November 9, 2022 | A bug fix release for Kotlin 1.7.20. Learn more about Kotlin 1.7.20 in What’s new in Kotlin 1.7.20. |
1.7.20 Released: September 29, 2022 | An incremental release with new language features, the support for several compiler plugins in the Kotlin K2 compiler, the new Kotlin/Native memory manager enabled by default, and the support for Gradle 7.1. Learn more in: Learn more about Kotlin 1.7.20. |
1.7.10 Released: July 7, 2022 | A bug fix release for Kotlin 1.7.0. Learn more about Kotlin 1.7.0. |
1.7.0 Released: June 9, 2022 | A feature release with Kotlin K2 compiler in Alpha for JVM, stabilized language features, performance improvements, and evolutionary changes such as stabilizing experimental APIs. Learn more in: |
1.6.21 Released: April 20, 2022 | A bug fix release for Kotlin 1.6.20. Learn more about Kotlin 1.6.20. |
1.6.20 Released: April 4, 2022 | An incremental release with various improvements such as: Learn more about Kotlin 1.6.20. |
1.6.10 Released: December 14, 2021 | A bug fix release for Kotlin 1.6.0. Learn more about Kotlin 1.6.0. |
1.6.0 Released: November 16, 2021 | A feature release with new language features, performance improvements, and evolutionary changes such as stabilizing experimental APIs. Learn more in: |
1.5.32 Released: November 29, 2021 | A bug fix release for Kotlin 1.5.31. Learn more about Kotlin 1.5.30. |
1.5.31 Released: September 20, 2021 | A bug fix release for Kotlin 1.5.30. Learn more about Kotlin 1.5.30. |
1.5.30 Released: August 23, 2021 | An incremental release with various improvements such as: Learn more in: |
1.5.21 Released: July 13, 2021 | A bug fix release for Kotlin 1.5.20. Learn more about Kotlin 1.5.20. |
1.5.20 Released: June 24, 2021 | An incremental release with various improvements such as: invokedynamic on JVM by defaultArray.copyInto() inside one array—parallel Gradle propertyLearn more in: |
1.5.10 Released: May 24, 2021 | A bug fix release for Kotlin 1.5.0. Learn more about Kotlin 1.5.0. |
1.5.0 Released: May 5, 2021 | A feature release with new language features, performance improvements, and evolutionary changes such as stabilizing experimental APIs. Learn more in: |
1.4.32 Released: March 22, 2021 | A bug fix release for Kotlin 1.4.30. Learn more about Kotlin 1.4.30. |
1.4.31 Released: February 25, 2021 | A bug fix release for Kotlin 1.4.30 Learn more about Kotlin 1.4.30. |
1.4.30 Released: February 3, 2021 | An incremental release with various improvements such as: Learn more in: |
1.4.21 Released: December 7, 2020 | A bug fix release for Kotlin 1.4.20 Learn more about Kotlin 1.4.20. |
1.4.20 Released: November 23, 2020 | An incremental release with various improvements such as: invokedynamic Path(“dir”) / “file.txt” Learn more in: |
1.4.10 发布于:2020-09-07 | A bug fix release for Kotlin 1.4.0. Learn more about Kotlin 1.4.0. |
1.4.0 发布于:2020-08-17 | A feature release with many features and improvements that mostly focus on quality and performance. Learn more in: |
1.3.72 发布于:2020-04-15 | A bug fix release for Kotlin 1.3.70. Learn more about Kotlin 1.3.70. |