forked from orbit-oss/flask
Merge remote-tracking branch 'origin/2.0.x'
This commit is contained in:
commit
4240ace597
14 changed files with 202 additions and 163 deletions
16
CHANGES.rst
16
CHANGES.rst
|
|
@ -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
|
||||
-------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue