Merge branch '2.0.x'

This commit is contained in:
David Lord 2021-05-21 08:56:18 -07:00
commit 7161776824
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
10 changed files with 262 additions and 98 deletions

View file

@ -8,11 +8,17 @@ Unreleased
- Update Click dependency to >= 8.0.
Version 2.0.1
Version 2.0.2
-------------
Unreleased
Version 2.0.1
-------------
Released 2021-05-21
- Re-add the ``filename`` parameter in ``send_from_directory``. The
``filename`` parameter has been renamed to ``path``, the old name
is deprecated. :pr:`4019`
@ -33,6 +39,17 @@ Unreleased
available in custom URL converters. :issue:`4053`
- Re-add deprecated ``Config.from_json``, which was accidentally
removed early. :issue:`4078`
- Improve typing for some functions using ``Callable`` in their type
signatures, focusing on decorator factories. :issue:`4060`
- Nested blueprints are registered with their dotted name. This allows
different blueprints with the same name to be nested at different
locations. :issue:`4069`
- ``register_blueprint`` takes a ``name`` option to change the
(pre-dotted) name the blueprint is registered with. This allows the
same blueprint to be registered multiple times with unique names for
``url_for``. Registering the same blueprint with the same name
multiple times is deprecated. :issue:`1091`
- Improve typing for ``stream_with_context``. :issue:`4052`
Version 2.0.0