Cadwyn

Latest version: v4.4.3

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

Scan your dependencies

Page 2 of 14

4.2.4

Fixed

* Background tasks not functioning in versioned endpoints

4.2.3

Fixed

* Added support for `embed_body_fields` in `solve_dependencies` and `create_model_field` in FastAPI. FastAPI has made a breaking change for these interfaces which is why we had to fix it
* Fixed invalid imports in quickstart docs
* Fixed default dependencies not including the CLI for FastAPI, thus causing the quickstart docs to be invalid

4.2.2

Fixed

* FastAPI Servers list did not include root path when mounted as a sub-app unless specified directly within the user defined server list (Contributed by OD-tpeko)
* OpenAPI spec did not include the `summary` field (Contributed by OD-tpeko)

4.2.1

Fixed

* Previously the docs were showing wrong versioned doc paths when cadwyn was mounted as a sub-app (Contributed by OD-tpeko)

4.2.0

Added

* Automatic changelog generation from version changes using `Cadwyn.generate_changelog` method and `GET /changelog` endpoint.
* Automatic creation of versioned_routers based on the `VersionBundle` passed to `Cadwyn` which means that all versions mentioned in the version bundle will already be available for routing even without the use of `generate_and_include_versioned_routers`

Changed

* Renamed `Version.version_changes` to `Version.changes`

Removed

* `regex`, `include`, `min_items`, `max_items`, and `unique_items` arguments were removed from `schema(...).field(...).had`. Notice that it's not a breaking change for most cases because passing these arguments caused exceptions

4.1.0

Added

* Exposed `cadwyn.generate_versioned_models` that allow you to generate pydantic models and enums even without a FastAPI app

Page 2 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.