Skip to content

Commit bf69456

Browse files
brendanjryangithub-actions[bot]
authored andcommitted
chore: release v0.2.0
1 parent 36b094f commit bf69456

16 files changed

Lines changed: 27 additions & 43 deletions

.changelog/hash-credential-source-validation.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changelog/payment-failed-context-non-exhaustive.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changelog/payment-request-size-cap.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changelog/sponsor-pre-broadcast-simulation.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changelog/tempo-client-chain-pinning.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changelog/tempo-proof-shape.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changelog/tip1034-session-client.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

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

3+
## 0.11.0 (2026-07-07)
4+
5+
### Minor Changes
6+
7+
- Validate the credential `source` on the Tempo hash-credential verification path. The server now parses the `did:pkh:eip155` source before reserving the transaction hash, requires TIP-20 transfers to originate from the declared source address (falling back to the receipt sender when no source is provided), and rejects malformed or chain-mismatched sources with a uniform error. Adds `ChargeMethod::with_validate_sender` to authorize smart-account / relayer flows where the on-chain transfer sender differs from the declared source. (by @bensandler-stripe, [#308](https://github.com/tempoxyz/mpp-rs/pull/308))
8+
- Added a structured `reason: Option<PaymentFailureReason>` field to `PaymentFailedContext`, marked the struct `#[non_exhaustive]`, and added `PaymentFailedContext::new()` and `with_reason()` constructors. Downstream callers should construct it via `new()` and destructure it with `..` so future field additions remain non-breaking. (by @bensandler-stripe, [#308](https://github.com/tempoxyz/mpp-rs/pull/308))
9+
- Sponsored (fee-payer) charges now dry-run the co-signed transaction via `tempo_simulateV1` before broadcasting. If the transaction would revert on-chain, the sponsor rejects it instead of paying gas for a failing transaction. The check fails closed: if the simulation RPC is unavailable, the charge is rejected. (by @bensandler-stripe, [#308](https://github.com/tempoxyz/mpp-rs/pull/308))
10+
- Added TIP-1034 Tempo session client primitives for descriptor-backed channels, precompile ABI helpers, voucher signing, and fee-sponsored session opens. (by @bensandler-stripe, [#308](https://github.com/tempoxyz/mpp-rs/pull/308))
11+
12+
### Patch Changes
13+
14+
- Rejected oversized `WWW-Authenticate` `request` parameters before decoding payment challenges. (by @bensandler-stripe, [#308](https://github.com/tempoxyz/mpp-rs/pull/308))
15+
- Add client-side Tempo chain pinning. `TempoProvider::with_expected_chain_id` rejects charge challenges whose `methodDetails.chainId` conflicts with the configured chain ID, and signs on the pinned chain when the challenge omits it — matching the mpp-go conformance ABI. (by @bensandler-stripe, [#308](https://github.com/tempoxyz/mpp-rs/pull/308))
16+
- Align Tempo zero-amount proof shape with the wallet proof flow. (by @bensandler-stripe, [#308](https://github.com/tempoxyz/mpp-rs/pull/308))
17+
18+
## 0.2.0 (2026-07-07)
19+
20+
## 0.3.0 (2026-07-07)
21+
322
## 0.1.4 (2026-06-02)
423

524
## 0.10.4 (2026-06-02)

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mpp"
3-
version = "0.10.4"
3+
version = "0.11.0"
44
edition = "2021"
55
description = "Rust SDK for the Machine Payments Protocol (MPP)"
66
license = "MIT OR Apache-2.0"

crates/alloy-transport-mpp/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "alloy-transport-mpp"
33
description = "Machine Payments Protocol (MPP) transport layer over WebSocket for alloy"
4-
version = "0.1.4"
4+
version = "0.2.0"
55
edition = "2021"
66
rust-version = "1.91"
77
license = "MIT OR Apache-2.0"

0 commit comments

Comments
 (0)