Repository navigation
v0.22.0
·
20 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Minor Changes
- Made
Mpp, Tempo and EVM charges,tempo.sessionand x402payment_middlewareraiseRuntimeErrorat startup in production (MPP_ENV=production, or platforms such as AWS Lambda, Fly or Vercel) when they would fall back to an in-memory replay store; pass a shared store such asRedisStoreorSQLStorewithstore=orMpp(store=...), or an explicitMemoryStore()to keep instance-local protection, as mppx does. Made EVM claims in an explicitly passedMemoryStoreexpire after the authorization'svalidBefore. (by @brendanjryan, #413) - Added
rpc_url_for_chainas a new public function inmpp.methods.tempo. Added an optionalhttp_requestparameter toMpp.validate_credentialandMpp.broadcast_credentialto enforce route scope binding, and enrichedChargeIntentsettlement details withpayer_verified,transaction_hash, andvalid_beforefields. (by @brendanjryan, #414)
Patch Changes
- Added
SQLStore, an atomic key-value store on Postgres or SQLite with single-statement writes, as mppx'sStore.sql()does. Added thepostgresextra (asyncpg). (by @brendanjryan, #405) - Relay validation now reported the payload's settlement details instead of an empty
detailsdict. Deeply nested keychain signatures no longer overflowed the stack in_canonical_signature. (by @brendanjryan, #415) - Fixed sponsorship slot tracking to reserve daily capacity before the signed simulation is sent to the RPC, since a signed simulation can be reconstructed and broadcast outside the client. Replaced the
_SendTrackerwrapping approach with a dedicatedbefore_sponsor_exposurecallback parameter onsend_credential_transactionandbroadcast_top_up_transaction. (by @brendanjryan, #409)
What's Changed
- feat(stores): add SQLStore on Postgres and SQLite (mppx#1187) by @brendanjryan in #405
- fix: reserve sponsorship before signed RPC simulation by @brendanjryan in #409
- feat: expose Tempo charge settlement details and route binding for credential validation by @brendanjryan in #414
- fix(tempo): report settlement details from relay validation and bound keychain nesting by @brendanjryan in #415
- fix(server): refuse the in-memory replay store fallback in production by @brendanjryan in #413
- Release
v0.22.0by @tempo-github-sts[bot] in #411
Full Changelog: v0.21.0...v0.22.0