|
|
@ -87,17 +87,17 @@ unreleased |
|
|
|
if ``app.jinja_env`` was already accessed. (`#2373`_) |
|
|
|
if ``app.jinja_env`` was already accessed. (`#2373`_) |
|
|
|
- The following old deprecated code was removed. (`#2385`_) |
|
|
|
- The following old deprecated code was removed. (`#2385`_) |
|
|
|
|
|
|
|
|
|
|
|
- ``flask.ext`` - import extensions directly by their name instead of |
|
|
|
- ``flask.ext`` - import extensions directly by their name instead of |
|
|
|
through the ``flask.ext`` namespace. For example, |
|
|
|
through the ``flask.ext`` namespace. For example, |
|
|
|
``import flask.ext.sqlalchemy`` becomes ``import flask_sqlalchemy``. |
|
|
|
``import flask.ext.sqlalchemy`` becomes ``import flask_sqlalchemy``. |
|
|
|
- ``Flask.init_jinja_globals`` - extend ``Flask.create_jinja_environment`` |
|
|
|
- ``Flask.init_jinja_globals`` - extend ``Flask.create_jinja_environment`` |
|
|
|
instead. |
|
|
|
instead. |
|
|
|
- ``Flask.error_handlers`` - tracked by ``Flask.error_handler_spec``, |
|
|
|
- ``Flask.error_handlers`` - tracked by ``Flask.error_handler_spec``, |
|
|
|
use ``@app.errorhandler`` to register handlers. |
|
|
|
use ``@app.errorhandler`` to register handlers. |
|
|
|
- ``Flask.request_globals_class`` - use ``Flask.app_ctx_globals_class`` |
|
|
|
- ``Flask.request_globals_class`` - use ``Flask.app_ctx_globals_class`` |
|
|
|
instead. |
|
|
|
instead. |
|
|
|
- ``Flask.static_path`` - use ``Flask.static_url_path`` instead. |
|
|
|
- ``Flask.static_path`` - use ``Flask.static_url_path`` instead. |
|
|
|
- ``Request.module`` - use ``Request.blueprint`` instead. |
|
|
|
- ``Request.module`` - use ``Request.blueprint`` instead. |
|
|
|
|
|
|
|
|
|
|
|
- The ``request.json`` property is no longer deprecated. (`#1421`_) |
|
|
|
- The ``request.json`` property is no longer deprecated. (`#1421`_) |
|
|
|
- Support passing an existing ``EnvironBuilder`` or ``dict`` to |
|
|
|
- Support passing an existing ``EnvironBuilder`` or ``dict`` to |
|
|
|