1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!DOCTYPE topic
3
+ SYSTEM "https://resources.jetbrains.com/writerside/1.0/xhtml-entities.dtd">
4
+ <topic xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi : noNamespaceSchemaLocation =" https://resources.jetbrains.com/writerside/1.0/topic.v2.xsd"
6
+ title =" Migration to 0.2.3" id =" 0-2-3" >
7
+
8
+ <p >
9
+ Version <code >0.2.3</code > does introduce any breaking changes.
10
+ However, it includes some updates that may require additional modifications in user projects.
11
+ </p >
12
+ <chapter title =" Removal of KSP plugin for Kotlin 2.0" id =" removal-of-ksp-plugin-for-kotlin-2-0" >
13
+ If your project uses Kotlin 2.0,
14
+ you are no longer required to add KSP Gradle plugin to your build files:
15
+ <code-block lang =" kotlin" >
16
+ plugins {
17
+ kotlin("jvm") version "2.0.10"
18
+ kotlin("plugin.serialization") version "2.0.10"
19
+ id("org.jetbrains.kotlinx.rpc.plugin") version "0.2.3"
20
+
21
+ // KSP can be removed
22
+ // id("com.google.devtools.ksp") version "2.0.10-1.0.24"
23
+ }
24
+ </code-block >
25
+ This change brings one more benefit:
26
+ without KSP, projects that use <code >kotlinx.rpc</code >
27
+ can now use <a href =" https://docs.gradle.org/current/userguide/configuration_cache.html" >Gradle configuration
28
+ caches</a >.
29
+ </chapter >
30
+ <chapter title =" Moving of client APIs" id =" moving-of-client-apis" >
31
+ Some client APIs were moved from <code >kotlinx-rpc-krpc-client</code > artifact (and package)
32
+ into <code >kotlinx-rpc-core</code > module (and package). These APIs are not kRPC specific hence the move.
33
+ <p >List of API changes:</p >
34
+ <table >
35
+ <tr >
36
+ <td ><code >0.2.2</code ></td >
37
+ <td ><code >0.2.3</code ></td >
38
+ </tr >
39
+ <tr >
40
+ <td ><code >kotlinx.rpc.client.withService</code ></td >
41
+ <td ><code >kotlinx.rpc.withService</code ></td >
42
+ </tr >
43
+ <tr >
44
+ <td ><code >kotlinx.rpc.client.awaitFieldInitialization</code ></td >
45
+ <td ><code >kotlinx.rpc.awaitFieldInitialization</code ></td >
46
+ </tr >
47
+ <tr >
48
+ <td ><code >kotlinx.rpc.client.UninitializedRPCFieldException</code ></td >
49
+ <td ><code >kotlinx.rpc.UninitializedRPCFieldException</code ></td >
50
+ </tr >
51
+ </table >
52
+ Old declaration and marked with <code >@Deprecated(WARNING)</code >
53
+ and will be removed in 2 minor releases.
54
+ </chapter >
55
+ </topic >
0 commit comments