Flask-smorest

Latest version: v0.44.0

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

Scan your dependencies

Page 5 of 13

0.28.0

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

Features:

- Pass ``Api`` instance to _prepare_*_doc callbacks (:pr:`222`).
- Allow the user to opt-out of the feature adding a default error to each
response and allow customization of the default error name (:pr:`222`).
- *Backwards-incompatible*: Only add referenced default responses to the spec,
using ``ResponseReferencesPlugin``. (:pr:`208`)
Thanks :user:`lindycoder` for the pull-request.

Bug fixes:

* Document error response even if ``response`` decorator is not used
(:pr:`222`).

0.27.0

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

Bug fixes:

- Don't pass field metadata as kwargs (deprecated in marshmallow 3.10.0)
(:pr:`205`).

Other changes:

- *Backwards-incompatible*: Require marshmallow >= 3.10.0 (:pr:`205`).

0.26.0

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

Features:

- *Backwards-incompatible*: Use warnings.warn rather than log warnings in
application log (:pr:`194`).

Other changes:

- *Backwards-incompatible*: Support webargs 7. Drop support for webargs 6.
The main change is about management of unknown fields in requests. Users
should refer to webargs documentation, sections
`Upgrading to 7.0 <https://webargs.readthedocs.io/en/latest/upgrading.html#upgrading-to-7-0>`_
and
`Setting unknown <https://webargs.readthedocs.io/en/latest/advanced.html#advanced-setting-unknown>`_.
(:pr:`203`)

0.25.1

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

Features:

- Official Python 3.9 support (:pr:`195`).

Other changes:

- Bound dependencies versions in setup.py (:pr:`202`).

0.25.0

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

Features:

- *Backwards-incompatible*: Rework Werkzeug converters documentation to make
it more extensible and document converter parameters (:pr:`182`).
- *Backwards-incompatible*: Don't document ``int`` format as ``"int32"`` and
``float`` format as ``"float"``, as those are platform-dependent (:pr:`188`).
- Document Werkzeug's ``AnyConverter`` (:pr:`191`).

Other changes:

- *Backwards-incompatible*: Drop support for marshmallow 2.
- *Backwards-incompatible*: Drop support for apispec 3.

0.24.1

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

Bug fixes:

- Fix bug introduced in 0.24.0 preventing setting a status code or header when
returning a ``Response`` object. (:pr:`178`).
Thanks :user:`marksantcroos` for reporting.

Page 5 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.