Cadwyn

Latest version: v3.15.7

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

Scan your dependencies

Page 5 of 11

3.6.3

Fixed

* A rare pydantic 2 bug that caused `BaseModel` annotations to be corrupted when new fields were added to the schema

3.6.2

Fixed

* Removed exception when creating `cadwyn.Cadwyn` without `latest_schemas_package` as it was a minor breaking change

3.6.0

Added

* Add `cadwyn.VersionBundle.migrate_response_body` that allows us to migrate response bodies outside of routing and FastAPI
* `latest_schemas_package` argument to `cadwyn.VersionBundle` to support the migration above

Removed

Changed

* We now raise a 5xx error (`cadwyn.exceptions.CadwynLatestRequestValidationError`) whenever a request migration caused our payload to be incompatible with latest request schemas
* Deprecated `cadwyn.main` and use `cadwyn.applications` instead
* Deprecated `latest_schemas_package` argument in `cadwyn.Cadwyn`

3.5.0

Fixed

* Previously, Cadwyn did not set the default status code for ResponseInfo

Added

* HTTP status error handling in response converters using `convert_response_to_previous_version_for(..., migrate_http_errors=True)`

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

Page 5 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.