Skip to content

Kotlin 2.2.0 release details and What's new #4897

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: 2-2-0-doc-update
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions data/releases.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
url: https://github.com/JetBrains/kotlin/releases

latest:
version: 2.1.21
url: https://github.com/JetBrains/kotlin/releases/tag/v2.1.21
version: 2.2.0
url: https://github.com/JetBrains/kotlin/releases/tag/v2.2.0
5 changes: 3 additions & 2 deletions docs/kr.tree
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@
<toc-element topic="competitive-programming.md"/>
</toc-element>
<toc-element toc-title="What's new in Kotlin">
<toc-element toc-title="Kotlin 2.1.20" accepts-web-file-names="whatsnew.html" topic="whatsnew2120.md"/>
<toc-element toc-title="Kotlin 2.2.0" accepts-web-file-names="whatsnew.html" topic="whatsnew22.md"/>
<toc-element toc-title="Kotlin 2.1.20" topic="whatsnew2120.md"/>
<toc-element toc-title="Kotlin 2.1.0" topic="whatsnew21.md"/>
<toc-element toc-title="Kotlin 2.2.0-RC3" topic="whatsnew-eap.md"/>
<toc-element toc-title="Kotlin 2.2.0-RC3" topic="whatsnew-eap.md" hidden="true"/>
<toc-element toc-title="Earlier versions">
<toc-element toc-title="Kotlin 2.0.20" topic="whatsnew2020.md"/>
<toc-element toc-title="Kotlin 2.0.0" topic="whatsnew20.md"/>
Expand Down
4 changes: 3 additions & 1 deletion docs/topics/configure-build-for-eap.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[//]: # (title: Configure your build for EAP)

<tldr>
<!-- <p>No preview versions are currently available</p> -->
<p>No preview versions are currently available.</p>
<!--
<p>Latest Kotlin EAP release: <strong>%kotlinEapVersion%</strong></p>
<p><a href="eap.md#build-details">Explore Kotlin EAP release details</a></p>
-->
</tldr>

To configure your build to use the EAP version of Kotlin, you need to:
Expand Down
8 changes: 6 additions & 2 deletions docs/topics/eap.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
[//]: # (title: Participate in the Kotlin Early Access Preview)

<!--
<tldr>
<p>Latest Kotlin EAP release: <strong>%kotlinEapVersion%</strong></p>
</tldr>
-->

You can participate in the Kotlin Early Access Preview (EAP) to try out the latest Kotlin features before they are released.

Expand Down Expand Up @@ -44,8 +46,9 @@ In this channel, you can also get notifications about new EAP builds.

## Build details

<!--_No preview versions are currently available._-->
_No preview versions are currently available._

<!--
<table>
<tr>
<th>Build info</th>
Expand All @@ -61,4 +64,5 @@ In this channel, you can also get notifications about new EAP builds.
<p>For more details, please refer to the <a href="https://github.com/JetBrains/kotlin/releases/tag/v2.2.0-RC3">changelog</a> or <a href="whatsnew-eap.md">What's new in Kotlin 2.2.0-RC3</a>.</p>
</td>
</tr>
</table>
</table>
-->
3 changes: 2 additions & 1 deletion docs/topics/gradle/gradle-configure-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ In the following table, there are the minimum and maximum **fully supported** ve

| KGP version | Gradle min and max versions | AGP min and max versions |
|---------------|---------------------------------------|-----------------------------------------------------|
| 2.1.20 | %minGradleVersion%–%maxGradleVersion% | %minAndroidGradleVersion%–%maxAndroidGradleVersion% |
| 2.2.0 | %minGradleVersion%–%maxGradleVersion% | %minAndroidGradleVersion%–%maxAndroidGradleVersion% |
| 2.1.20-2.1.21 | 7.6.3–8.12.1 | 7.3.1–8.7.2 |
| 2.1.0–2.1.10 | 7.6.3–8.10* | 7.3.1–8.7.2 |
| 2.0.20–2.0.21 | 6.8.3–8.8* | 7.1.3–8.5 |
| 2.0.0 | 6.8.3–8.5 | 7.1.3–8.3.1 |
Expand Down
6 changes: 5 additions & 1 deletion docs/topics/gradle/gradle-plugin-variants.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ Currently, there are the following variants of the Kotlin Gradle plugin:
| `gradle80` | 8.0–8.0.2 |
| `gradle81` | 8.1.1 |
| `gradle82` | 8.2.1–8.4 |
| `gradle85` | 8.5 and higher |
| `gradle85` | 8.5 |
| `gradle86` | 8.6-8.7 |
| `gradle88` | 8.8-8.10 |
| `gradle811` | 8.11-8.12 |
| `gradle813` | 8.13 and higher |

In future Kotlin releases, more variants will be added.

Expand Down
2 changes: 1 addition & 1 deletion docs/topics/home.topic
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<misc>
<cards narrow="false">
<title>Featured topics</title>
<a href="whatsnew2120.md" summary="New experimental features, performance improvements, and bug fixes">What's new in Kotlin 2.1.20</a>
<a href="whatsnew22.md" summary="New experimental and stable features, performance improvements, and bug fixes">What's new in Kotlin 2.2.0</a>
<a href="releases.md" summary="The latest Kotlin releases and instructions on how to update to them">Kotlin releases</a>
<a href="https://kotlinlang.org/api/latest/jvm/stdlib/" summary="Living essentials for everyday work with Kotlin: IO, files, threading, collections, and much more">Standard library API reference</a>
<a href="basic-types.md" summary="Kotlin type system: numbers, strings, arrays, and other built-in types">Basic types</a>
Expand Down
10 changes: 10 additions & 0 deletions docs/topics/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,16 @@ The following table lists details of the latest Kotlin releases:
<th>Build info</th>
<th>Build highlights</th>
</tr>
<tr>
<td><strong>2.2.0</strong>
<p>Released: <strong>June 23, 2025</strong></p>
<p><a href="https://github.com/JetBrains/kotlin/releases/tag/v2.2.0" target="_blank">Release on GitHub</a></p>
</td>
<td>
<p>A language release including both new and stable language features, tooling updates, performance improvements for different platforms, and important fixes.</p>
<p>For more details, please refer to the <a href="https://github.com/JetBrains/kotlin/releases/tag/v2.2.0">changelog</a>.</p>
</td>
</tr>
<tr>
<td><strong>2.1.21</strong>
<p>Released: <strong>May 13, 2025</strong></p>
Expand Down
Loading