Commit fdc10f3
Release 2.8.2: move settle set to pympp 0.11 + x402 2.21 (verified) (#130)
## Summary
Releases `agentscore-commerce` 2.8.2, moving the coupled MPP settle set
forward: **pympp 0.10.1 -> 0.11.0** and **x402 2.20.0 -> 2.21.0**. Both
were verified against the registry's gate (run in full this time, not
deferred):
- **pympp 0.11** switches credential canonicalization to **RFC 8785 /
JCS**, which is exactly what mppx 0.9.1 (the JS counterpart) already
uses — so the two implementations *align* rather than diverge. pympp has
no EIP-712 zero-amount proof (that domain-v3 mechanism is mppx-only), so
the mppx-0.8.0 break class does not apply. 0.11's `Mpp.create` now reads
`.name` off each method; the one test that stubbed a bare `object()` is
updated to a method-shaped stub.
- **x402 2.21** leaves the Base mainnet USDC EIP-712 domain unchanged
(all `USD Coin` entries still `version: "2"`); 2.21 only refactored
`constants.py` into `default_assets.py`. No wire change on the rail we
settle.
## Type of change
- [x] Docs, tests, or internal maintenance only
- [ ] Bug fix (no breaking change)
- [ ] New feature (no breaking change)
- [ ] Breaking change (existing callers must update)
## Public API
None. No exported symbols or wire formats changed; this bumps two
peer-dep versions and updates one test stub for pympp 0.11's `.name`
method contract.
## Test plan
`uv run pytest` (1868 passed, 4 skipped, 95.37% coverage), `uv run ruff
check` + `ruff format --check` + `uv run ty check` all clean — ty
validates the pympp-0.11 / x402-2.21 API surface our code calls.
Standing obligation: a live all-rails settle against a pympp-0.11
merchant is the final cross-implementation confirmation and runs as a
post-deploy smoke.
## Checklist
- [x] Tests cover the new behavior, and the suite passes locally
- [x] Lint, format, and type checks pass
- [x] Docs and README examples updated if the public surface changed
- [x] No secrets, credentials, or personal data in the diff or the tests
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 5e694f7 commit fdc10f3
3 files changed
Lines changed: 23 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
448 | 449 | | |
449 | 450 | | |
450 | 451 | | |
451 | | - | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
452 | 455 | | |
453 | 456 | | |
454 | 457 | | |
455 | | - | |
| 458 | + | |
456 | 459 | | |
457 | 460 | | |
458 | 461 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments