Skip to content

Commit 96e4fca

Browse files
committed
Update samples and change the version to 0.2.4
1 parent fd09868 commit 96e4fca

File tree

29 files changed

+45
-47
lines changed

29 files changed

+45
-47
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.3'
23+
CONFIG_JSON_VERSION: '0.2.4'
2424

2525
jobs:
2626
build:

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# 0.2.3
2-
> Published 19 August 2024
1+
# 0.2.4
2+
> Published 20 August 2024
33
44
### Features
55
* KRPC-18 Add K2 and IR code generation plugins, preserve KSP for K1 by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/105
@@ -8,14 +8,15 @@
88
### Bug fixes
99
* KRPC-101 Check if the entire stream is not already closed. by @pikinier20 in https://github.com/Kotlin/kotlinx-rpc/pull/158
1010
* KRPC-119 Exception Deserialization by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/170
11+
* Fix compilation on Kotlin/Native by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/172
1112

1213
### Infra
1314
* Add issue templates by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/167
1415

1516
## New Contributors
1617
* @pikinier20 made their first contribution in https://github.com/Kotlin/kotlinx-rpc/pull/158
1718

18-
**Full Changelog**: https://github.com/Kotlin/kotlinx-rpc/compare/0.2.2...0.2.3
19+
**Full Changelog**: https://github.com/Kotlin/kotlinx-rpc/compare/0.2.2...0.2.4
1920

2021
# 0.2.2
2122
> Published 5 August 2024

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Example of plugins setup in a project's `build.gradle.kts`:
9292
plugins {
9393
kotlin("jvm") version "2.0.10"
9494
kotlin("plugin.serialization") version "2.0.10"
95-
id("org.jetbrains.kotlinx.rpc.plugin") version "0.2.3"
95+
id("org.jetbrains.kotlinx.rpc.plugin") version "0.2.4"
9696
}
9797
```
9898

@@ -106,7 +106,7 @@ plugins {
106106
kotlin("jvm") version "1.9.25"
107107
kotlin("plugin.serialization") version "1.9.25"
108108
id("com.google.devtools.ksp") version "1.9.25-1.0.20"
109-
id("org.jetbrains.kotlinx.rpc.plugin") version "0.2.3"
109+
id("org.jetbrains.kotlinx.rpc.plugin") version "0.2.4"
110110
}
111111
```
112112
### Runtime dependencies
@@ -166,11 +166,11 @@ based on the project's Kotlin version:
166166
```kotlin
167167
plugins {
168168
kotlin("jvm") version "2.0.10"
169-
id("org.jetbrains.kotlinx.rpc.plugin") version "0.2.3"
169+
id("org.jetbrains.kotlinx.rpc.plugin") version "0.2.4"
170170
}
171171

172172
dependencies {
173-
// version 0.2.3 is set by the Gradle plugin
173+
// version 0.2.4 is set by the Gradle plugin
174174
implementation("org.jetbrains.kotlinx:kotlinx-rpc-core")
175175
}
176176
```
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[
2-
{"version":"0.2.3","url":"/kotlinx-rpc/0.2.3/","isCurrent":true}
2+
{"version":"0.2.4","url":"/kotlinx-rpc/0.2.4/","isCurrent":true}
33
]

docs/pages/kotlinx-rpc/rpc.tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</toc-element>
2727
<toc-element topic="versions.topic"/>
2828
<toc-element toc-title="Migration guides">
29-
<toc-element topic="0-2-3.topic"/>
29+
<toc-element topic="0-2-4.topic"/>
3030
<toc-element topic="0-2-1.topic"/>
3131
</toc-element>
3232
</instance-profile>

docs/pages/kotlinx-rpc/topics/0-2-3.topic renamed to docs/pages/kotlinx-rpc/topics/0-2-4.topic

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
- Copyright 2023-2024 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
4+
-->
5+
26
<!DOCTYPE topic
37
SYSTEM "https://resources.jetbrains.com/writerside/1.0/xhtml-entities.dtd">
48
<topic xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
59
xsi:noNamespaceSchemaLocation="https://resources.jetbrains.com/writerside/1.0/topic.v2.xsd"
6-
title="Migration to 0.2.3" id="0-2-3">
10+
title="Migration to 0.2.4" id="0-2-4">
711

812
<p>
9-
Version <code>0.2.3</code> does introduce any breaking changes.
13+
Version <code>0.2.4</code> does introduce any breaking changes.
1014
However, it includes some updates that may require additional modifications in user projects.
1115
</p>
1216
<chapter title="Removal of KSP plugin for Kotlin 2.0" id="removal-of-ksp-plugin-for-kotlin-2-0">
@@ -16,7 +20,7 @@
1620
plugins {
1721
kotlin("jvm") version "2.0.10"
1822
kotlin("plugin.serialization") version "2.0.10"
19-
id("org.jetbrains.kotlinx.rpc.plugin") version "0.2.3"
23+
id("org.jetbrains.kotlinx.rpc.plugin") version "0.2.4"
2024

2125
// KSP can be removed
2226
// id("com.google.devtools.ksp") version "2.0.10-1.0.24"
@@ -34,7 +38,7 @@
3438
<table>
3539
<tr>
3640
<td><code>0.2.2</code></td>
37-
<td><code>0.2.3</code></td>
41+
<td><code>0.2.4</code></td>
3842
</tr>
3943
<tr>
4044
<td><code>kotlinx.rpc.client.withService</code></td>

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.3"/>
17+
<var name="kotlinx-rpc-version" value="0.2.4"/>
1818
<var name="kotlin-version" value="2.0.10"/>
1919
<var name="ksp-version" value="1.9.25-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.3" web-path="/kotlinx-rpc/"/>
15+
<instance src="rpc.tree" version="0.2.4" web-path="/kotlinx-rpc/"/>
1616
</ihp>

samples/ktor-all-platforms-app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ plugins {
1313
alias(libs.plugins.kotlinPluginSerialization) apply false
1414
alias(libs.plugins.kotlinx.rpc) apply false
1515
alias(libs.plugins.kotlinx.rpc.platform) apply false
16-
alias(libs.plugins.ksp) apply false
16+
alias(libs.plugins.compose.compiler) apply false
1717
}

samples/ktor-all-platforms-app/composeApp/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ plugins {
88
alias(libs.plugins.kotlinMultiplatform)
99
alias(libs.plugins.androidApplication)
1010
alias(libs.plugins.jetbrainsCompose)
11+
alias(libs.plugins.compose.compiler)
1112
alias(libs.plugins.kotlinx.rpc.platform)
1213
}
1314

0 commit comments

Comments
 (0)