Skip to content

Commit 61f850b

Browse files
committed
Merge #252: Enforce use of 1.0.0-rc.1 payjoin version
6a2e398 fix(dependencies): change payjoin version specifier `1.0.0-rc.1` to `=1.0.0-rc.1` (nymius) Pull request description: **Description** 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. This happened before in another project: rust-bitcoin/rust-bitcoin#5358 **Changelog notice** ```text fix: enforce `1.0.0-rc.1` payjoin version and avoid automatic patch updates ``` ACKs for top commit: tvpeter: ACK 6a2e398 Tree-SHA512: b225cd052ab832a6ae2baa137679ba6a39412b94af33719306fd587be35cb73490b7467bf8b054aa046e046bce4888e8bd30614342c9bcd29b7044889dc9a265
2 parents 864f1cc + 6a2e398 commit 61f850b

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)