From 8a6bb492d1fc59290c8dcbd4779759a0fff9e376 Mon Sep 17 00:00:00 2001 From: loookashow Date: Wed, 9 Sep 2026 21:33:18 +0200 Subject: [PATCH] chore: release 0.8.1 --- docs/changelog.md | 2 ++ src/foxnose_sdk/_version.py | 2 +- tests/test_collection_type_aliases.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index 890e898..c10cd49 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.8.1] - 2026-09-09 + ### Fixed - `data_validation_error` (HTTP 422) now raises `ContentValidationFailed` instead of a bare `FoxnoseAPIError`. This is the code a Flux resource write returns for a schema violation, so the most common way to hit one was not caught by `except ContentValidationFailed`, and callers had to match on `status_code == 422` instead. The `errors` list and `errors_truncated` flag are populated from the same detail payload as `content_validation_failed`, and `error_code` still reports what the server sent. diff --git a/src/foxnose_sdk/_version.py b/src/foxnose_sdk/_version.py index b7c7fe2..2ea0817 100644 --- a/src/foxnose_sdk/_version.py +++ b/src/foxnose_sdk/_version.py @@ -4,4 +4,4 @@ by the build backend (see ``[tool.hatch.version]`` in ``pyproject.toml``). """ -__version__ = "0.8.0" +__version__ = "0.8.1" diff --git a/tests/test_collection_type_aliases.py b/tests/test_collection_type_aliases.py index 115e650..0b0cd4f 100644 --- a/tests/test_collection_type_aliases.py +++ b/tests/test_collection_type_aliases.py @@ -54,7 +54,7 @@ def test_top_level_package_reexports_collection_types(): def test_version_string_matches_pyproject(): """Pin the declared package version (single-sourced from _version.py, which the build backend also reads for the distribution version).""" - assert foxnose_sdk.__version__ == "0.8.0" + assert foxnose_sdk.__version__ == "0.8.1" def test_user_agent_tracks_version():