pass context through dispatch methods
This commit is contained in:
parent
adf363679d
commit
6a64969009
6 changed files with 167 additions and 72 deletions
|
|
@ -9,6 +9,11 @@ Unreleased
|
|||
a deprecated alias. If an app context is already pushed, it is not reused
|
||||
when dispatching a request. This greatly simplifies the internal code for tracking
|
||||
the active context. :issue:`5639`
|
||||
- Many ``Flask`` methods involved in request dispatch now take the current
|
||||
``AppContext`` as the first parameter, instead of using the proxy objects.
|
||||
If subclasses were overriding these methods, the old signature is detected,
|
||||
shows a deprecation warning, and will continue to work during the
|
||||
deprecation period. :issue:`5815`
|
||||
- ``template_filter``, ``template_test``, and ``template_global`` decorators
|
||||
can be used without parentheses. :issue:`5729`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue