deprecate RequestContext.g

This commit is contained in:
David Lord 2021-11-16 07:35:02 -08:00
parent 04c6a85518
commit c8ddb948f6
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
2 changed files with 22 additions and 2 deletions

View file

@ -29,6 +29,8 @@ Unreleased
- ``add_etags`` is renamed to ``etag``.
- ``filename`` is renamed to ``path``.
- The ``RequestContext.g`` property is deprecated. Use ``g`` directly
or ``AppContext.g`` instead. :issue:`3898`
- ``copy_current_request_context`` can decorate async functions.
:pr:`4303`