Cadwyn

Latest version: v3.15.7

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

Scan your dependencies

Page 1 of 11

3.15.7

Fixed

* Wrong globals being used for wrapped endpoints in older versions, sometimes causing FastAPI to fail to resolve forward references on endpoint generation (see 192 for more details)
* dependency_overrides not working for old versions of the endpoints because they were wrapped and wraps did not have the same `__hash__` and `__eq__` as the original dependencies

3.15.6

Added

* `HeadVersion` and `Version` into `cadwyn.__init__` so now they are directly importable from `cadwyn`

Fixed

* Fix dependencies from other libraries not resolving if they use fastapi.Request or fastapi.Response (added svcs-specific test)
* Now a proper exception is used when no dated version was passed into `VersionBundle`

3.15.5

Fixed

* Fix dependency overrides not working for versioned routes

3.15.4

Changed

* `Cadwyn.enrich_swagger` is now completely unnecessary: openapi is now generated at runtime. It also now does not do anything, is deprecated, and will be removed in a future version

Fixed

* fastapi-pagination now does not require an explicit call to `Cadwyn.enrich_swagger`

3.15.3

Changed

* `Cadwyn.router.routes` now includes all existing routers within the application instead of just unversioned routes

Fixed

* Compatibility with fastapi-pagination
* High cardinality of metrics for routers with path variables in starlette-exporter

3.15.2

Fixed

* Openapi not being generated when lifespan was used

Page 1 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.