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 101b5ded09
commit 811bc1b01c
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
-------------