All notable changes to restx-monkey project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
fix_werkzeug_url_coders
is not affected by flask version now
- Introduced switch
fix_werkzeug_url_coders
(defaultFalse
)- inject
werkzeug.urls.url_decode
,werkzeug.urls.url_encode
if these functions are missing - disabled by default because it is not required by
flask-restx
and new functions does not have exact same headers - fixes error:
ImportError: cannot import name 'url_decode' from 'werkzeug.urls'
ImportError: cannot import name 'url_encode' from 'werkzeug.urls'
- inject
fix_endpoint_from_view
now works for any version of flask
-
New
flask
andwerkzeug
3.0+
patches. -
Introduced switch
fix_endpoint_from_view=True
:- inject
_endpoint_from_view_func
toflask.helpers
becauseflask
3.0 moved it - fixes error:
ModuleNotFoundError: No module named 'flask.scaffold'
- inject
-
Introduced switch
inject_versions=True
:- put back missing
__version__
to flask and werkzeug; original error - fixes error:
DeprecationWarning: jsonschema.RefResolver is deprecated
- put back missing
- Separate
requirments-dev.txt
from basic requirements.
- Set LICENSE to BSD-3-Clause.
- Use latest droid fonts for Swagger UI.
- Patch to override
static
directory offlask-restx
with last Swagger UI.
- Extend
reqparse
patch to pattern is properly set on list objects, thanks to alexissavin for noticing this. - Better test coverage to 100%.
- Release project to pypi
- Patch
flask_restx.reqparse.Argument
failing onjson
location when there is norequest
json body.
- Module
monkey
to perform patches offlask-rest
. - Patch fatal import error of missing module
werkzeug.routing.parse_rule
. - Patch deprecated
flask_restx.api.Api
appending of swagger documentationApi._register_doc
after Api is bound to flask app or blueprint.
- begin of changelog