From 1de9600a1d111cd3268f33ec85c4a8667e00c104 Mon Sep 17 00:00:00 2001 From: Alexander Sysoev Date: Tue, 13 May 2025 14:10:08 +0200 Subject: [PATCH] Update Kotlin to 2.1.21 --- README.md | 8 ++++---- docs/pages/kotlinx-rpc/topics/versions.topic | 2 +- docs/pages/kotlinx-rpc/v.list | 2 +- versions-root/kotlin-versions-lookup.csv | 1 + versions-root/libs.versions.toml | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c2d0560bf..136b76610 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![Kotlin Experimental](https://kotl.in/badges/experimental.svg)](https://kotlinlang.org/docs/components-stability.html) [![Official JetBrains project](http://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) -[![Kotlin](https://img.shields.io/badge/kotlin-2.0.0--2.1.20-blue.svg?logo=kotlin)](http://kotlinlang.org) +[![Kotlin](https://img.shields.io/badge/kotlin-2.0.0--2.1.21-blue.svg?logo=kotlin)](http://kotlinlang.org) [![GitHub License](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0) [//]: # ([![TeamCity build](https://img.shields.io/teamcity/build/s/Build_kRPC_All.svg?server=http%3A%2F%2Fkrpc.teamcity.com)](https://teamcity.jetbrains.com/viewType.html?buildTypeId=Build_kRPC_All&guest=1)) @@ -114,8 +114,8 @@ that will set up code generation in a project. Example of a setup in a project's `build.gradle.kts`: ```kotlin plugins { - kotlin("multiplatform") version "2.1.20" - kotlin("plugin.serialization") version "2.1.20" + kotlin("multiplatform") version "2.1.21" + kotlin("plugin.serialization") version "2.1.21" id("org.jetbrains.kotlinx.rpc.plugin") version "0.6.2" } ``` @@ -177,7 +177,7 @@ For a working example, see the [sample gRPC project](/samples/grpc-app). ## Kotlin compatibility We support all stable Kotlin versions starting from 2.0.0: - 2.0.0, 2.0.10, 2.0.20, 2.0.21 -- 2.1.0, 2.1.10, 2.1.20 +- 2.1.0, 2.1.10, 2.1.20, 2.1.21 For a full compatibility checklist, see [Versions](https://kotlin.github.io/kotlinx-rpc/versions.html). diff --git a/docs/pages/kotlinx-rpc/topics/versions.topic b/docs/pages/kotlinx-rpc/topics/versions.topic index e82ca3a0b..5532ec839 100644 --- a/docs/pages/kotlinx-rpc/topics/versions.topic +++ b/docs/pages/kotlinx-rpc/topics/versions.topic @@ -22,7 +22,7 @@

  • 2.0.0, 2.0.10, 2.0.20, 2.0.21
  • -
  • 2.1.0, 2.1.10, 2.1.20
  • +
  • 2.1.0, 2.1.10, 2.1.20, 2.1.21
  • Our code generation will support these versions (See more on code generation artifacts). diff --git a/docs/pages/kotlinx-rpc/v.list b/docs/pages/kotlinx-rpc/v.list index fe60c6d14..c0c629f0c 100644 --- a/docs/pages/kotlinx-rpc/v.list +++ b/docs/pages/kotlinx-rpc/v.list @@ -15,5 +15,5 @@ - + diff --git a/versions-root/kotlin-versions-lookup.csv b/versions-root/kotlin-versions-lookup.csv index 981786a1e..9564395c8 100644 --- a/versions-root/kotlin-versions-lookup.csv +++ b/versions-root/kotlin-versions-lookup.csv @@ -1,4 +1,5 @@ Kotlin,atomicfu,serialization,detekt-gradle-plugin,gradle-kotlin-dsl,binary-compatibility-validator,kover +2.1.21,0.27.0,1.8.1,1.23.8,5.1.2,0.17.0,0.9.1 2.1.20,0.27.0,1.8.1,1.23.8,5.1.2,0.17.0,0.9.1 2.1.10,0.27.0,1.8.1,1.23.8,5.1.2,0.17.0,0.9.1 2.1.0,0.27.0,1.8.1,1.23.8,5.1.2,0.17.0,0.9.1 diff --git a/versions-root/libs.versions.toml b/versions-root/libs.versions.toml index b2dc733f9..2b03b4593 100644 --- a/versions-root/libs.versions.toml +++ b/versions-root/libs.versions.toml @@ -3,7 +3,7 @@ kotlinx-rpc = "0.7.0-SNAPSHOT" # kotlin -kotlin-lang = "2.1.20" # or env.KOTLIN_VERSION +kotlin-lang = "2.1.21" # or env.KOTLIN_VERSION kotlin-compiler = "0.0.0" # default to kotlin-lang or env.KOTLIN_COMPILER_VERSION # kotlin independent versions