Flask v2.0.2 Release Notes
-
๐ Released 2021-10-04
- Fix type annotation for
teardown_*
methods. :issue:4093
- Fix type annotation for
before_request
andbefore_app_request
decorators. :issue:4104
- ๐ Fixed the issue where typing requires template global
decorators to accept functions with no arguments. :issue:
4098
- ๐ Support View and MethodView instances with async handlers. :issue:
4112
- โจ Enhance typing of
app.errorhandler
decorator. :issue:4095
- ๐จ Fix registering a blueprint twice with differing names. :issue:
4124
- Fix the type of
static_folder
to acceptpathlib.Path
. :issue:4150
-
jsonify
handlesdecimal.Decimal
by encoding tostr
. :issue:4157
- Correctly handle raising deferred errors in CLI lazy loading.
:issue:
4096
- The CLI loader handles
**kwargs
in acreate_app
function. :issue:4170
- Fix the order of
before_request
and other callbacks that trigger before the view returns. They are called from the app down to the closest nested blueprint. :issue:4229
- Fix type annotation for