From d9396d51d4030180dd6ee97d8097f54765c26bb5 Mon Sep 17 00:00:00 2001 From: Alexander Sysoev Date: Mon, 1 Jul 2024 12:35:03 +0200 Subject: [PATCH] Update version to 0.2.1 --- .github/workflows/docs.yml | 2 +- CHANGELOG.md | 6 +++--- README.md | 6 +++--- docs/pages/kotlinx-rpc/help-versions.json | 2 +- docs/pages/kotlinx-rpc/rpc.tree | 2 +- .../pages/kotlinx-rpc/topics/{0-2-0.topic => 0-2-1.topic} | 8 ++++---- docs/pages/kotlinx-rpc/v.list | 2 +- docs/pages/kotlinx-rpc/writerside.cfg | 2 +- gradle-plugin/build.gradle.kts | 4 ++-- gradle/libs.versions.toml | 2 +- samples/ktor-all-platforms-app/gradle/libs.versions.toml | 2 +- samples/ktor-android-app/gradle/libs.versions.toml | 2 +- samples/ktor-web-app/gradle/libs.versions.toml | 6 +++--- samples/simple-ktor-app/build.gradle.kts | 2 +- 14 files changed, 24 insertions(+), 24 deletions(-) rename docs/pages/kotlinx-rpc/topics/{0-2-0.topic => 0-2-1.topic} (95%) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7c782c9a..177f8b5f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -20,7 +20,7 @@ env: ALGOLIA_INDEX_NAME: 'prod_kotlin_rpc' ALGOLIA_KEY: '${{ secrets.ALGOLIA_KEY }}' CONFIG_JSON_PRODUCT: 'kotlinx-rpc' - CONFIG_JSON_VERSION: '0.2.0' + CONFIG_JSON_VERSION: '0.2.1' jobs: build: diff --git a/CHANGELOG.md b/CHANGELOG.md index 378be317..e418525c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ -# 0.2.0 -> Published 28 June 2024 +# 0.2.1 +> Published 1 July 2024 ### Breaking changes Release contains breaking changes, see the [migration guide](https://kotlin.github.io/kotlinx-rpc/0-2-0.html) @@ -47,4 +47,4 @@ Release contains breaking changes, see the [migration guide](https://kotlin.gith * @turansky made their first contribution in https://github.com/Kotlin/kotlinx-rpc/pull/96 * @vnikolova made their first contribution in https://github.com/Kotlin/kotlinx-rpc/pull/86 -**Full Changelog**: https://github.com/Kotlin/kotlinx-rpc/compare/0.1.0...0.2.0 +**Full Changelog**: https://github.com/Kotlin/kotlinx-rpc/compare/0.1.0...0.2.1 diff --git a/README.md b/README.md index 499f907b..f06551ce 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ plugins { kotlin("jvm") version "1.9.24" kotlin("plugin.serialization") version "1.9.24" id("com.google.devtools.ksp") version "1.9.24-1.0.20" - id("org.jetbrains.kotlinx.rpc.plugin") version "0.2.0" + id("org.jetbrains.kotlinx.rpc.plugin") version "0.2.1" } ``` ### Runtime dependencies @@ -154,11 +154,11 @@ based on the project's Kotlin version: ```kotlin plugins { kotlin("jvm") version "1.9.24" - id("org.jetbrains.kotlinx.rpc.plugin") version "0.2.0" + id("org.jetbrains.kotlinx.rpc.plugin") version "0.2.1" } dependencies { - // version 0.2.0 is set by the Gradle plugin + // version 0.2.1 is set by the Gradle plugin implementation("org.jetbrains.kotlinx:kotlinx-rpc-core") } ``` diff --git a/docs/pages/kotlinx-rpc/help-versions.json b/docs/pages/kotlinx-rpc/help-versions.json index 28707a85..e94ef1cb 100644 --- a/docs/pages/kotlinx-rpc/help-versions.json +++ b/docs/pages/kotlinx-rpc/help-versions.json @@ -1,3 +1,3 @@ [ - {"version":"0.2.0","url":"/kotlinx-rpc/0.2.0/","isCurrent":true} + {"version":"0.2.1","url":"/kotlinx-rpc/0.2.1/","isCurrent":true} ] diff --git a/docs/pages/kotlinx-rpc/rpc.tree b/docs/pages/kotlinx-rpc/rpc.tree index 2e3eeccb..78de9b6b 100644 --- a/docs/pages/kotlinx-rpc/rpc.tree +++ b/docs/pages/kotlinx-rpc/rpc.tree @@ -26,6 +26,6 @@ - + \ No newline at end of file diff --git a/docs/pages/kotlinx-rpc/topics/0-2-0.topic b/docs/pages/kotlinx-rpc/topics/0-2-1.topic similarity index 95% rename from docs/pages/kotlinx-rpc/topics/0-2-0.topic rename to docs/pages/kotlinx-rpc/topics/0-2-1.topic index 0bafc267..316bbfe3 100644 --- a/docs/pages/kotlinx-rpc/topics/0-2-0.topic +++ b/docs/pages/kotlinx-rpc/topics/0-2-1.topic @@ -7,10 +7,10 @@ SYSTEM "https://resources.jetbrains.com/writerside/1.0/xhtml-entities.dtd"> + title="Migration to 0.2.1" id="0-2-1" help-id="0-2-0">

- Version 0.2.0 introduces changes that are not compatible with the previous 0.1.0 release. + Version 0.2.1 introduces changes that are not compatible with the previous 0.1.0 release. This guide contains a full list of all incompatible changes.

@@ -92,7 +92,7 @@ All other artifacts will use a simplified versioning format like this:

- org.jetbrains.kotlinx.kotlinx-rpc-core:0.2.0 + org.jetbrains.kotlinx.kotlinx-rpc-core:0.2.1

Our gradle plugin is still capable of including proper versions of artifacts for you. @@ -105,7 +105,7 @@

- Version 0.2.0 is being released to the Maven Central repository instead of Space, like it was previously. + Version 0.2.1 is being released to the Maven Central repository instead of Space, like it was previously. In your gradle build scripts (build.gradle.kts) you need to update the repository to ensure you consume the correct artifacts.

Old configuration:

diff --git a/docs/pages/kotlinx-rpc/v.list b/docs/pages/kotlinx-rpc/v.list index 3bbee81a..d5f4fcd4 100644 --- a/docs/pages/kotlinx-rpc/v.list +++ b/docs/pages/kotlinx-rpc/v.list @@ -14,7 +14,7 @@ - + diff --git a/docs/pages/kotlinx-rpc/writerside.cfg b/docs/pages/kotlinx-rpc/writerside.cfg index 9927404f..a4ad3435 100644 --- a/docs/pages/kotlinx-rpc/writerside.cfg +++ b/docs/pages/kotlinx-rpc/writerside.cfg @@ -12,5 +12,5 @@ - + \ No newline at end of file diff --git a/gradle-plugin/build.gradle.kts b/gradle-plugin/build.gradle.kts index 449e5efa..3dd39f18 100644 --- a/gradle-plugin/build.gradle.kts +++ b/gradle-plugin/build.gradle.kts @@ -41,7 +41,7 @@ gradlePlugin { The plugin ensures correct RPC configurations for your project, that will allow proper code generation. Additionally, it enforces proper artifacts versions for your project, depending on your Kotlin version. - Resulting versions of the kotlinx.rpc dependencies will be 'kotlinVersion-kotlinxRpcVersion', for example '1.9.24-0.2.0', where '0.2.0' is the kotlinx.rpc version. + Resulting versions of the kotlinx.rpc dependencies will be 'kotlinVersion-kotlinxRpcVersion', for example '1.9.24-0.2.1', where '0.2.1' is the kotlinx.rpc version. """.trimIndent() } } @@ -54,7 +54,7 @@ gradlePlugin { implementationClass = "kotlinx.rpc.RPCPlatformPlugin" description = """ The plugin enforces proper artifacts versions for your project, depending on your Kotlin version. - Resulting versions of the kotlinx.rpc dependencies will be 'kotlinVersion-kotlinxRpcVersion', for example '1.9.24-0.2.0', where '0.2.0' is the kotlinx.rpc version. + Resulting versions of the kotlinx.rpc dependencies will be 'kotlinVersion-kotlinxRpcVersion', for example '1.9.24-0.2.1', where '0.2.1' is the kotlinx.rpc version. """.trimIndent() } } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f6266c17..1a66f82b 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,6 +1,6 @@ [versions] # core library version -kotlinx-rpc = "0.2.0" +kotlinx-rpc = "0.2.1" # kotlin kotlin-lang = "1.9.24" diff --git a/samples/ktor-all-platforms-app/gradle/libs.versions.toml b/samples/ktor-all-platforms-app/gradle/libs.versions.toml index 0eb08291..b3230c88 100644 --- a/samples/ktor-all-platforms-app/gradle/libs.versions.toml +++ b/samples/ktor-all-platforms-app/gradle/libs.versions.toml @@ -20,7 +20,7 @@ ktor = "2.3.11" logback = "1.5.6" kotlinx-serialization-json = "1.6.3" kotlinx-coroutines-core = "1.8.1" -kotlinx-rpc = "0.2.0" +kotlinx-rpc = "0.2.1" [libraries] # kotlin diff --git a/samples/ktor-android-app/gradle/libs.versions.toml b/samples/ktor-android-app/gradle/libs.versions.toml index fc24e548..8821effd 100644 --- a/samples/ktor-android-app/gradle/libs.versions.toml +++ b/samples/ktor-android-app/gradle/libs.versions.toml @@ -13,7 +13,7 @@ ktor = "2.3.11" kotlinx-serialization-json = "1.6.1" kotlinx-coroutines-core = "1.8.1" logback = "1.5.6" -kotlinx-rpc = "0.2.0" +kotlinx-rpc = "0.2.1" ksp = "1.9.24-1.0.20" [libraries] diff --git a/samples/ktor-web-app/gradle/libs.versions.toml b/samples/ktor-web-app/gradle/libs.versions.toml index e6ee70b4..da94e7cb 100644 --- a/samples/ktor-web-app/gradle/libs.versions.toml +++ b/samples/ktor-web-app/gradle/libs.versions.toml @@ -5,7 +5,7 @@ ktor = "2.3.11" kotlinx-serialization-json = "1.6.1" kotlinx-coroutines-core = "1.8.1" logback = "1.5.6" -krpc = "0.2.0" +kotlinx-rpc = "0.2.1" ksp = "1.9.24-1.0.20" [libraries] @@ -53,6 +53,6 @@ kotlinx-rpc-krpc-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx- kotlin-plugin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" } kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } -kotlinx-rpc = { id = "org.jetbrains.kotlinx.rpc.plugin", version.ref = "krpc" } -kotlinx-rpc-platform = { id = "org.jetbrains.kotlinx.rpc.platform", version.ref = "krpc" } +kotlinx-rpc = { id = "org.jetbrains.kotlinx.rpc.plugin", version.ref = "kotlinx-rpc" } +kotlinx-rpc-platform = { id = "org.jetbrains.kotlinx.rpc.platform", version.ref = "kotlinx-rpc" } ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" } diff --git a/samples/simple-ktor-app/build.gradle.kts b/samples/simple-ktor-app/build.gradle.kts index 6d277554..5c6d4dae 100644 --- a/samples/simple-ktor-app/build.gradle.kts +++ b/samples/simple-ktor-app/build.gradle.kts @@ -7,7 +7,7 @@ plugins { kotlin("plugin.serialization") version "1.9.24" id("io.ktor.plugin") version "2.3.11" id("com.google.devtools.ksp") version "1.9.24-1.0.20" - id("org.jetbrains.kotlinx.rpc.plugin") version "0.2.0" + id("org.jetbrains.kotlinx.rpc.plugin") version "0.2.1" } val kotlin_version: String by project