Apiflask

Latest version: v2.2.1

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

Scan your dependencies

Page 1 of 7

2.2.1

Released: 2024/9/8

- Fix OpenAPI spec for multiple content types with `json_or_form` location ([issue 600][issue_600]).

[issue_600]: https://github.com/apiflask/apiflask/issues/600

2.2.0

Released: 2024/8/3

- Fix deprecated warnings in tests ([issue 594][issue_594]).
- Use postponed evaluation of annotations ([pr 585][pr_585]).
- Add static OpenAPI docs example ([issue 587][issue_587]).
- Add spec extensions support with `doc(extensions=...)` for the view function ([issue 571][issue_571]).

[pr_585]: https://github.com/apiflask/apiflask/pull/585
[issue_594]: https://github.com/apiflask/apiflask/issues/594
[issue_587]: https://github.com/apiflask/apiflask/issues/587
[issue_571]: https://github.com/apiflask/apiflask/issues/571

2.1.3

Released: 2024/7/14

- Fix the `flask spec` command for latest Flask ([issue 582][issue_582]).

[issue_582]: https://github.com/apiflask/apiflask/issues/582

2.1.2

Released: 2024/7/6

- Deprecate the `__version__` attribute. Use feature detection or `importlib.metadata.version("apiflask")` instead.
- Explicitly skip the data serialization for response with `app.output(FileSchema)`.

2.1.1

Released: 2024/3/10

- Reuse the `File`, `Config` field, and file-related validators from flask-marshmallow ([issue 540][issue_540]).
- Add support for a `--quiet` option to the `flask spec` command ([issue 548][issue_548]).
- Fix the `flask spec` command for validators operating on complex data types ([issue 547][issue_547]).

[issue_540]: https://github.com/apiflask/apiflask/issues/540
[issue_548]: https://github.com/apiflask/apiflask/issues/548
[issue_547]: https://github.com/apiflask/apiflask/issues/547

2.1.0

Released: 2023/12/16

- Add `FileType` and `FileSize` validators ([issue 253][issue_253]).
- Allow adding multiple media types for a response ([issue 494][issue_494]).
- Support adding headers to the response schema ([issue 507][issue_507]).
- Add support for adding decorators to the OpenAPI spec and documentation UI endpoints ([issue 483][issue_483]).
- Fix the base repsonse schema inconsistency issue.

[issue_494]: https://github.com/apiflask/apiflask/issues/494
[issue_507]: https://github.com/apiflask/apiflask/issues/507
[issue_483]: https://github.com/apiflask/apiflask/issues/483
[issue_253]: https://github.com/apiflask/apiflask/issues/253

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.