Apiflask

Latest version: v2.2.1

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

Scan your dependencies

Page 6 of 7

0.6.2

Released: 2021/5/16

- Fix static request dispatch for Flask 2.0 ([issue 52][issue_52]).

[issue_52]: https://github.com/apiflask/apiflask/issues/52

0.6.1

Released: 2021/5/15

- Fix type annotaion for Flask 2.0 ([pull 48][pull_48]).
- Fix type annotaion for `schema` parameter of `input` and `output`
([pull 49][pull_49]).
- Fix type annotaion for imports by exporting top-level name explicitly
([pull 49][pull_49]).
- Fix async for `dispatch_request` for Flask 2.0 ([pull 50][pull_50]).

[pull_48]: https://github.com/apiflask/apiflask/pull/48
[pull_49]: https://github.com/apiflask/apiflask/pull/49
[pull_50]: https://github.com/apiflask/apiflask/pull/50

0.6.0

Released: 2021/5/11

- Support using the `output` decorator on async views ([pull 41][pull_41]).
- Add `PaginationSchema` and `pagination_builder` as basic pagination support
([pull 42][pull_42]).
- Import and rename the decorators from marshmallow ([pull 43][pull_43]).
- Rename `utils` module to `helpers` ([pull 44][pull_44]).
- Add `default` parameter for `get_reason_phrase` ([pull 45][pull_45]).

[pull_41]: https://github.com/apiflask/apiflask/pull/41
[pull_42]: https://github.com/apiflask/apiflask/pull/42
[pull_43]: https://github.com/apiflask/apiflask/pull/43
[pull_44]: https://github.com/apiflask/apiflask/pull/44
[pull_45]: https://github.com/apiflask/apiflask/pull/45

0.5.2

Released: 2021/4/29

- Allow returning a `Response` object in a view function decorated with the `output`
decorator. In this case, APIFlask will do nothing but return it directly
([pull 38][pull_38]).
- Skip Flask's `Blueprint` object when generating the OpenAPI spec ([pull 37][pull_37]).

[pull_38]: https://github.com/apiflask/apiflask/pull/38
[pull_37]: https://github.com/apiflask/apiflask/pull/37

0.5.1

Released: 2021/4/28

- Change the default endpoint of the view class to the original class name
([pull 36][pull_36]).
- Allow passing the `methods` argument for the `route` decorator on view classes.

[pull_36]: https://github.com/apiflask/apiflask/pull/36

0.5.0

Released: 2021/4/27

- Remove the support to generate `info.description` and tag description from module
docstring, and also remove the `AUTO_DESCRIPTION` config ([pull 30][pull_30]).
- Remove the configuration variable `DOCS_HIDE_BLUEPRINTS`, add `APIBlueprint.enable_openapi`
as a replacement.
- Support class-based views, now the `route` decorator can be used on `MethodView` class.
Other decorators (i.e., `input`, `output`, etc.) can be used on view methods
(i.e., `get()`, `post()`, etc.) ([pull 32][pull_32]).
- No longer support to mix the use of `flask.Bluerpint` and `apiflask.APIBluerpint`.
- Support to use the `auth_required` decorator on app-wide `before_request` functions
([pull 34][pull_34]).

[pull_30]: https://github.com/apiflask/apiflask/pull/30
[pull_32]: https://github.com/apiflask/apiflask/pull/32
[pull_34]: https://github.com/apiflask/apiflask/pull/34

Page 6 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.