Correct crate version numbers that have broken semver
What changed, and why it matters
This commit only changes version numbers in package configuration files (Cargo.toml). It bumps crate versions from 0.2.x to 0.3.x to keep them aligned with semantic versioning rules after the underlying `lightning` crate changed its public types. There is no code change, no bug fix, and no security patch.
No security action required. Treat as a normal release-engineering/versioning change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff updates version fields and dependency version requirements across ten Cargo.toml files in the rust-lightning workspace. The stated purpose is to correct broken semver declarations: downstream crates expose lightning 0.3 types in their APIs, so they must be versioned 0.3.x themselves. lightning-invoice is bumped to 0.35.0 because its own API changed, and lightning-macros moves to 0.2.2 to follow a prior 0.2.1 release. No Rust source code, build logic, or cryptographic behavior is modified.
Changed components
Cargo.toml version metadata for: lightning-background-processor, lightning-custom-message, lightning-invoice, lightning-liquidity, lightning-macros, lightning-net-tokio, lightning-persister, lightning-rapid-gossip-sync, lightning-transaction-sync, lightningInspect captured patch +15 / −15
diff --git a/lightning-background-processor/Cargo.toml b/lightning-background-processor/Cargo.toml
index 7fe68bc..e958919 100644
--- a/lightning-background-processor/Cargo.toml
+++ b/lightning-background-processor/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "lightning-background-processor"
-version = "0.2.0+git"
+version = "0.3.0+git"
authors = ["Valentine Wallace <vwallace@protonmail.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lightningdevkit/rust-lightning"
@@ -25,16 +25,16 @@ bitcoin = { version = "0.32.2", default-features = false }
bitcoin_hashes = { version = "0.14.0", default-features = false }
bitcoin-io = { version = "0.1.2", default-features = false }
lightning = { version = "0.3.0", path = "../lightning", default-features = false }
-lightning-rapid-gossip-sync = { version = "0.2.0", path = "../lightning-rapid-gossip-sync", default-features = false }
+lightning-rapid-gossip-sync = { version = "0.3.0", path = "../lightning-rapid-gossip-sync", default-features = false }
lightning-liquidity = { version = "0.3.0", path = "../lightning-liquidity", default-features = false }
possiblyrandom = { version = "0.2", path = "../possiblyrandom", default-features = false }
[dev-dependencies]
tokio = { version = "1.35", features = [ "macros", "rt", "rt-multi-thread", "sync", "time" ] }
lightning = { version = "0.3.0", path = "../lightning", features = ["_test_utils"] }
-lightning-invoice = { version = "0.34.0", path = "../lightning-invoice" }
+lightning-invoice = { version = "0.35.0", path = "../lightning-invoice" }
lightning-liquidity = { version = "0.3.0", path = "../lightning-liquidity", default-features = false, features = ["_test_utils"] }
-lightning-persister = { version = "0.2.0", path = "../lightning-persister" }
+lightning-persister = { version = "0.3.0", path = "../lightning-persister" }
[lints]
workspace = true
diff --git a/lightning-custom-message/Cargo.toml b/lightning-custom-message/Cargo.toml
index ba13aef..854127f 100644
--- a/lightning-custom-message/Cargo.toml
+++ b/lightning-custom-message/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "lightning-custom-message"
-version = "0.2.0+git"
+version = "0.3.0+git"
authors = ["Jeffrey Czyz"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lightningdevkit/rust-lightning"
diff --git a/lightning-invoice/Cargo.toml b/lightning-invoice/Cargo.toml
index f92d8b9..deee8ff 100644
--- a/lightning-invoice/Cargo.toml
+++ b/lightning-invoice/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "lightning-invoice"
description = "Data structures to parse and serialize BOLT11 lightning invoices"
-version = "0.34.0+git"
+version = "0.35.0+git"
authors = ["Sebastian Geisler <sgeisler@wh2.tu-dresden.de>"]
documentation = "https://docs.rs/lightning-invoice/"
license = "MIT OR Apache-2.0"
diff --git a/lightning-liquidity/Cargo.toml b/lightning-liquidity/Cargo.toml
index 67e82a5..d83d66f 100644
--- a/lightning-liquidity/Cargo.toml
+++ b/lightning-liquidity/Cargo.toml
@@ -24,7 +24,7 @@ _test_utils = []
[dependencies]
lightning = { version = "0.3.0", path = "../lightning", default-features = false }
lightning-types = { version = "0.3.0", path = "../lightning-types", default-features = false }
-lightning-invoice = { version = "0.34.0", path = "../lightning-invoice", default-features = false, features = ["serde"] }
+lightning-invoice = { version = "0.35.0", path = "../lightning-invoice", default-features = false, features = ["serde"] }
lightning-macros = { version = "0.2", path = "../lightning-macros" }
bitcoin = { version = "0.32.2", default-features = false, features = ["serde"] }
@@ -36,8 +36,8 @@ backtrace = { version = "0.3", optional = true }
[dev-dependencies]
lightning = { version = "0.3.0", path = "../lightning", default-features = false, features = ["_test_utils"] }
-lightning-invoice = { version = "0.34.0", path = "../lightning-invoice", default-features = false, features = ["serde", "std"] }
-lightning-persister = { version = "0.2.0", path = "../lightning-persister", default-features = false }
+lightning-invoice = { version = "0.35.0", path = "../lightning-invoice", default-features = false, features = ["serde", "std"] }
+lightning-persister = { version = "0.3.0", path = "../lightning-persister", default-features = false }
proptest = "1.0.0"
tokio = { version = "1.35", default-features = false, features = [ "rt-multi-thread", "time", "sync", "macros" ] }
diff --git a/lightning-macros/Cargo.toml b/lightning-macros/Cargo.toml
index 8a20670..822b508 100644
--- a/lightning-macros/Cargo.toml
+++ b/lightning-macros/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "lightning-macros"
-version = "0.2.0+git"
+version = "0.2.2+git"
authors = ["Elias Rohrer"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lightningdevkit/rust-lightning/"
diff --git a/lightning-net-tokio/Cargo.toml b/lightning-net-tokio/Cargo.toml
index af4845b..79b227f 100644
--- a/lightning-net-tokio/Cargo.toml
+++ b/lightning-net-tokio/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "lightning-net-tokio"
-version = "0.2.0+git"
+version = "0.3.0+git"
authors = ["Matt Corallo"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lightningdevkit/rust-lightning/"
diff --git a/lightning-persister/Cargo.toml b/lightning-persister/Cargo.toml
index e06803c..19c5ac2 100644
--- a/lightning-persister/Cargo.toml
+++ b/lightning-persister/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "lightning-persister"
-version = "0.2.0+git"
+version = "0.3.0+git"
authors = ["Valentine Wallace", "Matt Corallo"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lightningdevkit/rust-lightning"
diff --git a/lightning-rapid-gossip-sync/Cargo.toml b/lightning-rapid-gossip-sync/Cargo.toml
index b2cc623..b623a5a 100644
--- a/lightning-rapid-gossip-sync/Cargo.toml
+++ b/lightning-rapid-gossip-sync/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "lightning-rapid-gossip-sync"
-version = "0.2.0+git"
+version = "0.3.0+git"
authors = ["Arik Sosman <git@arik.io>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lightningdevkit/rust-lightning"
diff --git a/lightning-transaction-sync/Cargo.toml b/lightning-transaction-sync/Cargo.toml
index 1a5a562..4bc37d7 100644
--- a/lightning-transaction-sync/Cargo.toml
+++ b/lightning-transaction-sync/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "lightning-transaction-sync"
-version = "0.2.0+git"
+version = "0.3.0+git"
authors = ["Elias Rohrer"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lightningdevkit/rust-lightning"
diff --git a/lightning/Cargo.toml b/lightning/Cargo.toml
index b3b5970..dbcf9f1 100644
--- a/lightning/Cargo.toml
+++ b/lightning/Cargo.toml
@@ -35,7 +35,7 @@ default = ["std", "grind_signatures"]
[dependencies]
lightning-types = { version = "0.3.0", path = "../lightning-types", default-features = false }
-lightning-invoice = { version = "0.34.0", path = "../lightning-invoice", default-features = false }
+lightning-invoice = { version = "0.35.0", path = "../lightning-invoice", default-features = false }
lightning-macros = { version = "0.2", path = "../lightning-macros" }
bech32 = { version = "0.11.0", default-features = false }
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.