Combadge

Latest version: v4.8.1

Safety actively analyzes 706259 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 12

0.1.0rc2

This release addresses the `ValidationError` caused by the HTTPX backend when receiving a non-valid JSON response. The `ValidationError` is no longer raised, and the new `Content` type alias is introduced:

python
from combadge.support.http.aliases import Content


class ModelA(BaseModel):
my_content: Content[bytes] captures raw response content


class ModelB(BaseModel):
my_content: Content[Literal[b"I am your father"]] matches the content to the literal


What's Changed
⚡️Improvements
* NEW: add the `__content__` pseudo-field, resolves 15 by eigenein in https://github.com/kpn/combadge/pull/16
* OPT: add the type assertions 13 by eigenein in https://github.com/kpn/combadge/pull/17


**Full Changelog**: https://github.com/kpn/combadge/compare/0.1.0rc1...0.1.0rc2

0.1.0rc1

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
💥 Breaking changes
* BREAK: move `BaseBoundService` to the separate module by eigenein in https://github.com/kpn/combadge/pull/12
✨ New features
* NEW: implement `ServiceContainer`, resolves 8 by eigenein in https://github.com/kpn/combadge/pull/11
* NEW: implement the context manager interfaces, resolves 7 by eigenein in https://github.com/kpn/combadge/pull/14


**Full Changelog**: https://github.com/kpn/combadge/compare/0.1.0b9...0.1.0rc1

0.1.0b9

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
🍻 All changes
* BREAK: pass bound arguments to `MethodMarker.prepare_request()`, resolves 9 by eigenein in https://github.com/kpn/combadge/pull/10

**Full Changelog**: https://github.com/kpn/combadge/compare/0.1.0b8...0.1.0b9

0.1.0b8

- c0f1e3b NEW: add the `ErrorResponse.Error.response` property

0.1.0b7

- 1ff4f19 NEW: make an error response available through its derived exception instance

0.1.0b6

- 04adffb BREAK: make the `validate_arguments` optional
- 8dec4d9 FIX: typo
- 8a0fc10 OPT: protocol extensions should inherit from `Protocol`

Page 8 of 12

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.