Add files via upload
This commit is contained in:
parent
cc66213e57
commit
4779fc42d0
3 changed files with 9 additions and 45 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
ci:
|
ci:
|
||||||
autoupdate_branch: "2.2.x"
|
autoupdate_branch: "2.1.x"
|
||||||
autoupdate_schedule: monthly
|
autoupdate_schedule: monthly
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
|
|
@ -16,11 +16,11 @@ repos:
|
||||||
args: ["--application-directories", "src"]
|
args: ["--application-directories", "src"]
|
||||||
additional_dependencies: ["setuptools>60.9"]
|
additional_dependencies: ["setuptools>60.9"]
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 22.8.0
|
rev: 22.6.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
- repo: https://github.com/PyCQA/flake8
|
- repo: https://github.com/PyCQA/flake8
|
||||||
rev: 5.0.4
|
rev: 5.0.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
|
|
|
||||||
46
CHANGES.rst
46
CHANGES.rst
|
|
@ -1,45 +1,9 @@
|
||||||
Version 2.3.0
|
|
||||||
-------------
|
|
||||||
|
|
||||||
Unreleased
|
|
||||||
|
|
||||||
|
|
||||||
Version 2.2.3
|
|
||||||
-------------
|
|
||||||
|
|
||||||
Unreleased
|
|
||||||
|
|
||||||
- Autoescaping is now enabled by default for ``.svg`` files. Inside
|
|
||||||
templates this behavior can be changed with the ``autoescape`` tag.
|
|
||||||
:issue:`4831`
|
|
||||||
|
|
||||||
Version 2.2.2
|
|
||||||
-------------
|
|
||||||
|
|
||||||
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
|
|
||||||
attribute remains deprecated. :issue:`4740`
|
|
||||||
|
|
||||||
|
|
||||||
Version 2.2.1
|
|
||||||
-------------
|
|
||||||
|
|
||||||
Released 2022-08-03
|
|
||||||
|
|
||||||
- Setting or accessing ``json_encoder`` or ``json_decoder`` raises a
|
|
||||||
deprecation warning. :issue:`4732`
|
|
||||||
|
|
||||||
|
|
||||||
Version 2.2.0
|
Version 2.2.0
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
Released 2022-08-01
|
Released 2022-08-01
|
||||||
|
|
||||||
- Remove previously deprecated code. :pr:`4667`
|
- Remove previously deprecated code. :pr:`4337`
|
||||||
|
|
||||||
- Old names for some ``send_file`` parameters have been removed.
|
- Old names for some ``send_file`` parameters have been removed.
|
||||||
``download_name`` replaces ``attachment_filename``, ``max_age``
|
``download_name`` replaces ``attachment_filename``, ``max_age``
|
||||||
|
|
@ -80,18 +44,18 @@ Released 2022-08-01
|
||||||
provider can be set to use a different JSON library.
|
provider can be set to use a different JSON library.
|
||||||
``flask.jsonify`` will call ``app.json.response``, other
|
``flask.jsonify`` will call ``app.json.response``, other
|
||||||
functions in ``flask.json`` will call corresponding functions in
|
functions in ``flask.json`` will call corresponding functions in
|
||||||
``app.json``. :pr:`4692`
|
``app.json``. :pr:`4688`
|
||||||
|
|
||||||
- JSON configuration is moved to attributes on the default
|
- JSON configuration is moved to attributes on the default
|
||||||
``app.json`` provider. ``JSON_AS_ASCII``, ``JSON_SORT_KEYS``,
|
``app.json`` provider. ``JSON_AS_ASCII``, ``JSON_SORT_KEYS``,
|
||||||
``JSONIFY_MIMETYPE``, and ``JSONIFY_PRETTYPRINT_REGULAR`` are
|
``JSONIFY_MIMETYPE``, and ``JSONIFY_PRETTYPRINT_REGULAR`` are
|
||||||
deprecated. :pr:`4692`
|
deprecated. :pr:`4688`
|
||||||
- Setting custom ``json_encoder`` and ``json_decoder`` classes on the
|
- Setting custom ``json_encoder`` and ``json_decoder`` classes on the
|
||||||
app or a blueprint, and the corresponding ``json.JSONEncoder`` and
|
app or a blueprint, and the corresponding ``json.JSONEncoder`` and
|
||||||
``JSONDecoder`` classes, are deprecated. JSON behavior can now be
|
``JSONDecoder`` classes, are deprecated. JSON behavior can now be
|
||||||
overridden using the ``app.json`` provider interface. :pr:`4692`
|
overridden using the ``app.json`` provider interface. :pr:`4688`
|
||||||
- ``json.htmlsafe_dumps`` and ``json.htmlsafe_dump`` are deprecated,
|
- ``json.htmlsafe_dumps`` and ``json.htmlsafe_dump`` are deprecated,
|
||||||
the function is built-in to Jinja now. :pr:`4692`
|
the function is built-in to Jinja now. :pr:`4688`
|
||||||
- Refactor ``register_error_handler`` to consolidate error checking.
|
- Refactor ``register_error_handler`` to consolidate error checking.
|
||||||
Rewrite some error messages to be more consistent. :issue:`4559`
|
Rewrite some error messages to be more consistent. :issue:`4559`
|
||||||
- Use Blueprint decorators and functions intended for setup after
|
- Use Blueprint decorators and functions intended for setup after
|
||||||
|
|
|
||||||
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.2",
|
"Werkzeug >= 2.2.0",
|
||||||
"Jinja2 >= 3.0",
|
"Jinja2 >= 3.0",
|
||||||
"itsdangerous >= 2.0",
|
"itsdangerous >= 2.0",
|
||||||
"click >= 8.0",
|
"click >= 8.0",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue