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 8 of 13

0.18.3

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

Features:

- Add default description to responses (:pr:`113`).
Thanks :user:`nonnib` for the pull-request.

0.18.2

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

Features:

- Official Python 3.8 support (:pr:`108`).

0.18.1

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

Bug fixes:

- Fix passing ``spec_kwargs`` in ``Api.__init__`` and ``app`` in
``Api.init_app`` (:issue:`103`).

0.18.0

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

Rename to `flask-smorest` (:issue:`42`).

0.17.0

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

Features:

- *Backwards-incompatible*: Only return status code and short name in error
handler (:pr:`84`).
- *Backwards-incompatible*: Remove logging from error handler. Logging can be
achieved in application code by overriding ``handle_http_exception``.
Remove ``_prepare_error_response_content``. Response payload is computed in
``handle_http_exception``. (:pr:`85`)
- *Backwards-incompatible*: Remove ``InvalidLocationError``. The mapping from
webargs locations to OAS locations is done in apispec and no exception is
raised if an invalid location is passed. (:pr:`81`)
- Add ``content_type`` argument to ``Blueprint.arguments`` and provide
reasonable default content type for ``form`` and ``files`` (:pr:`83`).
- Add ``description`` parameter to ``Blueprint.arguments`` to pass description
for ``requestBody`` (:pr:`93`).
- Allow customization of docstring delimiter string (:issue:`49`).
- Support file uploads as `multipart/form-data` (:pr:`97`).

Bug fixes:

- Fix documentation of ``form`` and ``files`` arguments: use ``requestBody``
in OAS3, document content type (:pr:`83`).

Other changes:

- *Backwards-incompatible*: Don't republish ``NestedQueryArgsParser`` anymore.
This belongs to user code and can be copied from webargs doc (:pr:`94`).
- *Backwards-incompatible*: Bump minimum apispec version to 3.0.0.

0.16.1

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

Bug fixes:

- Fix detection of unhandled exceptions in error handler for Flask=>1.1.0
(:pr:`82`).

Other changes:

- Bump minimum Flask version to 1.1.0. From this version on, uncaught
exceptions are passed to the error handler as ``InternalServerError`` with
the exception attached as ``original_exception`` attribute. (:pr:`82`)

Page 8 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.