diff --git a/.changeset/discovery-openapi-consolidation.md b/.changeset/discovery-openapi-consolidation.md deleted file mode 100644 index e3cc00dc..00000000 --- a/.changeset/discovery-openapi-consolidation.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'mppx': patch ---- - -Add OpenAPI-first discovery tooling via `mppx/discovery`, framework `discovery()` helpers, and `mppx discover validate`. - -This also changes `mppx/proxy` discovery routes: - -- `GET /openapi.json` is now the canonical machine-readable discovery document. -- `GET /llms.txt` remains available as the text-friendly discovery view. -- Legacy `/discover*` routes now return `410 Gone`. diff --git a/.changeset/fuzzy-badgers-glow.md b/.changeset/fuzzy-badgers-glow.md deleted file mode 100644 index d4e2d345..00000000 --- a/.changeset/fuzzy-badgers-glow.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'mppx': patch ---- - -Fix two production session/SSE robustness issues. - -1. Accept exact voucher replays (`cumulativeAmount == highestVoucherAmount`) as idempotent success after signature verification, while still rejecting lower cumulative amounts and preserving monotonic state advancement rules. -2. Prevent invalid null-body response wrapping in SSE receipt transport by returning `101/204/205/304` responses directly instead of stream-wrapping them. diff --git a/.changeset/session-require-account.md b/.changeset/session-require-account.md deleted file mode 100644 index e269e313..00000000 --- a/.changeset/session-require-account.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'mppx': patch ---- - -`tempo.session()` now throws immediately at initialization if no viem `Account` is provided, instead of failing later with an opaque error during channel close. The error message includes an example fix. diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ecb6fa4..69c1823d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # mppx +## 0.4.10 + +### Patch Changes + +- b4e1a3d: Add OpenAPI-first discovery tooling via `mppx/discovery`, framework `discovery()` helpers, and `mppx discover validate`. + + This also changes `mppx/proxy` discovery routes: + + - `GET /openapi.json` is now the canonical machine-readable discovery document. + - `GET /llms.txt` remains available as the text-friendly discovery view. + - Legacy `/discover*` routes now return `410 Gone`. + +- 70f6595: Fix two production session/SSE robustness issues. + + 1. Accept exact voucher replays (`cumulativeAmount == highestVoucherAmount`) as idempotent success after signature verification, while still rejecting lower cumulative amounts and preserving monotonic state advancement rules. + 2. Prevent invalid null-body response wrapping in SSE receipt transport by returning `101/204/205/304` responses directly instead of stream-wrapping them. + +- 3c713c9: `tempo.session()` now throws immediately at initialization if no viem `Account` is provided, instead of failing later with an opaque error during channel close. The error message includes an example fix. + ## 0.4.9 ### Patch Changes diff --git a/package.json b/package.json index 26a47028..083605b8 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "[!start-pkg]": "", "name": "mppx", "type": "module", - "version": "0.4.9", + "version": "0.4.10", "main": "./dist/index.js", "license": "MIT", "files": [