Skip to content

Commit 784b85c

Browse files
committed
Correct crate version numbers that have broken semver
The semver CI check is great but only checks the immediate crate in question. It doesn't catch that many of our crates depend on `lightning` and thus have actually broken semver as the types they use have changed to `lightning` 0.3. Here we hump the version of crates that have actually changed semver since 0.2. In addition to those that depend on `lightning`, `lightning-invoice`'s API has changed (but was not being checked by the semver CI task). Finally, `lightning-macros` was updated to 0.2.1, so the version is changed to 0.2.2.
1 parent 57ff0c7 commit 784b85c

10 files changed

Lines changed: 15 additions & 15 deletions

File tree

lightning-background-processor/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-background-processor"
3-
version = "0.2.0+git"
3+
version = "0.3.0+git"
44
authors = ["Valentine Wallace <vwallace@protonmail.com>"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"
@@ -25,16 +25,16 @@ bitcoin = { version = "0.32.2", default-features = false }
2525
bitcoin_hashes = { version = "0.14.0", default-features = false }
2626
bitcoin-io = { version = "0.1.2", default-features = false }
2727
lightning = { version = "0.3.0", path = "../lightning", default-features = false }
28-
lightning-rapid-gossip-sync = { version = "0.2.0", path = "../lightning-rapid-gossip-sync", default-features = false }
28+
lightning-rapid-gossip-sync = { version = "0.3.0", path = "../lightning-rapid-gossip-sync", default-features = false }
2929
lightning-liquidity = { version = "0.3.0", path = "../lightning-liquidity", default-features = false }
3030
possiblyrandom = { version = "0.2", path = "../possiblyrandom", default-features = false }
3131

3232
[dev-dependencies]
3333
tokio = { version = "1.35", features = [ "macros", "rt", "rt-multi-thread", "sync", "time" ] }
3434
lightning = { version = "0.3.0", path = "../lightning", features = ["_test_utils"] }
35-
lightning-invoice = { version = "0.34.0", path = "../lightning-invoice" }
35+
lightning-invoice = { version = "0.35.0", path = "../lightning-invoice" }
3636
lightning-liquidity = { version = "0.3.0", path = "../lightning-liquidity", default-features = false, features = ["_test_utils"] }
37-
lightning-persister = { version = "0.2.0", path = "../lightning-persister" }
37+
lightning-persister = { version = "0.3.0", path = "../lightning-persister" }
3838

3939
[lints]
4040
workspace = true

lightning-custom-message/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-custom-message"
3-
version = "0.2.0+git"
3+
version = "0.3.0+git"
44
authors = ["Jeffrey Czyz"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"

lightning-invoice/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "lightning-invoice"
33
description = "Data structures to parse and serialize BOLT11 lightning invoices"
4-
version = "0.34.0+git"
4+
version = "0.35.0+git"
55
authors = ["Sebastian Geisler <sgeisler@wh2.tu-dresden.de>"]
66
documentation = "https://docs.rs/lightning-invoice/"
77
license = "MIT OR Apache-2.0"

lightning-liquidity/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ _test_utils = []
2424
[dependencies]
2525
lightning = { version = "0.3.0", path = "../lightning", default-features = false }
2626
lightning-types = { version = "0.3.0", path = "../lightning-types", default-features = false }
27-
lightning-invoice = { version = "0.34.0", path = "../lightning-invoice", default-features = false, features = ["serde"] }
27+
lightning-invoice = { version = "0.35.0", path = "../lightning-invoice", default-features = false, features = ["serde"] }
2828
lightning-macros = { version = "0.2", path = "../lightning-macros" }
2929

3030
bitcoin = { version = "0.32.2", default-features = false, features = ["serde"] }
@@ -36,8 +36,8 @@ backtrace = { version = "0.3", optional = true }
3636

3737
[dev-dependencies]
3838
lightning = { version = "0.3.0", path = "../lightning", default-features = false, features = ["_test_utils"] }
39-
lightning-invoice = { version = "0.34.0", path = "../lightning-invoice", default-features = false, features = ["serde", "std"] }
40-
lightning-persister = { version = "0.2.0", path = "../lightning-persister", default-features = false }
39+
lightning-invoice = { version = "0.35.0", path = "../lightning-invoice", default-features = false, features = ["serde", "std"] }
40+
lightning-persister = { version = "0.3.0", path = "../lightning-persister", default-features = false }
4141

4242
proptest = "1.0.0"
4343
tokio = { version = "1.35", default-features = false, features = [ "rt-multi-thread", "time", "sync", "macros" ] }

lightning-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-macros"
3-
version = "0.2.0+git"
3+
version = "0.2.2+git"
44
authors = ["Elias Rohrer"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning/"

lightning-net-tokio/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-net-tokio"
3-
version = "0.2.0+git"
3+
version = "0.3.0+git"
44
authors = ["Matt Corallo"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning/"

lightning-persister/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-persister"
3-
version = "0.2.0+git"
3+
version = "0.3.0+git"
44
authors = ["Valentine Wallace", "Matt Corallo"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"

lightning-rapid-gossip-sync/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-rapid-gossip-sync"
3-
version = "0.2.0+git"
3+
version = "0.3.0+git"
44
authors = ["Arik Sosman <git@arik.io>"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"

lightning-transaction-sync/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lightning-transaction-sync"
3-
version = "0.2.0+git"
3+
version = "0.3.0+git"
44
authors = ["Elias Rohrer"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/lightningdevkit/rust-lightning"

lightning/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ default = ["std", "grind_signatures"]
3535

3636
[dependencies]
3737
lightning-types = { version = "0.3.0", path = "../lightning-types", default-features = false }
38-
lightning-invoice = { version = "0.34.0", path = "../lightning-invoice", default-features = false }
38+
lightning-invoice = { version = "0.35.0", path = "../lightning-invoice", default-features = false }
3939
lightning-macros = { version = "0.2", path = "../lightning-macros" }
4040

4141
bech32 = { version = "0.11.0", default-features = false }

0 commit comments

Comments
 (0)