Merge branch '2.2.x'
This commit is contained in:
commit
36af821edf
3 changed files with 5 additions and 9 deletions
|
|
@ -7,8 +7,11 @@ Unreleased
|
||||||
Version 2.2.2
|
Version 2.2.2
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
Unreleased
|
Released 2022-08-08
|
||||||
|
|
||||||
|
- Update Werkzeug dependency to >= 2.2.2. This includes fixes related
|
||||||
|
to the new faster router, header parsing, and the development
|
||||||
|
server. :pr:`4754`
|
||||||
- Fix the default value for ``app.env`` to be ``"production"``. This
|
- Fix the default value for ``app.env`` to be ``"production"``. This
|
||||||
attribute remains deprecated. :issue:`4740`
|
attribute remains deprecated. :issue:`4740`
|
||||||
|
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -4,7 +4,7 @@ from setuptools import setup
|
||||||
setup(
|
setup(
|
||||||
name="Flask",
|
name="Flask",
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"Werkzeug >= 2.2.0",
|
"Werkzeug >= 2.2.2",
|
||||||
"Jinja2 >= 3.0",
|
"Jinja2 >= 3.0",
|
||||||
"itsdangerous >= 2.0",
|
"itsdangerous >= 2.0",
|
||||||
"click >= 8.0",
|
"click >= 8.0",
|
||||||
|
|
|
||||||
|
|
@ -719,13 +719,6 @@ def show_server_banner(debug, app_import_path):
|
||||||
if is_running_from_reloader():
|
if is_running_from_reloader():
|
||||||
return
|
return
|
||||||
|
|
||||||
click.secho(
|
|
||||||
"WARNING: This is a development server. Do not use it in a production"
|
|
||||||
" deployment. Use a production WSGI server instead.",
|
|
||||||
fg="red",
|
|
||||||
bold=True,
|
|
||||||
)
|
|
||||||
|
|
||||||
if app_import_path is not None:
|
if app_import_path is not None:
|
||||||
click.echo(f" * Serving Flask app '{app_import_path}'")
|
click.echo(f" * Serving Flask app '{app_import_path}'")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue