Skip to content

Commit 582aa99

Browse files
authored
Release 0.2.2 (#144)
* bump version to 0.2.2 * Added 0.2.2 to the CHANGELOG.md * Fix compose in android sample
1 parent d0ac56e commit 582aa99

File tree

13 files changed

+28
-16
lines changed

13 files changed

+28
-16
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ env:
2020
ALGOLIA_INDEX_NAME: 'prod_kotlin_rpc'
2121
ALGOLIA_KEY: '${{ secrets.ALGOLIA_KEY }}'
2222
CONFIG_JSON_PRODUCT: 'kotlinx-rpc'
23-
CONFIG_JSON_VERSION: '0.2.1'
23+
CONFIG_JSON_VERSION: '0.2.2'
2424

2525
jobs:
2626
build:

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
# 0.2.2
2+
> Published 5 August 2024
3+
4+
### Bug fixes
5+
* Fix log error messages by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/139
6+
* KRPC-97 Race condition in stream cancellation locks the transport by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/138
7+
* Fix call cancellation by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/141
8+
9+
**Full Changelog**: https://github.com/Kotlin/kotlinx-rpc/compare/0.2.1...0.2.2
10+
11+
112
# 0.2.1
213
> Published 1 July 2024
314

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ plugins {
9595
kotlin("jvm") version "1.9.24"
9696
kotlin("plugin.serialization") version "1.9.24"
9797
id("com.google.devtools.ksp") version "1.9.24-1.0.20"
98-
id("org.jetbrains.kotlinx.rpc.plugin") version "0.2.1"
98+
id("org.jetbrains.kotlinx.rpc.plugin") version "0.2.2"
9999
}
100100
```
101101
### Runtime dependencies
@@ -154,11 +154,11 @@ based on the project's Kotlin version:
154154
```kotlin
155155
plugins {
156156
kotlin("jvm") version "1.9.24"
157-
id("org.jetbrains.kotlinx.rpc.plugin") version "0.2.1"
157+
id("org.jetbrains.kotlinx.rpc.plugin") version "0.2.2"
158158
}
159159

160160
dependencies {
161-
// version 0.2.1 is set by the Gradle plugin
161+
// version 0.2.2 is set by the Gradle plugin
162162
implementation("org.jetbrains.kotlinx:kotlinx-rpc-core")
163163
}
164164
```
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[
2-
{"version":"0.2.1","url":"/kotlinx-rpc/0.2.1/","isCurrent":true}
2+
{"version":"0.2.2","url":"/kotlinx-rpc/0.2.2/","isCurrent":true}
33
]

docs/pages/kotlinx-rpc/v.list

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<var name="host" value="https://kotlin.github.io"/>
1515

1616
<!-- Library versions -->
17-
<var name="kotlinx-rpc-version" value="0.2.1"/>
17+
<var name="kotlinx-rpc-version" value="0.2.2"/>
1818
<var name="kotlin-version" value="1.9.24"/>
1919
<var name="ksp-version" value="1.9.24-1.0.20"/>
2020
</vars>

docs/pages/kotlinx-rpc/writerside.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
<images dir="images" web-path="images/"/>
1313
<categories src="c.list"/>
1414
<vars src="v.list"/>
15-
<instance src="rpc.tree" version="0.2.1" web-path="/kotlinx-rpc/"/>
15+
<instance src="rpc.tree" version="0.2.2" web-path="/kotlinx-rpc/"/>
1616
</ihp>

gradle-plugin/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ gradlePlugin {
4141
The plugin ensures correct RPC configurations for your project, that will allow proper code generation.
4242
4343
Additionally, it enforces proper artifacts versions for your project, depending on your Kotlin version.
44-
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.
44+
Resulting versions of the kotlinx.rpc dependencies will be 'kotlinVersion-kotlinxRpcVersion', for example '1.9.24-0.2.2', where '0.2.2' is the kotlinx.rpc version.
4545
""".trimIndent()
4646
}
4747
}
@@ -54,7 +54,7 @@ gradlePlugin {
5454
implementationClass = "kotlinx.rpc.RPCPlatformPlugin"
5555
description = """
5656
The plugin enforces proper artifacts versions for your project, depending on your Kotlin version.
57-
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.
57+
Resulting versions of the kotlinx.rpc dependencies will be 'kotlinVersion-kotlinxRpcVersion', for example '1.9.24-0.2.2', where '0.2.2' is the kotlinx.rpc version.
5858
""".trimIndent()
5959
}
6060
}

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[versions]
22
# core library version
3-
kotlinx-rpc = "0.2.1"
3+
kotlinx-rpc = "0.2.2"
44

55
# kotlin
66
kotlin-lang = "1.9.24"

samples/ktor-all-platforms-app/gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ktor = "2.3.11"
2020
logback = "1.5.6"
2121
kotlinx-serialization-json = "1.6.3"
2222
kotlinx-coroutines-core = "1.8.1"
23-
kotlinx-rpc = "0.2.1"
23+
kotlinx-rpc = "0.2.2"
2424

2525
[libraries]
2626
# kotlin

samples/ktor-android-app/app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ android {
5454
compose = true
5555
}
5656
composeOptions {
57-
kotlinCompilerExtensionVersion = "1.5.9"
57+
kotlinCompilerExtensionVersion = libs.versions.compose.plugin.get()
5858
}
5959
packaging {
6060
resources {

0 commit comments

Comments
 (0)