Repository navigation
·
13 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Minor Changes
- Added Zone payments to the Tempo charge method: clients pay by withdrawing from a Zone balance with the new
zoneoption, and servers accept Zones with thezonesoption, with an opt-inzone_credential_grace_msfor zone credentials settled before their challenge expired. Added theZoneconfiguration class,ZoneSettlementPendingErrorandZoneWithdrawalBouncedError. (by @brendanjryan, #407)
Patch Changes
- Fixed Zone payments so a withdrawal that settles after its Challenge expires is never paid twice, and a server accepts its late credential only within an explicitly configured grace. Once a server accepts that credential, a new Challenge with the same terms pays again. (by @brendanjryan, #438)
- Added
x402_extraparameter toChargeIntentandcharge()for passing custom fields into x402 payment requirements'extraobject. Addedfacilitator_pay_to()helper andpay_to()function to retrieve a facilitator'spayToaddress viaGET /supported, along with theSupportsSupportedprotocol,SupportedKind/SupportedResponsetypes, andsupported()method onHttpFacilitator. (by @brendanjryan, #442) - Rejected challenges whose
headerauth-param is anything butPayment-Authorization(ASCII case-insensitive), and made a constructed challenge raiseValueErrorfor any other value, including an empty one. A received challenge'sheaderis now echoed in its credential exactly as the server spelled it, while locally created challenges emit the canonicalPayment-Authorization. (by @brendanjryan, #437) - Fixed
McpClientto pay a new Challenge offered after a refused Credential, such as the real charge after a zero-amount Tempo proof is refused for insufficient credit.McpClientalso resent the same Credential, rather than signing another, when the same Challenge was offered again. (by @brendanjryan, #441)
What's Changed
- ci: remove the pr-audit workflow by @grandizzy in #428
- feat(tempo): add Zone payments to the charge method (mppx#1216) by @brendanjryan in #407
- fix(tempo): resume a pending Zone withdrawal instead of withdrawing again by @brendanjryan in #438
- fix: only accept Payment-Authorization as a challenge credential header by @brendanjryan in #437
- fix(client): pay a new challenge offered after a rejected credential by @brendanjryan in #441
- feat(x402): extra, facilitator supported() and evm facilitator_pay_to() (mppx#1318) by @brendanjryan in #442
- Release
v0.26.0by @tempo-github-sts[bot] in #436
Full Changelog: v0.25.0...v0.26.0