|
|
@ -8,16 +8,19 @@ Version 0.13 |
|
|
|
|
|
|
|
|
|
|
|
Major release, unreleased |
|
|
|
Major release, unreleased |
|
|
|
|
|
|
|
|
|
|
|
- Make `app.run()` into a noop if a Flask application is run from the |
|
|
|
- Minimum Werkzeug version bumped to 0.9, but please use the latest version. |
|
|
|
development server on the command line. This avoids some behavior that |
|
|
|
- Minimum Click version bumped to 4, but please use the latest version. |
|
|
|
|
|
|
|
- Make ``app.run()`` into a noop if a Flask application is run from the |
|
|
|
|
|
|
|
development server on the command line. This avoids some behavior that |
|
|
|
was confusing to debug for newcomers. |
|
|
|
was confusing to debug for newcomers. |
|
|
|
- Change default configuration `JSONIFY_PRETTYPRINT_REGULAR=False`. jsonify() |
|
|
|
- Change default configuration ``JSONIFY_PRETTYPRINT_REGULAR=False``. |
|
|
|
method returns compressed response by default, and pretty response in |
|
|
|
``jsonify()`` method returns compressed response by default, and pretty |
|
|
|
debug mode. |
|
|
|
response in debug mode. (`#2193`_) |
|
|
|
- Change Flask.__init__ to accept two new keyword arguments, ``host_matching`` |
|
|
|
- Change ``Flask.__init__`` to accept two new keyword arguments, |
|
|
|
and ``static_host``. This enables ``host_matching`` to be set properly by the |
|
|
|
``host_matching`` and ``static_host``. This enables ``host_matching`` to be |
|
|
|
time the constructor adds the static route, and enables the static route to |
|
|
|
set properly by the time the constructor adds the static route, and enables |
|
|
|
be properly associated with the required host. (``#1559``) |
|
|
|
the static route to be properly associated with the required host. |
|
|
|
|
|
|
|
(``#1559``) |
|
|
|
- ``send_file`` supports Unicode in ``attachment_filename``. (`#2223`_) |
|
|
|
- ``send_file`` supports Unicode in ``attachment_filename``. (`#2223`_) |
|
|
|
- Pass ``_scheme`` argument from ``url_for`` to ``handle_build_error``. |
|
|
|
- Pass ``_scheme`` argument from ``url_for`` to ``handle_build_error``. |
|
|
|
(`#2017`_) |
|
|
|
(`#2017`_) |
|
|
@ -46,19 +49,34 @@ Major release, unreleased |
|
|
|
work with the ``flask`` command. If they take a single parameter or a |
|
|
|
work with the ``flask`` command. If they take a single parameter or a |
|
|
|
parameter named ``script_info``, the ``ScriptInfo`` object will be passed. |
|
|
|
parameter named ``script_info``, the ``ScriptInfo`` object will be passed. |
|
|
|
(`#2319`_) |
|
|
|
(`#2319`_) |
|
|
|
- FLASK_APP=myproject.app:create_app('dev') support. |
|
|
|
- ``FLASK_APP`` can be set to an app factory, with arguments if needed, for |
|
|
|
|
|
|
|
example ``FLASK_APP=myproject.app:create_app('dev')``. (`#2326`_) |
|
|
|
|
|
|
|
- ``View.provide_automatic_options = True`` is set on the view function from |
|
|
|
|
|
|
|
``View.as_view``, to be detected in ``app.add_url_rule``. (`#2316`_) |
|
|
|
|
|
|
|
- Error handling will try handlers registered for ``blueprint, code``, |
|
|
|
|
|
|
|
``app, code``, ``blueprint, exception``, ``app, exception``. (`#2314`_) |
|
|
|
|
|
|
|
- ``Cookie`` is added to the response's ``Vary`` header if the session is |
|
|
|
|
|
|
|
accessed at all during the request (and it wasn't deleted). (`#2288`_) |
|
|
|
|
|
|
|
- ``app.test_request_context()`` take ``subdomain`` and ``url_scheme`` |
|
|
|
|
|
|
|
parameters for use when building base URL. (`#1621`_) |
|
|
|
|
|
|
|
|
|
|
|
.. _#1489: https://github.com/pallets/flask/pull/1489 |
|
|
|
.. _#1489: https://github.com/pallets/flask/pull/1489 |
|
|
|
|
|
|
|
.. _#1621: https://github.com/pallets/flask/pull/1621 |
|
|
|
.. _#1898: https://github.com/pallets/flask/pull/1898 |
|
|
|
.. _#1898: https://github.com/pallets/flask/pull/1898 |
|
|
|
.. _#1936: https://github.com/pallets/flask/pull/1936 |
|
|
|
.. _#1936: https://github.com/pallets/flask/pull/1936 |
|
|
|
.. _#2017: https://github.com/pallets/flask/pull/2017 |
|
|
|
.. _#2017: https://github.com/pallets/flask/pull/2017 |
|
|
|
|
|
|
|
.. _#2193: https://github.com/pallets/flask/pull/2193 |
|
|
|
.. _#2223: https://github.com/pallets/flask/pull/2223 |
|
|
|
.. _#2223: https://github.com/pallets/flask/pull/2223 |
|
|
|
.. _#2254: https://github.com/pallets/flask/pull/2254 |
|
|
|
.. _#2254: https://github.com/pallets/flask/pull/2254 |
|
|
|
.. _#2256: https://github.com/pallets/flask/pull/2256 |
|
|
|
.. _#2256: https://github.com/pallets/flask/pull/2256 |
|
|
|
.. _#2259: https://github.com/pallets/flask/pull/2259 |
|
|
|
.. _#2259: https://github.com/pallets/flask/pull/2259 |
|
|
|
.. _#2282: https://github.com/pallets/flask/pull/2282 |
|
|
|
.. _#2282: https://github.com/pallets/flask/pull/2282 |
|
|
|
|
|
|
|
.. _#2288: https://github.com/pallets/flask/pull/2288 |
|
|
|
.. _#2297: https://github.com/pallets/flask/pull/2297 |
|
|
|
.. _#2297: https://github.com/pallets/flask/pull/2297 |
|
|
|
|
|
|
|
.. _#2314: https://github.com/pallets/flask/pull/2314 |
|
|
|
|
|
|
|
.. _#2316: https://github.com/pallets/flask/pull/2316 |
|
|
|
.. _#2319: https://github.com/pallets/flask/pull/2319 |
|
|
|
.. _#2319: https://github.com/pallets/flask/pull/2319 |
|
|
|
|
|
|
|
.. _#2326: https://github.com/pallets/flask/pull/2326 |
|
|
|
|
|
|
|
|
|
|
|
Version 0.12.2 |
|
|
|
Version 0.12.2 |
|
|
|
-------------- |
|
|
|
-------------- |
|
|
|