From bf01a0e0c60dc9823c89e4dd5f3eea6cc2d73a4e Mon Sep 17 00:00:00 2001 From: spacebear Date: Mon, 3 Aug 2026 13:54:41 -0400 Subject: [PATCH] Bump payjoin to version 1.0.0-rc.7 --- Cargo-minimal.lock | 2 +- Cargo-recent.lock | 2 +- payjoin-cli/Cargo.toml | 2 +- payjoin-ffi/Cargo.toml | 2 +- payjoin-mailroom/Cargo.toml | 2 +- payjoin-test-utils/Cargo.toml | 2 +- payjoin/CHANGELOG.md | 29 +++++++++++++++++++++++++++++ payjoin/Cargo.toml | 2 +- 8 files changed, 36 insertions(+), 7 deletions(-) diff --git a/Cargo-minimal.lock b/Cargo-minimal.lock index 03094d0a9..249572928 100644 --- a/Cargo-minimal.lock +++ b/Cargo-minimal.lock @@ -2567,7 +2567,7 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3" [[package]] name = "payjoin" -version = "1.0.0-rc.6" +version = "1.0.0-rc.7" dependencies = [ "bhttp", "bitcoin", diff --git a/Cargo-recent.lock b/Cargo-recent.lock index 9d6a967b2..d9d33d533 100644 --- a/Cargo-recent.lock +++ b/Cargo-recent.lock @@ -2698,7 +2698,7 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3" [[package]] name = "payjoin" -version = "1.0.0-rc.6" +version = "1.0.0-rc.7" dependencies = [ "bhttp", "bitcoin", diff --git a/payjoin-cli/Cargo.toml b/payjoin-cli/Cargo.toml index 52a102982..cd481596d 100644 --- a/payjoin-cli/Cargo.toml +++ b/payjoin-cli/Cargo.toml @@ -35,7 +35,7 @@ dirs = "6.0.0" http-body-util = { version = "0.1.3", optional = true } hyper = { version = "1.8.0", features = ["http1", "server"], optional = true } hyper-util = { version = "0.1.18", optional = true } -payjoin = { version = "1.0.0-rc.6", default-features = false } +payjoin = { version = "1.0.0-rc.7", default-features = false } pest_derive = "2.7.0" r2d2 = "0.8.10" r2d2_sqlite = "0.22.0" diff --git a/payjoin-ffi/Cargo.toml b/payjoin-ffi/Cargo.toml index 86c88113d..9bffe9323 100644 --- a/payjoin-ffi/Cargo.toml +++ b/payjoin-ffi/Cargo.toml @@ -27,7 +27,7 @@ getrandom = "0.2.10" icu_locale_core = "=2.0.1" icu_provider = "=2.0.0" lazy_static = "1.5.0" -payjoin = { version = "1.0.0-rc.6", features = ["v1", "v2"] } +payjoin = { version = "1.0.0-rc.7", features = ["v1", "v2"] } payjoin-test-utils = { version = "0.0.1", optional = true } serde = { version = "1.0.228", features = ["derive"] } serde_json = "1.0.149" diff --git a/payjoin-mailroom/Cargo.toml b/payjoin-mailroom/Cargo.toml index a8b5dff0c..74d2a1e33 100644 --- a/payjoin-mailroom/Cargo.toml +++ b/payjoin-mailroom/Cargo.toml @@ -67,7 +67,7 @@ opentelemetry-otlp = { version = "0.32", optional = true, default-features = fal "http-proto", ] } opentelemetry_sdk = "0.32" -payjoin = { version = "1.0.0-rc.6", features = [ +payjoin = { version = "1.0.0-rc.7", features = [ "directory", ], default-features = false } rand = "0.8" diff --git a/payjoin-test-utils/Cargo.toml b/payjoin-test-utils/Cargo.toml index dd9b42b2b..43615d8b1 100644 --- a/payjoin-test-utils/Cargo.toml +++ b/payjoin-test-utils/Cargo.toml @@ -32,7 +32,7 @@ futures = { version = "0.3.21", default-features = false, features = ["std"] } http = { version = "1.3.1", optional = true } ohttp = { package = "bitcoin-ohttp", version = "0.6.0", optional = true } once_cell = "1.21.3" -payjoin = { version = "1.0.0-rc.6", default-features = false } +payjoin = { version = "1.0.0-rc.7", default-features = false } payjoin-mailroom = { version = "0.1.2", features = ["_manual-tls"] } tar = "0.4.20" # Pin to 0.14.7 (last version to support our MSRV 1.85) diff --git a/payjoin/CHANGELOG.md b/payjoin/CHANGELOG.md index 4aff4bce8..83427d4f6 100644 --- a/payjoin/CHANGELOG.md +++ b/payjoin/CHANGELOG.md @@ -1,5 +1,34 @@ # Payjoin Changelog +## 1.0.0-rc.7 + +This release changes how the receiver's ownership guard identifies a coin, so +`check_inputs_not_owned` now takes a closure over `&OutPoint` rather than +`&Script`. This is a breaking change for receiver implementations. It also +hardens Original PSBT validation, unifies the BIP 77 mailbox derivation, and +expands the receiver interface documentation. + +Selected Improvements: + +### API Changes + +- **Breaking:** `check_inputs_not_owned` takes + `&mut impl FnMut(&OutPoint) -> Result` in place of + a closure over `&Script`. The closure must answer for every outpoint the + wallet can sign +- `ShortId` implements `From<&HpkePublicKey>`, giving sender and receiver a + single BIP 77 mailbox derivation instead of two copies of the same hash + (#1763) + +### Bug Fixes + +- Harden Original PSBT input validation and the proposal finalization checks + +### Documentation + +- Revise and expand the receiver interface documentation across the v1 and v2 + state machines (#1710) + ## 1.0.0-rc.6 This release insulates the `bitcoin_uri` crate from payjoin's public API so diff --git a/payjoin/Cargo.toml b/payjoin/Cargo.toml index 595b07da8..9f8d7dee1 100644 --- a/payjoin/Cargo.toml +++ b/payjoin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "payjoin" -version = "1.0.0-rc.6" +version = "1.0.0-rc.7" authors = ["Dan Gould "] description = "Payjoin Library implementing BIP 78 and BIP 77 batching protocols." repository = "https://github.com/payjoin/rust-payjoin"