Skip to content

Commit

Permalink
Update version to 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr3zee committed May 14, 2024
1 parent 07d8d08 commit 1b1ea2c
Show file tree
Hide file tree
Showing 44 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
# kotlin
kotlin-lang = "1.9.24"
rpc-core = "6.0-beta" # version for plugins and suffix for rpc-full
rpc-core = "0.1.0" # version for plugins and suffix for rpc-full

# kotlin-dependent versions, will be replaced with the actual versions by a settings-conventions plugin
# from 'kotlin-versions-lookup.json' lookup table
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package kotlinx.rpc.internal
*/
internal enum class RPCVersion {
/**
* Version 6.0-beta.
* Version 0.1.0
*/
V_6_0_BETA,
V_0_1_0_BETA,
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public enum class RPCPlugin(
*
* Can be safely ignored. Endpoint must only handle the plugins it knows of.
*/
UNKNOWN(0, RPCVersion.V_6_0_BETA),
UNKNOWN(0, RPCVersion.V_0_1_0_BETA),

/**
* Represents the handshake plugin of the kRPC protocol.
Expand All @@ -45,12 +45,12 @@ public enum class RPCPlugin(
* However, servers will be able to communicate with clients that do not support handshake,
* BUT not the other way around.
*/
HANDSHAKE(1, RPCVersion.V_6_0_BETA),
HANDSHAKE(1, RPCVersion.V_0_1_0_BETA),

/**
* This feature adds support for proper service/request cancellation over the network.
*/
CANCELLATION(2, RPCVersion.V_6_0_BETA),
CANCELLATION(2, RPCVersion.V_0_1_0_BETA),
;

@InternalRPCApi
Expand Down
2 changes: 1 addition & 1 deletion samples/ktor-all-platforms-app/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ktor = "2.3.8"
logback = "1.4.14"
kotlinx-serialization-json = "1.6.1"
kotlinx-coroutines-core = "1.7.3"
kotlinx-rpc = "6.0-beta"
kotlinx-rpc = "0.1.0"

[libraries]
# kotlin
Expand Down
2 changes: 1 addition & 1 deletion samples/ktor-android-app/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ktor = "2.3.8"
kotlinx-serialization-json = "1.6.1"
kotlinx-coroutines-core = "1.7.3"
logback = "1.4.4"
kotlinx-rpc = "6.0-beta"
kotlinx-rpc = "0.1.0"
ksp = "1.9.22-1.0.17"

[libraries]
Expand Down
2 changes: 1 addition & 1 deletion samples/ktor-web-app/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ktor = "2.3.11"
kotlinx-serialization-json = "1.6.1"
kotlinx-coroutines-core = "1.7.3"
logback = "1.4.4"
krpc = "6.0-beta"
krpc = "0.1.0"
ksp = "1.9.24-1.0.20"

[libraries]
Expand Down
2 changes: 1 addition & 1 deletion samples/simple-ktor-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
kotlin("plugin.serialization") version "1.9.24"
id("io.ktor.plugin") version "2.3.11"
id("com.google.devtools.ksp") version "1.9.24-1.0.20"
id("org.jetbrains.kotlinx.rpc.plugin") version "6.0-beta"
id("org.jetbrains.kotlinx.rpc.plugin") version "0.1.0"
}

val kotlin_version: String by project
Expand Down

0 comments on commit 1b1ea2c

Please sign in to comment.