Combadge

Latest version: v4.7.0

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

Scan your dependencies

Page 7 of 11

0.1.0rc4

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

What's Changed
🐛 Fixes
* FIX: pass headers for async request definitions by beerdeaap in https://github.com/kpn/combadge/pull/21


**Full Changelog**: https://github.com/kpn/combadge/compare/0.1.0rc3...0.1.0rc4

0.1.0rc3

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

What's Changed
🐛 Fixes
* FIX: support header annotation in service definition by beerdeaap in https://github.com/kpn/combadge/pull/20

👋 New Contributors
* beerdeaap made their first contribution in https://github.com/kpn/combadge/pull/20

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

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

Page 7 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.