Skip to content

Commit 6a2e398

Browse files
committed
fix(dependencies): change payjoin version specifier 1.0.0-rc.1 to =1.0.0-rc.1
Cargo's version resolution always updates to the latest patch version. If that patch introduces breaking changes, it breaks your application. This happened after Payjoin released version 1.0.0-rc.2. Because the version specified for bdk-cli was 1.0.0-rc.1, a fresh install automatically updated to the newer patch. To resolve this without migrating to the latest Payjoin API, and to prevent future breakages from subsequent 1.0.0-rc.x releases, this commit pins the Payjoin version strictly to =1.0.0-rc.1.
1 parent 15b6f5b commit 6a2e398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ bdk_esplora = { version = "0.22.1", features = ["async-https", "tokio"], optiona
3333
bdk_kyoto = { version = "0.15.1", optional = true }
3434
bdk_redb = { version = "0.1.0", optional = true }
3535
shlex = { version = "1.3.0", optional = true }
36-
payjoin = { version = "1.0.0-rc.1", features = ["v1", "v2", "io", "_test-utils"], optional = true}
36+
payjoin = { version = "=1.0.0-rc.1", features = ["v1", "v2", "io", "_test-utils"], optional = true}
3737
reqwest = { version = "0.12.23", default-features = false, optional = true }
3838
url = { version = "2.5.4", optional = true }
3939

0 commit comments

Comments
 (0)