Merge remote-tracking branch 'origin/2.0.x'

This commit is contained in:
David Lord 2021-05-13 16:01:23 -07:00
commit 4240ace597
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
14 changed files with 202 additions and 163 deletions

View file

@ -13,6 +13,22 @@ Version 2.0.1
Unreleased
- Re-add the ``filename`` parameter in ``send_from_directory``. The
``filename`` parameter has been renamed to ``path``, the old name
is deprecated. :pr:`4019`
- Mark top-level names as exported so type checking understands
imports in user projects. :issue:`4024`
- Fix type annotation for ``g`` and inform mypy that it is a namespace
object that has arbitrary attributes. :issue:`4020`
- Fix some types that weren't available in Python 3.6.0. :issue:`4040`
- Improve typing for ``send_file``, ``send_from_directory``, and
``get_send_file_max_age``. :issue:`4044`, :pr:`4026`
- Show an error when a blueprint name contains a dot. The ``.`` has
special meaning, it is used to separate (nested) blueprint names and
the endpoint name. :issue:`4041`
- Combine URL prefixes when nesting blueprints that were created with
a ``url_prefix`` value. :issue:`4037`
Version 2.0.0
-------------