Cadwyn

Latest version: v4.4.3

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

Scan your dependencies

Page 7 of 14

3.6.5

Fixed

* When a class-based dependency was used, its dependant was incorrectly generated, causing all affected endpoints to completely stop functioning

3.6.4

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)`

Page 7 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.