rust: Roll the cln-grpc and cln-rpc versions due to schema changes
What changed, and why it matters
This commit is a routine version bump for two Rust software packages (cln-rpc and cln-grpc) used by Core Lightning. It updates version numbers from 0.4.x to 0.5.0 in package metadata files so that downstream users who requested 'version 0.4 or compatible updates' will correctly receive the new 0.5 release. The change itself contains no code modifications, no bug fixes, and no security patches.
No security action required. Treat as normal release engineering/versioning maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff only modifies Cargo.toml and Cargo.lock files, bumping cln-rpc and cln-grpc versions from 0.4.x to 0.5.0 and updating internal dependency constraints accordingly. The commit message states this is necessary because a prior commit introduced breaking schema/proto changes, and the version bump preserves backwards compatibility for consumers using ‘~0.4’ constraints by moving them to the 0.5 line. No source code, protocol logic, or security-sensitive behavior is changed.
Changed components
cln-rpc Rust crate versioningcln-grpc Rust crate versioningCore Lightning plugin dependency declarationsInspect captured patch +12 / −13
diff --git a/Cargo.lock b/Cargo.lock
index a785c446..abd9d1bb 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
-version = 3
+version = 4
[[package]]
name = "addr2line"
@@ -482,7 +482,7 @@ dependencies = [
[[package]]
name = "cln-grpc"
-version = "0.4.1"
+version = "0.5.0"
dependencies = [
"anyhow",
"bitcoin 0.31.2",
@@ -554,7 +554,7 @@ dependencies = [
[[package]]
name = "cln-rpc"
-version = "0.4.0"
+version = "0.5.0"
dependencies = [
"anyhow",
"bitcoin 0.31.2",
diff --git a/cln-grpc/Cargo.toml b/cln-grpc/Cargo.toml
index 05963ece..b4fdbb87 100644
--- a/cln-grpc/Cargo.toml
+++ b/cln-grpc/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "cln-grpc"
-version = "0.4.1"
+version = "0.5.0"
edition = "2021"
license = "MIT"
description = "The Core Lightning API as grpc primitives. Provides the bindings used to expose the API over the network."
@@ -15,7 +15,7 @@ server = ["cln-rpc"]
[dependencies]
anyhow = "1.0"
log = "0.4"
-cln-rpc = { path = "../cln-rpc/", version = "0.4", optional = true }
+cln-rpc = { path = "../cln-rpc/", version = "0.5", optional = true }
cfg-if = "1.0"
serde = { version = "1.0", features = ["derive"] }
tonic = { version = "0.11", features = ["tls", "transport"] }
@@ -29,7 +29,6 @@ tokio-util = "0.7.10"
[dev-dependencies]
serde_json = "1.0.72"
-cln-rpc = { path = "../cln-rpc/", version = "0.4" }
[build-dependencies]
tonic-build = "0.11"
diff --git a/cln-rpc/Cargo.toml b/cln-rpc/Cargo.toml
index 5d21ceb2..c7f3e25e 100644
--- a/cln-rpc/Cargo.toml
+++ b/cln-rpc/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "cln-rpc"
-version = "0.4.0"
+version = "0.5.0"
edition = "2021"
license = "MIT"
description = "An async RPC client for Core Lightning."
diff --git a/plugins/Cargo.toml b/plugins/Cargo.toml
index e6c9042d..b3daa144 100644
--- a/plugins/Cargo.toml
+++ b/plugins/Cargo.toml
@@ -27,4 +27,4 @@ tracing = { version = "^0.1", features = ["async-await", "log"] }
[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread", ] }
-cln-grpc = { version = "0.4", path = "../cln-grpc" }
+cln-grpc = { version = "0.5", path = "../cln-grpc" }
diff --git a/plugins/grpc-plugin/Cargo.toml b/plugins/grpc-plugin/Cargo.toml
index c8ef0368..71eb963a 100644
--- a/plugins/grpc-plugin/Cargo.toml
+++ b/plugins/grpc-plugin/Cargo.toml
@@ -17,9 +17,9 @@ anyhow = "1.0"
log = "0.4"
rcgen = { version = "0.13.1", features = ["pem", "x509-parser"] }
prost = "0.12"
-cln-grpc = { version = "0.4", features = ["server"], path = "../../cln-grpc"}
+cln-grpc = { version = "0.5", features = ["server"], path = "../../cln-grpc"}
cln-plugin = { version = "0.4", path = "../../plugins" }
-cln-rpc = { version = "0.4", path = "../../cln-rpc" }
+cln-rpc = { version = "0.5", path = "../../cln-rpc" }
serde_json = "1.0.113"
[dependencies.tokio]
diff --git a/plugins/lsps-plugin/Cargo.toml b/plugins/lsps-plugin/Cargo.toml
index bbdebe93..9781b9a9 100644
--- a/plugins/lsps-plugin/Cargo.toml
+++ b/plugins/lsps-plugin/Cargo.toml
@@ -15,7 +15,7 @@ path = "src/service.rs"
anyhow = "1.0"
async-trait = "0.1"
cln-plugin = { version = "0.4", path = "../" }
-cln-rpc = { version = "0.4", path = "../../cln-rpc" }
+cln-rpc = { version = "0.5", path = "../../cln-rpc" }
hex = "0.4"
log = "0.4"
rand = "0.9"
diff --git a/plugins/rest-plugin/Cargo.toml b/plugins/rest-plugin/Cargo.toml
index 7dab8a46..d50b6c02 100644
--- a/plugins/rest-plugin/Cargo.toml
+++ b/plugins/rest-plugin/Cargo.toml
@@ -32,6 +32,6 @@ log-panics = "2"
socketioxide = "0.15"
cln-plugin = { version = "0.4", path = "../../plugins" }
-cln-rpc = { version = "0.4", path = "../../cln-rpc" }
+cln-rpc = { version = "0.5", path = "../../cln-rpc" }
utoipa-swagger-ui = { version = "9.0.0", features = ["vendored", "axum"] }
diff --git a/plugins/wss-proxy-plugin/Cargo.toml b/plugins/wss-proxy-plugin/Cargo.toml
index dd73a0be..3d1e44dc 100644
--- a/plugins/wss-proxy-plugin/Cargo.toml
+++ b/plugins/wss-proxy-plugin/Cargo.toml
@@ -24,5 +24,5 @@ tokio-rustls = { version = "0.26", default-features = false, features = ["ring",
log-panics = "2"
cln-plugin = { version = "0.4", path = "../../plugins" }
-cln-rpc = { version = "0.4", path = "../../cln-rpc" }
+cln-rpc = { version = "0.5", path = "../../cln-rpc" }
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.