Skip to content
Myr

Merge pull request #4500 from pallets/release-2.1.0

Before adoption: this commit came in with the history the project adopted, so no landing records it.

release version 2.1.0

authored by David Lord · committed by GitHub · parents 41aaaf7, 7d264d7 · Browse files · 4 files+7 added−6 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+7 added−6 removed

  • other:+7 added−6 removed

4 files+7 added−6 removed

modified:src/flask/__init__.py+1 added-1 removed
40 unmodified lines
41from .signals import template_rendered as template_rendered42from .templating import render_template as render_template43from .templating import render_template_string as render_template_string4445__version__ = "2.1.0.dev0"45__version__ = "2.1.0"
modified:src/flask/wrappers.py+1 added-1 removed
121 unmodified lines
122 from .debughelpers import attach_enctype_error_multidict123124 attach_enctype_error_multidict(self)125126 def on_json_loading_failed(self, e: ValueError) -> t.Any:126 def on_json_loading_failed(self, e: t.Optional[ValueError]) -> t.Any:127 try:128 return super().on_json_loading_failed(e)129 except BadRequest as e:130 if current_app and current_app.debug:
41 unmodified lines
modified:CHANGES.rst+1 added-1 removed
1 unmodified line
23Version 2.1.04-------------56Unreleased6Released 2022-03-2878- Drop support for Python 3.6. :pr:`4335`9- Update Click dependency to >= 8.0. :pr:`4008`10- Remove previously deprecated code. :pr:`4337`
1254 unmodified lines
modified:tox.ini+4 added-3 removed
12 unmodified lines
13 -r requirements/tests.txt14 min: -r requirements/tests-pallets-min.txt15 dev: -r requirements/tests-pallets-dev.txt1617 examples/tutorial[test]18 examples/javascript[test]19commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs:tests examples}17# examples/tutorial[test]18# examples/javascript[test]19# commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs:tests examples}20commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs:tests}2122[testenv:style]23deps = pre-commit24skip_install = true
9 unmodified lines