Releases: marshmallow-code/flask-smorest
Releases · marshmallow-code/flask-smorest
0.24.1
0.24.0
Features:
- Backwards-incompatible: Add
OPENAPI_SWAGGER_UI_CONFIG
to allow passing
a dict of Swagger UI configuration parameters. Remove
OPENAPI_SWAGGER_UI_SUPPORTED_SUBMIT_METHODS
: the same can be achieved by
passingsupportedSubmitMethods
inOPENAPI_SWAGGER_UI_CONFIG
. Remove
layout
anddeepLinking
default overrides. Those can be passed in
OPENAPI_SWAGGER_UI_CONFIG
as well. (:pr:171
).
Thanks :user:joshua-harrison-2011
for the pull-request.
0.23.0
Features:
-
Backwards-incompatible: Make API title and version mandatory parameters.
Before this change, the version would default to"1"
and the title would
beapp.name
. Those two parameters can be passed at init or as application
configuration parametersTITLE
andAPI_VERSION
. Also rename
OpenAPIVersionNotSpecified
asMissingAPIParameterError
. (:pr:169
).
Thanks :user:playpauseandstop
for the help on this. -
Backwards-incompatible: Rework pagination documentation to allow more
customization. This change will break code overriding
PAGINATION_HEADER_DOC
,_make_pagination_header
or
_prepare_pagination_doc
(:pr:153
).
0.22.0
0.21.2
0.21.1
0.21.0
0.20.0
Bug fixes:
- Backwards-incompatible: Use
HTTPStatus
name
rather thanphrase
to name error components. This fixes an issue due tophrase
containing
spaces not being URL-encoded. Also changeDefaultError
into
DEFAULT_ERROR
for consistency. This change will break code referencing
one of those errors. (:issue:136
).
Thanks :user:michelle-avery
for reporting.
Other changes:
- Backwards-incompatible: Remove
OPENAPI_REDOC_VERSION
and
OPENAPI_SWAGGER_UI_VERSION
. Remove hardcoded CDNs. Users should modify
their code to useOPENAPI_REDOC_URL
andOPENAPI_SWAGGER_UI_URL
instead. The docs provide examples of CDN URLs. (:issue:134
).