Skip to content

Enforce use of 1.0.0-rc.1 payjoin version#252

Open
nymius wants to merge 1 commit intobitcoindevkit:masterfrom
nymius:fix/payjoin-rc-version
Open

Enforce use of 1.0.0-rc.1 payjoin version#252
nymius wants to merge 1 commit intobitcoindevkit:masterfrom
nymius:fix/payjoin-rc-version

Conversation

@nymius
Copy link

@nymius nymius commented Mar 17, 2026

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

fix: enforce `1.0.0-rc.1` payjoin version and avoid automatic patch updates

…=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.
@codecov
Copy link

codecov bot commented Mar 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 10.86%. Comparing base (a675935) to head (6a2e398).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #252   +/-   ##
=======================================
  Coverage   10.86%   10.86%           
=======================================
  Files           8        8           
  Lines        2466     2466           
=======================================
  Hits          268      268           
  Misses       2198     2198           
Flag Coverage Δ
rust 10.86% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tvpeter tvpeter added the chore Non-coding related work label Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Non-coding related work

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants