Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/foxnose_sdk/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
by the build backend (see ``[tool.hatch.version]`` in ``pyproject.toml``).
"""

__version__ = "0.8.0"
__version__ = "0.8.1"
2 changes: 1 addition & 1 deletion tests/test_collection_type_aliases.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
Loading