Skip to content

Phala Pay 0.13.0

Choose a tag to compare

@github-actions github-actions released this 27 Oct 20:04
· 91 commits to main since this release
Immutable release. Only release title and notes can be modified.
v0.13.0
14b2f37

Breaking (operators)

  • Breaking: no rollback to 0.12.2; restore required. No rollback to v0.12.x is supported.
    The owner accepted this schema break before launch. Take and verify a pre-upgrade backup,
    pause quote creation, and follow restore and reconciliation before running
    an older release. The compatibility floor is 20261104000000.
  • Quotes now use each customer's fixed deposit-address network. A new quote closes the previous
    window on the same customer and route, including a previously consumed quote. Replaced quotes
    retain exposure until chain coverage closes them. Hints discover transfers and never bind them.
  • Remove POST /v1/admin/restore/quotes and the quotes_reissued unfreeze checklist field.
    Restore clamps open quote windows to the restore point. Reissue customer addresses and import
    delivered outcomes; lost quotes are not reissued.

Changed

  • Quotes expose deposit_address, deposit_address_version, window_start, and replaced_by.
    Only a deposit that consumes a quote carries its quote and metadata; other transfers use spot.
    Historical addresses and deposits are preserved. Quotes reuse address capacity after the
    customer's network is issued.

JS SDK (@phala/pay, @phala/pay-react, @phala/pay-server)

Changed

  • Breaking: PaymentElement requires createQuote; remove its deposit-address mode and
    secondary deposit link, deposit callbacks and resume props, and payDepositAddressWithWallet.
    Standalone DepositAddress supports transfers of any amount within its limits.
  • Breaking: quoteAddress and verifyQuoteAddress derive the deposit-address salt using the
    quote's mode, customer and address version. Remove quoteSalt.
  • Checkout explains the fixed address and price deadline; API types are regenerated.

Python SDK (phala-pay)

Changed

  • Breaking: verify quote addresses with the deposit-address salt; remove quote_salt and
    quote_address. Regenerate the API client, including removal of quote reissue.

SDKs

@phala/pay 0.13.0, @phala/pay-react 0.13.0, and @phala/pay-server 0.13.0 on npm;
phala-pay 0.13.0 on PyPI.

Verify

deploy/verify-release.sh
checks this release as Deploy does (self-hosting guide).