From c952b2acf21e2dcd8c440b1b060718ef964644c1 Mon Sep 17 00:00:00 2001 From: DanGould Date: Thu, 27 Jun 2024 13:58:29 -0400 Subject: [PATCH 1/2] Bump payjoin version to 0.18.0 --- Cargo.lock | 4 ++-- payjoin-cli/Cargo.toml | 2 +- payjoin/CHANGELOG.md | 18 ++++++++++++++++++ payjoin/Cargo.toml | 2 +- 4 files changed, 22 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index edc4a828..7ea5296e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1177,7 +1177,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2 0.4.10", + "socket2 0.5.7", "tokio", "tower-service", "tracing", @@ -1681,7 +1681,7 @@ checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd" [[package]] name = "payjoin" -version = "0.17.0" +version = "0.18.0" dependencies = [ "bhttp", "bip21", diff --git a/payjoin-cli/Cargo.toml b/payjoin-cli/Cargo.toml index 3d500d84..65e4daa0 100644 --- a/payjoin-cli/Cargo.toml +++ b/payjoin-cli/Cargo.toml @@ -33,7 +33,7 @@ env_logger = "0.9.0" hyper = { version = "0.14", features = ["full"] } hyper-rustls = { version = "0.25", optional = true } log = "0.4.7" -payjoin = { version = "0.17.0", features = ["send", "receive", "base64"] } +payjoin = { version = "0.18.0", features = ["send", "receive", "base64"] } rcgen = { version = "0.11.1", optional = true } reqwest = { version = "0.12", default-features = false } rustls = { version = "0.22.2", optional = true } diff --git a/payjoin/CHANGELOG.md b/payjoin/CHANGELOG.md index 334b03da..1a0763aa 100644 --- a/payjoin/CHANGELOG.md +++ b/payjoin/CHANGELOG.md @@ -1,5 +1,23 @@ # Payjoin Changelog +## 0.18.0 + +- Handle OHTTP encapsulated response status ([#284](https://github.com/payjoin/rust-payjoin/pull/284)) +- Upgrade `receive::v2` Typestate machine to resume multiple payjoins simultaneously ([#283](https://github.com/payjoin/rust-payjoin/pull/283)) + - `Enroller` became `SessionInitializer` + - `Enrolled` became `ActiveSession` + - `fallback_target()` became `pj_url()` + - `pj_url_builder()` was introduced + - `ContextV2` became `SessionContext` + - Include a bitcoin address in `SessionContext` + - Document it all ([#308](https://github.com/payjoin/rust-payjoin/pull/308)) +- `send::ResponseError` variants fields got explicit names ([#304](https://github.com/payjoin/rust-payjoin/pull/304)) +- Refactor output substitution with new fallable `try_substitute_outputs` ([#277](https://github.com/payjoin/rust-payjoin/pull/277)) + +### Contributors: + +@DanGould, @grizznaut, @jbesraa, @thebrandonlucas + ## 0.17.0 - Prepare Payjoin PSBT with no output keypaths ([#270](https://github.com/payjoin/rust-payjoin/pull/270)) diff --git a/payjoin/Cargo.toml b/payjoin/Cargo.toml index ac473000..95430b17 100644 --- a/payjoin/Cargo.toml +++ b/payjoin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "payjoin" -version = "0.17.0" +version = "0.18.0" authors = ["Dan Gould "] description = "Payjoin Library for the BIP78 Pay to Endpoint protocol." repository = "https://github.com/payjoin/rust-payjoin" From b63b0ff9285e29b629465bb640932b0b07c7ff04 Mon Sep 17 00:00:00 2001 From: DanGould Date: Thu, 27 Jun 2024 14:00:26 -0400 Subject: [PATCH 2/2] Bump payjoin-cli version to 0.0.7-alpha --- Cargo.lock | 2 +- payjoin-cli/CHANGELOG.md | 14 ++++++++++++++ payjoin-cli/Cargo.toml | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7ea5296e..49963c69 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1709,7 +1709,7 @@ dependencies = [ [[package]] name = "payjoin-cli" -version = "0.0.6-alpha" +version = "0.0.7-alpha" dependencies = [ "anyhow", "async-trait", diff --git a/payjoin-cli/CHANGELOG.md b/payjoin-cli/CHANGELOG.md index 4c3138c3..d170a326 100644 --- a/payjoin-cli/CHANGELOG.md +++ b/payjoin-cli/CHANGELOG.md @@ -1,5 +1,19 @@ # payjoin-cli Changelog +## 0.0.7-alpha + +- Resume multiple payjoins easily with the `resume` subcommand. A repeat `send` + subcommand will also resume an existing session ([#283](https://github.com/payjoin/rust-payjoin/pull/283)) +- Normalize dash-separated long args ([#295](https://github.com/payjoin/rust-payjoin/pull/295)) +- Use sled database. Old .json storage files will no longer be read and should be deleted. +- read Network::from_core_arg ([#304](https://github.com/payjoin/rust-payjoin/pull/304)) +- Don't needlessly substitute outputs for v2 receivers ([#277](https://github.com/payjoin/rust-payjoin/pull/277)) +- Print instructions and info on interrupt ([#303](https://github.com/payjoin/rust-payjoin/pull/303)) + +### Contributors: + +@DanGould, @grizznaut, @thebrandonlucas + ## 0.0.6-alpha - fetch ohttp keys from `payjoin/io` feature diff --git a/payjoin-cli/Cargo.toml b/payjoin-cli/Cargo.toml index 65e4daa0..25037286 100644 --- a/payjoin-cli/Cargo.toml +++ b/payjoin-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "payjoin-cli" -version = "0.0.6-alpha" +version = "0.0.7-alpha" authors = ["Dan Gould "] description = "A command-line Payjoin client for Bitcoin Core" repository = "https://github.com/payjoin/rust-payjoin"