remove deprecated send_file argument names

This commit is contained in:
David Lord 2022-07-01 13:59:44 -07:00
parent 9e686d93b6
commit c2810ffdd2
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
2 changed files with 13 additions and 65 deletions

View file

@ -7,7 +7,13 @@ Unreleased
- Remove previously deprecated code. :pr:`4337`
- The ``RequestContext.g`` proxy to ``AppContext.g`` is removed.
- Old names for some ``send_file`` parameters have been removed.
``download_name`` replaces ``attachment_filename``, ``max_age``
replaces ``cache_timeout``, and ``etag`` replaces ``add_etags``.
Additionally, ``path`` replaces ``filename`` in
``send_from_directory``.
- The ``RequestContext.g`` property returning ``AppContext.g`` is
removed.
- Add new customization points to the ``Flask`` app object for many
previously global behaviors.