Skip to content

Commit 92c8c3b

Browse files
mattssegithub-actions[bot]
authored andcommitted
chore: release v0.2.0
1 parent 64e616b commit 92c8c3b

15 files changed

Lines changed: 26 additions & 38 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/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: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Changelog
22

3+
## 0.11.0 (2026-06-16)
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 @stevencartavia, [#293](https://github.com/tempoxyz/mpp-rs/pull/293))
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 @stevencartavia, [#293](https://github.com/tempoxyz/mpp-rs/pull/293))
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 @stevencartavia, [#293](https://github.com/tempoxyz/mpp-rs/pull/293))
10+
- Added TIP-1034 Tempo session client primitives for descriptor-backed channels, precompile ABI helpers, voucher signing, and fee-sponsored session opens. (by @stevencartavia, [#293](https://github.com/tempoxyz/mpp-rs/pull/293))
11+
12+
### Patch Changes
13+
14+
- 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 @stevencartavia, [#293](https://github.com/tempoxyz/mpp-rs/pull/293))
15+
- Align Tempo zero-amount proof shape with the wallet proof flow. (by @stevencartavia, [#293](https://github.com/tempoxyz/mpp-rs/pull/293))
16+
17+
## 0.2.0 (2026-06-16)
18+
19+
## 0.3.0 (2026-06-16)
20+
321
## 0.1.4 (2026-06-02)
422

523
## 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"

‎examples/axum-extractor/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "axum-extractor-example"
3-
version = "0.2.4"
3+
version = "0.3.0"
44
edition = "2021"
55
publish = false
66

0 commit comments

Comments
 (0)