Releases: marshmallow-code/flask-smorest
Releases · marshmallow-code/flask-smorest
0.24.1
0.24.0
Features:
- Backwards-incompatible: Add
OPENAPI_SWAGGER_UI_CONFIGto allow passing
a dict of Swagger UI configuration parameters. Remove
OPENAPI_SWAGGER_UI_SUPPORTED_SUBMIT_METHODS: the same can be achieved by
passingsupportedSubmitMethodsinOPENAPI_SWAGGER_UI_CONFIG. Remove
layoutanddeepLinkingdefault overrides. Those can be passed in
OPENAPI_SWAGGER_UI_CONFIGas well. (:pr:171).
Thanks :user:joshua-harrison-2011for 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 parametersTITLEandAPI_VERSION. Also rename
OpenAPIVersionNotSpecifiedasMissingAPIParameterError. (:pr:169).
Thanks :user:playpauseandstopfor the help on this. -
Backwards-incompatible: Rework pagination documentation to allow more
customization. This change will break code overriding
PAGINATION_HEADER_DOC,_make_pagination_headeror
_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
HTTPStatusnamerather thanphrase
to name error components. This fixes an issue due tophrasecontaining
spaces not being URL-encoded. Also changeDefaultErrorinto
DEFAULT_ERRORfor consistency. This change will break code referencing
one of those errors. (:issue:136).
Thanks :user:michelle-averyfor reporting.
Other changes:
- Backwards-incompatible: Remove
OPENAPI_REDOC_VERSIONand
OPENAPI_SWAGGER_UI_VERSION. Remove hardcoded CDNs. Users should modify
their code to useOPENAPI_REDOC_URLandOPENAPI_SWAGGER_UI_URL
instead. The docs provide examples of CDN URLs. (:issue:134).