Cadwyn

Latest version: v4.4.3

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

Scan your dependencies

Page 5 of 14

3.12.1

Fixed

* `fastapi.Response` subclasses with non-null bodies and 500 response causing the response to not get returned
* `fastapi.Response` subclasses had invalid content length if migration affected it

3.12.0

Changed

* Rewritten header routing logic and structure to support the full feature set of FastAPI

3.11.1

Fixed

* Modules and enums from head versions not being detected and thus causing errors

3.11.0

Changed

* Header router is no longer reliant on the API version header -- now it simply takes the API version from the `VersionBundle.api_version_var`, thus making it easy for someone to extend header routing and set their own rules for how the default version is chosen

3.10.1

Fixed

* Previous version introduced a minor breaking change: if any old users depended on the pure `generate_versioned_routers` interface, their work would receive a minor yet simple breaking change.

3.10.0

**Yanked** due to a minor breaking change that we fixed in 3.10.1.

Added

* The new approach to internal schemas: instead of having them duplicate certain fields from `latest`, we introduced a new `HEAD` version -- the only one the user maintains by hand. All requests get migrated to `HEAD` and latest schemas are generated from `HEAD`. `cadwyn.structure.HeadVersion` was added to give us the ability to have migrations between `HEAD` and latest, thus eliminating the need for `InternalRepresentationOf` because all the used schemas are now the internal representations

Changed

* `latest` is now named `head` because it no longer represents the newest version. Instead, it is the the `internally used` version and the version that is used for generating all other versions.
* the newest version is not aliased from `latest` anymore. Instead, it is generated like all the rest
* deprecated `InternalRepresentationOf` and the concept of `internal schemas` in favor of `HeadVersion` migrations

Page 5 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.