Skip to content

chore: version packages#380

Merged
brendanjryan merged 1 commit intomainfrom
changeset-release/main
Apr 21, 2026
Merged

chore: version packages#380
brendanjryan merged 1 commit intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Apr 20, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

mppx@0.6.0

Minor Changes

  • e606fa9: Breaking: Removed default Accept-Payment headers on every outgoing request for polyfilled fetch in browsers. Now defaults to same-origin requests in browser environments. Non-browser environments are unaffected. Use acceptPaymentPolicy to control supported payment origins.

Patch Changes

  • e606fa9: Added acceptPaymentPolicy option to control when the Accept-Payment header is injected on outgoing requests, mitigating CORS preflight failures on non-payment-aware servers.

    • In browsers, Fetch.polyfill and Mppx.create (with polyfill: true) default to 'same-origin', preventing cross-origin CORS issues.
    • Non-browser environments and Mppx.create with polyfill: false default to 'always'.
    • Supported values: 'always', 'same-origin', 'never', { origins: string[] } (with *. wildcard support).
    • Exported Fetch namespace from mppx/client.
  • 1a831eb: Fixed Tempo session content gating and SSE plain-response billing to share request-body detection so HTTP/2 POST requests without Content-Length were classified consistently.

@github-actions github-actions Bot force-pushed the changeset-release/main branch from c426625 to 26f954f Compare April 21, 2026 03:26
@brendanjryan brendanjryan merged commit c8ea9c1 into main Apr 21, 2026
2 checks passed
@brendanjryan brendanjryan deleted the changeset-release/main branch April 21, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant