Skip to content

Commit b750f44

Browse files
committed
Bump payjoin version to 1.0.0-rc.4
Prepare the payjoin-1.0.0-rc.4 release. Bump the crate version and the internal dependency references, update both lock files to match, and record the library changes since rc.3 in the changelog.
1 parent 0f36b46 commit b750f44

8 files changed

Lines changed: 45 additions & 7 deletions

File tree

Cargo-minimal.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2754,7 +2754,7 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3"
27542754

27552755
[[package]]
27562756
name = "payjoin"
2757-
version = "1.0.0-rc.3"
2757+
version = "1.0.0-rc.4"
27582758
dependencies = [
27592759
"bhttp",
27602760
"bitcoin 0.32.9",

Cargo-recent.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2879,7 +2879,7 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3"
28792879

28802880
[[package]]
28812881
name = "payjoin"
2882-
version = "1.0.0-rc.3"
2882+
version = "1.0.0-rc.4"
28832883
dependencies = [
28842884
"bhttp",
28852885
"bitcoin 0.32.101",

payjoin-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ dirs = "6.0.0"
3535
http-body-util = { version = "0.1.3", optional = true }
3636
hyper = { version = "1.8.0", features = ["http1", "server"], optional = true }
3737
hyper-util = { version = "0.1.18", optional = true }
38-
payjoin = { version = "1.0.0-rc.3", default-features = false }
38+
payjoin = { version = "1.0.0-rc.4", default-features = false }
3939
pest_derive = "2.7.0"
4040
r2d2 = "0.8.10"
4141
r2d2_sqlite = "0.22.0"

payjoin-ffi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ getrandom = "0.2.10"
2727
icu_locale_core = "=2.0.1"
2828
icu_provider = "=2.0.0"
2929
lazy_static = "1.5.0"
30-
payjoin = { version = "1.0.0-rc.3", features = ["v1", "v2"] }
30+
payjoin = { version = "1.0.0-rc.4", features = ["v1", "v2"] }
3131
payjoin-test-utils = { version = "0.0.1", optional = true }
3232
serde = { version = "1.0.228", features = ["derive"] }
3333
serde_json = "1.0.149"

payjoin-mailroom/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ opentelemetry-otlp = { version = "0.31", optional = true, features = [
6161
"reqwest-rustls",
6262
] }
6363
opentelemetry_sdk = "0.31"
64-
payjoin = { version = "1.0.0-rc.3", features = [
64+
payjoin = { version = "1.0.0-rc.4", features = [
6565
"directory",
6666
], default-features = false }
6767
rand = "0.8"

payjoin-test-utils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ futures = { version = "0.3.21", default-features = false, features = ["std"] }
3232
http = { version = "1.3.1", optional = true }
3333
ohttp = { package = "bitcoin-ohttp", version = "0.6.0", optional = true }
3434
once_cell = "1.21.3"
35-
payjoin = { version = "1.0.0-rc.3", default-features = false }
35+
payjoin = { version = "1.0.0-rc.4", default-features = false }
3636
payjoin-mailroom = { version = "0.1.1", features = ["_manual-tls"] }
3737
tar = "0.4.20"
3838
# Pin to 0.14.7 (last version to support our MSRV 1.85)

payjoin/CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
# Payjoin Changelog
22

3+
## 1.0.0-rc.4
4+
5+
This release locks down the public API ahead of the 1.0 freeze. It insulates the bitcoin-ohttp and bitcoin-hpke types from the public interface, marks public enums non_exhaustive and persistence transition types must_use, exposes transient versus fatal classification on PersistedError, corrects the create_error_request return type, renames the Receiver<Monitor> check methods, and removes utxos_to_be_locked. It also hardens the receiver against panic paths and fixes bugs in output substitution change handling, session replay, and coin selection.
6+
7+
Selected Improvements:
8+
9+
### API Stabilization
10+
11+
- Insulate `bitcoin-ohttp` and `bitcoin-hpke` from the public API (#1702)
12+
- Apply 1.0 freeze-required API fixes: `#[non_exhaustive]` enums, `ShortIdError`, `OutputSubstitution` export, and `#[must_use]` transition types (#1703)
13+
- Expose transient versus fatal classification on `PersistedError` and return current state in transient errors (#1724)
14+
- Correct `create_error_request` return type (#1715)
15+
- Rename `Receiver<Monitor>` check methods (`check_for_broadcast` to `check_for_transaction`) (#1661, #1684)
16+
- Remove `utxos_to_be_locked` (#1719)
17+
- Add `InputPair::outpoint()` accessor (#1654)
18+
19+
### Bug Fixes and Hardening
20+
21+
- Prevent receiver panic paths (#1704)
22+
- Fix output substitution change misdirect (#1685)
23+
- Fix session replay reporting closed sessions as expired (#1672)
24+
- Fix `try_preserving_privacy` returning `Empty` when candidates exist (#1629)
25+
- Assert bech32 encoding is uppercase (#1666)
26+
27+
### Dependencies
28+
29+
- Update to bitcoind async client 0.14 (#1646)
30+
- Downgrade transitive dependencies to match minimal direct dependencies (#1640)
31+
32+
### Testing and Documentation
33+
34+
- Add tests to catch mutants (#1622)
35+
- Add spec-related consts for readability in tests (#1699)
36+
- Employ new `fallback_tx` method (#1625)
37+
- Fix `check_payment` docstring (#1626)
38+
- Fix commented test assert (#1624)
39+
- Attach `--no-run` to feature-gated test runs to ensure compilation (#1621)
40+
341
## 1.0.0-rc.3
442

543
This release introduces sender and receiver cancel() APIs, fallback typestates for both sender and receiver, merges Cancel/Failure error variants and carves out dedicated errors (CoinSelectionError, DecapsulationError, dedicated create-request error), promotes InMemoryTestPersister to InMemoryPersister while removing NoopSessionPersister, replaces the url crate dependency with an internal Url type, adds is_expired and ErrorCode/WellKnownError::code to the error hierarchy, and removes sender sigs from receiver psbt_to_sign.

payjoin/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "payjoin"
3-
version = "1.0.0-rc.3"
3+
version = "1.0.0-rc.4"
44
authors = ["Dan Gould <d@ngould.dev>"]
55
description = "Payjoin Library implementing BIP 78 and BIP 77 batching protocols."
66
repository = "https://github.com/payjoin/rust-payjoin"

0 commit comments

Comments
 (0)