Cadwyn

Latest version: v4.4.3

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

Scan your dependencies

Page 8 of 14

3.4.4

Fixed

* Request and response converters were not applied when path params were present

3.4.3

Added

* `RouterPathParamsModifiedError` is now raised if `endpoint(...).had(path=...)` has different path params than the original route

3.4.2

Fixed

* Fix import aliases in nested `__init__.py` files generating incorrectly for latest version

3.4.1

Fixed

* If the endpoint specified a single non-pydantic (list/dict) body parameter, Cadwyn failed to serialize the body

3.4.0

Added

* `schema(...).validator(...).existed` and `schema(...).validator(...).didnt_exist` instructions for simplistic manipulation of validators
* Automatic deletion of validators when the fields they validate get deleted
* `schema(...).field(...).didnt_have` for unsetting field attributes
* Improved support for `typing.Annotated` in schemas
* Full preservation of original abstract syntax trees for all field values and annotations

Fixed

* If the user wrote a wrong signature in a transformer decorated by `convert_request_to_next_version_for` or `convert_response_to_previous_version_for`, the text of the error suggested the wrong argument count and names

3.3.4

Fixed

* Added backwards compatibility for FastAPI < 0.106.0

Page 8 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.