diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index b03ee2571..9cf45d740 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.6.2'
+ CONFIG_JSON_VERSION: '0.7.0'
jobs:
build:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 20850e20d..762a96098 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,23 @@
+# 0.7.0
+> Published 13 May 2025
+
+## Announcement
+This release enforces ERROR as a default reporting level for APIs that are forbidden by the strict mode.
+You can still change the level manually, but in `0.8.0` strict mode will be enforced irreversibly.
+
+## What's Changed
+
+### Breaking Changes 🔴
+* Change strict mode to level ERROR by default by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/338
+
+### Other Changes 🧹
+* Update Kotlin to 2.1.21 by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/337
+* Version 0.7.0-SNAPSHOT by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/325
+* Samples: version 0.6.2 by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/326
+* 2.2.0 compiler migration by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/335
+
+**Full Changelog**: https://github.com/Kotlin/kotlinx-rpc/compare/0.6.2...0.7.0
+
# 0.6.2
> Published 17 April 2025
diff --git a/README.md b/README.md
index 136b76610..0f3901ebf 100644
--- a/README.md
+++ b/README.md
@@ -116,7 +116,7 @@ Example of a setup in a project's `build.gradle.kts`:
plugins {
kotlin("multiplatform") version "2.1.21"
kotlin("plugin.serialization") version "2.1.21"
- id("org.jetbrains.kotlinx.rpc.plugin") version "0.6.2"
+ id("org.jetbrains.kotlinx.rpc.plugin") version "0.7.0"
}
```
@@ -131,15 +131,15 @@ And now you can add dependencies to your project:
```kotlin
dependencies {
// Client API
- implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-client:0.6.2")
+ implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-client:0.7.0")
// Server API
- implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-server:0.6.2")
+ implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-server:0.7.0")
// Serialization module. Also, protobuf and cbor are provided
- implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-serialization-json:0.6.2")
+ implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-serialization-json:0.7.0")
// Transport implementation for Ktor
- implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-ktor-client:0.6.2")
- implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-ktor-server:0.6.2")
+ implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-ktor-client:0.7.0")
+ implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-ktor-server:0.7.0")
// Ktor API
implementation("io.ktor:ktor-client-cio-jvm:$ktor_version")
diff --git a/docs/pages/kotlinx-rpc/help-versions.json b/docs/pages/kotlinx-rpc/help-versions.json
index 17185b961..88888d30f 100644
--- a/docs/pages/kotlinx-rpc/help-versions.json
+++ b/docs/pages/kotlinx-rpc/help-versions.json
@@ -1,3 +1,3 @@
[
- {"version":"0.6.2","url":"/kotlinx-rpc/0.6.2/","isCurrent":true}
+ {"version":"0.7.0","url":"/kotlinx-rpc/0.7.0/","isCurrent":true}
]
diff --git a/docs/pages/kotlinx-rpc/v.list b/docs/pages/kotlinx-rpc/v.list
index c0c629f0c..8565f7802 100644
--- a/docs/pages/kotlinx-rpc/v.list
+++ b/docs/pages/kotlinx-rpc/v.list
@@ -14,6 +14,6 @@
-
+
diff --git a/docs/pages/kotlinx-rpc/writerside.cfg b/docs/pages/kotlinx-rpc/writerside.cfg
index 609776c4f..605d17796 100644
--- a/docs/pages/kotlinx-rpc/writerside.cfg
+++ b/docs/pages/kotlinx-rpc/writerside.cfg
@@ -12,5 +12,5 @@
-
+
diff --git a/samples/ktor-all-platforms-app/gradle/libs.versions.toml b/samples/ktor-all-platforms-app/gradle/libs.versions.toml
index 0532a1af2..47da114a2 100644
--- a/samples/ktor-all-platforms-app/gradle/libs.versions.toml
+++ b/samples/ktor-all-platforms-app/gradle/libs.versions.toml
@@ -1,5 +1,5 @@
[versions]
-kotlin = "2.1.20"
+kotlin = "2.1.21"
agp = "8.9.1"
android-compileSdk = "35"
@@ -19,7 +19,7 @@ ktor = "3.1.2"
logback = "1.5.18"
serialization = "1.8.1"
coroutines = "1.10.2"
-kotlinx-rpc = "0.6.2"
+kotlinx-rpc = "0.7.0"
[libraries]
# kotlin
diff --git a/samples/ktor-android-app/gradle/libs.versions.toml b/samples/ktor-android-app/gradle/libs.versions.toml
index a386caecf..994cb9322 100644
--- a/samples/ktor-android-app/gradle/libs.versions.toml
+++ b/samples/ktor-android-app/gradle/libs.versions.toml
@@ -1,6 +1,6 @@
[versions]
agp = "8.9.1"
-kotlin = "2.1.20"
+kotlin = "2.1.21"
androidx-activityCompose = "1.10.1"
androidx-appcompat = "1.7.0"
androidx-constraintlayout = "2.2.1"
@@ -15,7 +15,7 @@ ktor = "3.1.2"
kotlinx-serialization-json = "1.8.1"
kotlinx-coroutines-core = "1.10.2"
logback = "1.5.18"
-kotlinx-rpc = "0.6.2"
+kotlinx-rpc = "0.7.0"
[libraries]
# kotlin
diff --git a/samples/ktor-web-app/gradle/libs.versions.toml b/samples/ktor-web-app/gradle/libs.versions.toml
index 69cfde981..152bec720 100644
--- a/samples/ktor-web-app/gradle/libs.versions.toml
+++ b/samples/ktor-web-app/gradle/libs.versions.toml
@@ -1,11 +1,11 @@
[versions]
-kotlin = "2.1.20"
+kotlin = "2.1.21"
kotlin-wrappers-bom = "2025.4.8"
ktor = "3.1.2"
kotlinx-serialization-json = "1.8.1"
kotlinx-coroutines-core = "1.10.2"
logback = "1.5.18"
-kotlinx-rpc = "0.6.2"
+kotlinx-rpc = "0.7.0"
[libraries]
# kotlin
diff --git a/samples/simple-ktor-app/build.gradle.kts b/samples/simple-ktor-app/build.gradle.kts
index c2bea6b2d..5483a9a57 100644
--- a/samples/simple-ktor-app/build.gradle.kts
+++ b/samples/simple-ktor-app/build.gradle.kts
@@ -3,10 +3,10 @@
*/
plugins {
- kotlin("jvm") version "2.1.20"
- kotlin("plugin.serialization") version "2.1.20"
+ kotlin("jvm") version "2.1.21"
+ kotlin("plugin.serialization") version "2.1.21"
id("io.ktor.plugin") version "3.1.2"
- id("org.jetbrains.kotlinx.rpc.plugin") version "0.6.2"
+ id("org.jetbrains.kotlinx.rpc.plugin") version "0.7.0"
}
group = "kotlinx.rpc.sample"
@@ -28,17 +28,17 @@ kotlin {
}
dependencies {
- implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-client:0.6.2")
- implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-server:0.6.2")
- implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-serialization-json:0.6.2")
+ implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-client:0.7.0")
+ implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-server:0.7.0")
+ implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-serialization-json:0.7.0")
- implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-ktor-client:0.6.2")
- implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-ktor-server:0.6.2")
+ implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-ktor-client:0.7.0")
+ implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-ktor-server:0.7.0")
implementation("io.ktor:ktor-client-cio")
implementation("io.ktor:ktor-server-netty-jvm")
implementation("ch.qos.logback:logback-classic:1.5.18")
testImplementation("io.ktor:ktor-server-test-host")
- testImplementation("org.jetbrains.kotlin:kotlin-test-junit:2.1.20")
+ testImplementation("org.jetbrains.kotlin:kotlin-test-junit:2.1.21")
}
diff --git a/versions-root/libs.versions.toml b/versions-root/libs.versions.toml
index 2b03b4593..986e82dce 100644
--- a/versions-root/libs.versions.toml
+++ b/versions-root/libs.versions.toml
@@ -1,6 +1,6 @@
[versions]
# core library version
-kotlinx-rpc = "0.7.0-SNAPSHOT"
+kotlinx-rpc = "0.7.0"
# kotlin
kotlin-lang = "2.1.21" # or env.KOTLIN_VERSION