Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
```

Expand All @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/kotlinx-rpc/help-versions.json
Original file line number Diff line number Diff line change
@@ -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}
]
2 changes: 1 addition & 1 deletion docs/pages/kotlinx-rpc/v.list
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
<var name="host" value="https://kotlin.github.io"/>

<!-- Library versions -->
<var name="kotlinx-rpc-version" value="0.6.2"/>
<var name="kotlinx-rpc-version" value="0.7.0"/>
<var name="kotlin-version" value="2.1.21"/>
</vars>
2 changes: 1 addition & 1 deletion docs/pages/kotlinx-rpc/writerside.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
<images dir="images" web-path="images/"/>
<categories src="c.list"/>
<vars src="v.list"/>
<instance src="rpc.tree" version="0.6.2" web-path="/kotlinx-rpc/"/>
<instance src="rpc.tree" version="0.7.0" web-path="/kotlinx-rpc/"/>
</ihp>
4 changes: 2 additions & 2 deletions samples/ktor-all-platforms-app/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
kotlin = "2.1.20"
kotlin = "2.1.21"

agp = "8.9.1"
android-compileSdk = "35"
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions samples/ktor-android-app/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions samples/ktor-web-app/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
18 changes: 9 additions & 9 deletions samples/simple-ktor-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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")
}
2 changes: 1 addition & 1 deletion versions-root/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down