- Allow multiple responses with same status code and different content types (:pr:`481`). - Set ``stacklevel`` in calls to warnings/warn (:pr:`462`).
Other changes:
- Official Python 3.11 support (: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.
0.37.0
+++++++++++++++++++
Features:
- Add ``content_type`` argument to ``response`` and ``alt_response``, to document a response content type that differs from the default one. It can be used to document a file response. (:pr:`330`).