Skip to content

Commit

Permalink
Bump payjoin version to 0.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DanGould committed Nov 27, 2024
1 parent 0148630 commit 858f76a
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo-minimal.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1577,7 +1577,7 @@ checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd"

[[package]]
name = "payjoin"
version = "0.20.0"
version = "0.21.0"
dependencies = [
"bhttp",
"bip21",
Expand Down
2 changes: 1 addition & 1 deletion Cargo-recent.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1577,7 +1577,7 @@ checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd"

[[package]]
name = "payjoin"
version = "0.20.0"
version = "0.21.0"
dependencies = [
"bhttp",
"bip21",
Expand Down
2 changes: 1 addition & 1 deletion payjoin-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.21.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 }
Expand Down
17 changes: 17 additions & 0 deletions payjoin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion payjoin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "payjoin"
version = "0.20.0"
version = "0.21.0"
authors = ["Dan Gould <[email protected]>"]
description = "Payjoin Library for the BIP78 Pay to Endpoint protocol."
repository = "https://github.com/payjoin/rust-payjoin"
Expand Down

0 comments on commit 858f76a

Please sign in to comment.