From 51610306c59b5b8f28368d69f7e89d09a093afc2 Mon Sep 17 00:00:00 2001 From: brendanjryan <1572504+brendanjryan@users.noreply.github.com> Date: Mon, 13 Jul 2026 18:15:22 +0000 Subject: [PATCH] chore: release `v0.10.0` --- .changelog/error-hints.md | 5 ----- .changelog/mcp-challenge-core-metadata.md | 5 ----- .changelog/multipart-retry-body.md | 5 ----- .changelog/preserve-receipt-subscription-id.md | 5 ----- .changelog/safe-bees-bow.md | 5 ----- CHANGELOG.md | 13 +++++++++++++ pyproject.toml | 2 +- 7 files changed, 14 insertions(+), 26 deletions(-) delete mode 100644 .changelog/error-hints.md delete mode 100644 .changelog/mcp-challenge-core-metadata.md delete mode 100644 .changelog/multipart-retry-body.md delete mode 100644 .changelog/preserve-receipt-subscription-id.md delete mode 100644 .changelog/safe-bees-bow.md diff --git a/.changelog/error-hints.md b/.changelog/error-hints.md deleted file mode 100644 index abe73f3..0000000 --- a/.changelog/error-hints.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -pympp: minor ---- - -Add `hint` field to `PaymentError` problem details. `PaymentRequiredError`, `MalformedCredentialError`, and `PaymentMethodUnsupportedError` now include a default hint pointing users to wallet documentation. diff --git a/.changelog/mcp-challenge-core-metadata.md b/.changelog/mcp-challenge-core-metadata.md deleted file mode 100644 index f5ac670..0000000 --- a/.changelog/mcp-challenge-core-metadata.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -pympp: patch ---- - -Preserved MCP challenge metadata when converting MCP challenges to core payment challenges. diff --git a/.changelog/multipart-retry-body.md b/.changelog/multipart-retry-body.md deleted file mode 100644 index d06904f..0000000 --- a/.changelog/multipart-retry-body.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -pympp: patch ---- - -Handle multipart (`files=`) and streaming bodies on paid 402 retry. Multipart bodies are buffered and replayed identically; async generator bodies raise `PaymentError` before any I/O. diff --git a/.changelog/preserve-receipt-subscription-id.md b/.changelog/preserve-receipt-subscription-id.md deleted file mode 100644 index 23e21d6..0000000 --- a/.changelog/preserve-receipt-subscription-id.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -pympp: patch ---- - -Preserve `subscriptionId` when parsing and formatting payment receipts. diff --git a/.changelog/safe-bees-bow.md b/.changelog/safe-bees-bow.md deleted file mode 100644 index 217d1b3..0000000 --- a/.changelog/safe-bees-bow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -pympp: patch ---- - -Fixed MCP payment error detection to support the current MCP SDK's `McpError` shape, where error code and data are nested under an `error` attribute rather than directly on the exception. Added helper functions `_error_code` and `_error_data` to extract these fields from both error shapes. diff --git a/CHANGELOG.md b/CHANGELOG.md index b10a78a..91e0766 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 0.10.0 (2026-07-13) + +### Minor Changes + +- Add `hint` field to `PaymentError` problem details. `PaymentRequiredError`, `MalformedCredentialError`, and `PaymentMethodUnsupportedError` now include a default hint pointing users to wallet documentation. (by @Osraka, [#172](https://github.com/tempoxyz/pympp/pull/172)) + +### Patch Changes + +- Preserved MCP challenge metadata when converting MCP challenges to core payment challenges. (by @Osraka, [#172](https://github.com/tempoxyz/pympp/pull/172)) +- Handle multipart (`files=`) and streaming bodies on paid 402 retry. Multipart bodies are buffered and replayed identically; async generator bodies raise `PaymentError` before any I/O. (by @Osraka, [#172](https://github.com/tempoxyz/pympp/pull/172)) +- Preserve `subscriptionId` when parsing and formatting payment receipts. (by @Osraka, [#172](https://github.com/tempoxyz/pympp/pull/172)) +- Fixed MCP payment error detection to support the current MCP SDK's `McpError` shape, where error code and data are nested under an `error` attribute rather than directly on the exception. Added helper functions `_error_code` and `_error_data` to extract these fields from both error shapes. (by @Osraka, [#172](https://github.com/tempoxyz/pympp/pull/172)) + ## 0.9.1 (2026-07-01) ### Patch Changes diff --git a/pyproject.toml b/pyproject.toml index ea003b2..755e350 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "pympp" -version = "0.9.1" +version = "0.10.0" description = "Python SDK for the Machine Payments Protocol (MPP)" readme = "README.md" requires-python = ">=3.11"