Skip to content

Commit f43803d

Browse files
authored
Merge pull request #4375 from TheBlueMatt/2026-02-version-bumps-as-required
Correct crate versions and make CI semver test run on all crates (esp `lightning-invoice`)
2 parents 817ab5e + a123cfa commit f43803d

11 files changed

Lines changed: 25 additions & 52 deletions

File tree

.github/workflows/semver.yml

Lines changed: 10 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -13,40 +13,13 @@ jobs:
1313
steps:
1414
- name: Checkout source code
1515
uses: actions/checkout@v4
16-
- name: Check SemVer with default features
17-
uses: obi1kenobi/cargo-semver-checks-action@v2
18-
with:
19-
feature-group: default-features
20-
- name: Check SemVer *without* default features
21-
uses: obi1kenobi/cargo-semver-checks-action@v2
22-
with:
23-
feature-group: only-explicit-features
24-
- name: Check lightning-background-processor SemVer
25-
uses: obi1kenobi/cargo-semver-checks-action@v2
26-
with:
27-
package: lightning-background-processor
28-
feature-group: only-explicit-features
29-
- name: Check lightning-block-sync SemVer
30-
uses: obi1kenobi/cargo-semver-checks-action@v2
31-
with:
32-
package: lightning-block-sync
33-
feature-group: only-explicit-features
34-
features: rpc-client,rest-client
35-
- name: Check lightning-transaction-sync electrum SemVer
36-
uses: obi1kenobi/cargo-semver-checks-action@v2
37-
with:
38-
manifest-path: lightning-transaction-sync/Cargo.toml
39-
feature-group: only-explicit-features
40-
features: electrum
41-
- name: Check lightning-transaction-sync esplora-blocking SemVer
42-
uses: obi1kenobi/cargo-semver-checks-action@v2
43-
with:
44-
manifest-path: lightning-transaction-sync/Cargo.toml
45-
feature-group: only-explicit-features
46-
features: esplora-blocking
47-
- name: Check lightning-transaction-sync esplora-async SemVer
48-
uses: obi1kenobi/cargo-semver-checks-action@v2
49-
with:
50-
manifest-path: lightning-transaction-sync/Cargo.toml
51-
feature-group: only-explicit-features
52-
features: esplora-async
16+
- name: Install Rust stable toolchain
17+
run: |
18+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain stable
19+
rustup override set stable
20+
- name: Install SemVer Checker
21+
run: cargo install cargo-semver-checks --locked
22+
- name: Check SemVer with all features
23+
run: cargo semver-checks
24+
- name: Check SemVer without any non-default features
25+
run: cargo semver-checks --only-explicit-features

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"

0 commit comments

Comments
 (0)