Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 875d626

Browse files
committed
chore(release): release zodiac-core 0.9.0
- Bump package metadata and lockfile version to 0.9.0 - Add 0.9.0 changelog entry for upstream error translation
1 parent 46fe8a9 commit 875d626

3 files changed

Lines changed: 13 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.9.0] - 2026-04-29
9+
10+
### Added
11+
12+
- **HTTP**: Add `translate_upstream_errors(service)` to convert `httpx` upstream status and request failures into standardized ZodiacCore exceptions for both async and sync functions.
13+
- **Exceptions**: Add `UpstreamServiceException` and `UpstreamRequestException` for explicit upstream service failures, including service name and upstream error classification.
14+
- **Exception Handlers**: Register a dedicated upstream exception handler that returns standardized HTTP 400 responses for translated upstream failures.
15+
- **Templates**: Update the `standard-3tier` external client example to use `ZodiacClient` with `translate_upstream_errors`.
16+
- **Docs**: Document upstream error translation, manual upstream business-error mapping, and the new upstream exception types in the exceptions API guide.
17+
- **Tests**: Add coverage for upstream exception behavior, handler registration, async/sync HTTP translation, and template usage.
18+
819
## [0.8.1] - 2026-04-26
920

1021
### Fixed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "zodiac-core"
7-
version = "0.8.1"
7+
version = "0.9.0"
88
description = "ZodiacCore-Py: A high-performance core library for modern Python web services."
99
readme = "README.md"
1010
license = "MIT"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)