Skip to content
Myr

update changelog

Before adoption: this commit came in with the history the project adopted, so no landing records it.

[ci skip]

authored by David Lord · committed by David Lord · parent 9038914 · Browse files · 2 files+29 added−10 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+29 added−10 removed

  • other:+29 added−10 removed

2 files+29 added−10 removed

modified:CHANGES+28 added-10 removed
6 unmodified lines
7------------89Major release, unreleased1011- Minimum Werkzeug version bumped to 0.9, but please use the latest version.12- Minimum Click version bumped to 4, but please use the latest version.11- Make `app.run()` into a noop if a Flask application is run from the12 development server on the command line. This avoids some behavior that13- Make ``app.run()`` into a noop if a Flask application is run from the14 development server on the command line. This avoids some behavior that15 was confusing to debug for newcomers.14- Change default configuration `JSONIFY_PRETTYPRINT_REGULAR=False`. jsonify()15 method returns compressed response by default, and pretty response in16 debug mode.17- Change Flask.__init__ to accept two new keyword arguments, ``host_matching``18 and ``static_host``. This enables ``host_matching`` to be set properly by the19 time the constructor adds the static route, and enables the static route to20 be properly associated with the required host. (``#1559``)16- Change default configuration ``JSONIFY_PRETTYPRINT_REGULAR=False``.17 ``jsonify()`` method returns compressed response by default, and pretty18 response in debug mode. (`#2193`_)19- Change ``Flask.__init__`` to accept two new keyword arguments,20 ``host_matching`` and ``static_host``. This enables ``host_matching`` to be21 set properly by the time the constructor adds the static route, and enables22 the static route to be properly associated with the required host.23 (``#1559``)24- ``send_file`` supports Unicode in ``attachment_filename``. (`#2223`_)25- Pass ``_scheme`` argument from ``url_for`` to ``handle_build_error``.26 (`#2017`_)27- Add support for ``provide_automatic_options`` in ``add_url_rule`` to disable
20 unmodified lines
48- Factory functions are not required to take a ``script_info`` parameter to49 work with the ``flask`` command. If they take a single parameter or a50 parameter named ``script_info``, the ``ScriptInfo`` object will be passed.51 (`#2319`_)49- FLASK_APP=myproject.app:create_app('dev') support. 52- ``FLASK_APP`` can be set to an app factory, with arguments if needed, for53 example ``FLASK_APP=myproject.app:create_app('dev')``. (`#2326`_)54- ``View.provide_automatic_options = True`` is set on the view function from55 ``View.as_view``, to be detected in ``app.add_url_rule``. (`#2316`_)56- Error handling will try handlers registered for ``blueprint, code``,57 ``app, code``, ``blueprint, exception``, ``app, exception``. (`#2314`_)58- ``Cookie`` is added to the response's ``Vary`` header if the session is59 accessed at all during the request (and it wasn't deleted). (`#2288`_)60- ``app.test_request_context()`` take ``subdomain`` and ``url_scheme``61 parameters for use when building base URL. (`#1621`_)6263.. _#1489: https://github.com/pallets/flask/pull/148964.. _#1621: https://github.com/pallets/flask/pull/162165.. _#1898: https://github.com/pallets/flask/pull/189866.. _#1936: https://github.com/pallets/flask/pull/193667.. _#2017: https://github.com/pallets/flask/pull/201768.. _#2193: https://github.com/pallets/flask/pull/219369.. _#2223: https://github.com/pallets/flask/pull/222370.. _#2254: https://github.com/pallets/flask/pull/225471.. _#2256: https://github.com/pallets/flask/pull/225672.. _#2259: https://github.com/pallets/flask/pull/225973.. _#2282: https://github.com/pallets/flask/pull/228274.. _#2288: https://github.com/pallets/flask/pull/228875.. _#2297: https://github.com/pallets/flask/pull/229776.. _#2314: https://github.com/pallets/flask/pull/231477.. _#2316: https://github.com/pallets/flask/pull/231678.. _#2319: https://github.com/pallets/flask/pull/231979.. _#2326: https://github.com/pallets/flask/pull/23268081Version 0.12.282--------------83
617 unmodified lines
modified:setup.py+1 added
97 unmodified lines
98 'Programming Language :: Python :: 3',99 'Programming Language :: Python :: 3.3',100 'Programming Language :: Python :: 3.4',101 'Programming Language :: Python :: 3.5',102 'Programming Language :: Python :: 3.6',103 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',104 'Topic :: Software Development :: Libraries :: Python Modules'105 ],106 entry_points='''
4 unmodified lines