Flask-smorest

Latest version: v0.45.0

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

Scan your dependencies

Page 2 of 14

0.42.0

*******************

Features:

- *Backwards-incompatible*: Support multiple APIs in a single application via
``Api`` param ``config_prefix``. The ``Api`` object is now accessible at
``app.extensions["flask-smorest"]["apis"][config_prefix]["ext_obj"]``
rather than ``app.extensions["flask-smorest"]["ext_obj"]``. (:pr:`485`)
Thanks :user:`petraszd` for the contribution.

Other changes:

- Drop support for Python 3.7 (:pr:`497`).
- Require Werkzeug>=2.0.1 (:pr:`485`).

0.41.0

*******************

Features:

- Allow multiple responses with same status code and different content types
(:pr:`481`).
- Set ``stacklevel`` in calls to warnings/warn (:pr:`462`).

Other changes:

- Officially support Python 3.11 (:pr:`416`).

0.40.0

+++++++++++++++++++

Features:

- Support apispec 6.0.0 (:pr:`408`).
- Document webargs's ``DelimitedList`` (:pr:`409`).
- *Backwards-incompatible*: Rework ETag feature. Drop the "ETag computed with
API response data using another schema" case and allow decorating a whole
``MethodView`` at once rather than decorating each method. (:pr:`394`)

Other changes:

- *Backwards-incompatible*: Drop apispec < 6.0.0 (:pr:`408`).
- *Backwards-incompatible*: Drop marshmallow < 3.18.0 (:pr:`410`).

0.39.0

+++++++++++++++++++

Features:

- Use ``g`` rather than ``_app_ctx_stack.top``. The latter is deprecated in
Flask 2.2 (:pr:`392`).
- Use standard ``json`` rather than ``flask.json`` to generate ETag data.
Our use of ``flask.json`` is broken in Flask 2.2. Also always sort keys when
serializing data for ETag computation (this reverts :pr:`305`). ETag is now
insensitive to payload dict order. (:pr:`393`)

Bug fixes:

- Import `MethodView` from flask rather than `MethodViewType`` which is removed
in Flask 2.2 (:pr:`387`).
Thanks :user:`0x78f1935` for the contribution.

0.38.1

+++++++++++++++++++

Features:

- Add ``format`` argument to ``flask openapi print`` and
``flask openapi write`` commands to provide a YAML output (:pr:`367`).
Thanks :user:`derlikh-smart` for the contribution.

0.38.0

+++++++++++++++++++

Features:

- Support nested blueprints documentation (:pr:`341`).
Thanks :user:`Cnoor0171` for the PR.

Page 2 of 14

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.