Re-add filename param for send_from_directory

Add a deprecation warning for the old name
This commit is contained in:
Grey Li 2021-05-12 19:04:20 +08:00 committed by David Lord
parent 80d9519a9c
commit fc82dd50e3
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
2 changed files with 19 additions and 1 deletions

View file

@ -5,6 +5,10 @@ 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`
Version 2.0.0
-------------