From d3cb841ca336b75271cd4c48846bf26ede2aad1d Mon Sep 17 00:00:00 2001 From: "sumup-release-bot[bot]" <241716704+sumup-release-bot[bot]@users.noreply.github.com> Date: Mon, 26 Oct 2026 20:21:44 +0000 Subject: [PATCH] release: 0.4.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 11 +++++++++++ pyproject.toml | 2 +- sumup/_version.py | 2 +- uv.lock | 2 +- 5 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 067d9cac..804dca8a 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.3.6" + ".": "0.4.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 321c38d7..5a434698 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [0.4.0](https://github.com/sumup/sumup-py/compare/v0.3.6...v0.4.0) (2026-10-26) + + +### ⚠ BREAKING CHANGES + +* Documented error bodies now contain typed models or collections instead of response text. Inspect error.body directly or use error.response.text for the original text. Connection failures and timeouts now raise SDK exceptions; the original transport exception is available through error.__cause__. + +### Features + +* add consistent API error handling ([#436](https://github.com/sumup/sumup-py/issues/436)) ([ea7023e](https://github.com/sumup/sumup-py/commit/ea7023ec9c9a20d93fbc0289f94ae2fe5154177a)) + ## [0.3.6](https://github.com/sumup/sumup-py/compare/v0.3.5...v0.3.6) (2026-10-26) diff --git a/pyproject.toml b/pyproject.toml index 5870123f..6cde7887 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "sumup" description = "Official Python SDK for the SumUp API." -version = "0.3.6" +version = "0.4.0" readme = "README.md" requires-python = ">=3.10,<3.15" keywords = ["sdk", "sumup", "payments"] diff --git a/sumup/_version.py b/sumup/_version.py index 860517ee..9ce25b8d 100644 --- a/sumup/_version.py +++ b/sumup/_version.py @@ -1 +1 @@ -__version__ = "0.3.6" # x-release-please-version +__version__ = "0.4.0" # x-release-please-version diff --git a/uv.lock b/uv.lock index c5a5c9fb..0c2f8830 100644 --- a/uv.lock +++ b/uv.lock @@ -314,7 +314,7 @@ wheels = [ [[package]] name = "sumup" -version = "0.3.6" +version = "0.4.0" source = { editable = "." } dependencies = [ { name = "httpx" },