From 34d2b4f72c8fd1de41220da763d6c38500e850b2 Mon Sep 17 00:00:00 2001 From: DanGould Date: Wed, 27 Nov 2024 11:42:37 -0500 Subject: [PATCH] Bump payjoin version to 0.21.0 --- payjoin-cli/Cargo.toml | 2 +- payjoin/CHANGELOG.md | 17 +++++++++++++++++ payjoin/Cargo.toml | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/payjoin-cli/Cargo.toml b/payjoin-cli/Cargo.toml index e08562d3..4af32fe6 100644 --- a/payjoin-cli/Cargo.toml +++ b/payjoin-cli/Cargo.toml @@ -38,7 +38,7 @@ hyper = { version = "1", features = ["http1", "server"], optional = true } hyper-rustls = { version = "0.26", optional = true } hyper-util = { version = "0.1", optional = true } log = "0.4.7" -payjoin = { version = "0.20.0", features = ["send", "receive", "base64"] } +payjoin = { version = "0.22.0", features = ["send", "receive", "base64"] } rcgen = { version = "0.11.1", optional = true } reqwest = { version = "0.12", default-features = false } rustls = { version = "0.22.4", optional = true } diff --git a/payjoin/CHANGELOG.md b/payjoin/CHANGELOG.md index df30df16..4e2e829f 100644 --- a/payjoin/CHANGELOG.md +++ b/payjoin/CHANGELOG.md @@ -1,5 +1,22 @@ # Payjoin Changelog +## 0.21.0 + +- Upgrade rustls v0.22.4 +- Depend on [bitcoin-ohttp](https://docs.rs/bitcoin-ohttp/latest/bitcoin_ohttp/) +- Allow receiver to contribute multiple inputs and outputs +- Remove `contribute_witness_inputs` and `contribute_non_witness_inputs` in favor of a single consolidated `contribute_inputs` function +- Make `InputPair` public to facilitate working with inputs in coin selection and input contributions +- Enable receiver fee contributions in `apply_fee`, which now requires a max_feerate parameter +- Fix weight estimations for nested segwit inputs +- Fix mixed input scripts receiver check in Payjoin V1 to only error if the receiver would *introduce* mixed types +- Allow mixed input scripts in Payjoin V2 +- Implement client end-to-end encryption using HPKE using [bitcoin-hpke](https://docs.rs/bitcoin-hpke/latest/bitcoin_hpke/) +- Make session initialization implicit +- Make payloads uniform by removing sender auth key +- Shorten subdirectory IDs to 64 pseudorandom bits +- Upgrade to bitcoin v0.32.4 + ## 0.20.0 - remove `contribute_non_witness_input` because it was unused diff --git a/payjoin/Cargo.toml b/payjoin/Cargo.toml index ff503aa5..d45b8c80 100644 --- a/payjoin/Cargo.toml +++ b/payjoin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "payjoin" -version = "0.20.0" +version = "0.21.0" authors = ["Dan Gould "] description = "Payjoin Library for the BIP78 Pay to Endpoint protocol." repository = "https://github.com/payjoin/rust-payjoin"