The test client's as_tuple parameter is deprecated and will be
removed in Werkzeug 2.1. It is now also deprecated in Flask, to be
removed in Flask 2.1, while remaining compatible with both in
2.0.x. Use response.request.environ instead. :pr:4341
Fix type annotation for errorhandler decorator. :issue:4295
Revert a change to the CLI that caused it to hide ImportError
tracebacks when importing the application. :issue:4307
app.json_encoder and json_decoder are only passed to
dumps and loads if they have custom behavior. This improves
performance, mainly on PyPy. :issue:4349
Clearer error message when after_this_request is used outside a
request context. :issue:4333
Version 2.0.2
Released 2021-10-04
Fix type annotation for teardown_* methods. :issue:4093
Fix type annotation for before_request and before_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 accept pathlib.Path.
:issue:4150
jsonify handles decimal.Decimal by encoding to str.
:issue:4157
Correctly handle raising deferred errors in CLI lazy loading.
:issue:4096
The CLI loader handles **kwargs in a create_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
Version 2.0.1
Released 2021-05-21
... (truncated)
Commits
ef557b3 Merge pull request #4449 from pallets/release-2.0.3
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on flask to permit the latest version.
Release notes
Sourced from flask's releases.
Changelog
Sourced from flask's changelog.
... (truncated)
Commits
ef557b3
Merge pull request #4449 from pallets/release-2.0.3702d973
release version 2.0.3c15f74c
Merge pull request #4448 from pallets/testing-docs761d7e1
rewrite testing docsd6496c8
Merge pull request #4443 from pallets/update-requirements1fd8654
stop using dependabot for python, too noisy9256747
cache pip with setup-python action426a1e2
fix pytest 7 warnings6f7d99c
use pip-compile-multi for requirements528db86
Merge pull request #4442 from pallets/pre-commit-ci-update-configDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)