Skip to content

Bump flask from 2.0.1 to 2.0.3

dependabot requested to merge dependabot-pip-flask-2.0.3 into main

Bumps flask from 2.0.1 to 2.0.3.

Release notes

Sourced from flask's releases.

2.0.3

2.0.2

Changelog

Sourced from flask's changelog.

Version 2.0.3

Released 2022-02-14

  • 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. 🇵🇷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
Commits
  • ef557b3 Merge pull request #4449 from pallets/release-2.0.3
  • 702d973 release version 2.0.3
  • c15f74c Merge pull request #4448 from pallets/testing-docs
  • 761d7e1 rewrite testing docs
  • d6496c8 Merge pull request #4443 from pallets/update-requirements
  • 1fd8654 stop using dependabot for python, too noisy
  • 9256747 cache pip with setup-python action
  • 426a1e2 fix pytest 7 warnings
  • 6f7d99c use pip-compile-multi for requirements
  • 528db86 Merge pull request #4442 from pallets/pre-commit-ci-update-config
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports