fix changelog indentation
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by David Lord · committed by David Lord · parent e102e5c · Browse files · 1 file·+153 added−147 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+153 added−147 removed
- other:+153 added−147 removed
Provenance
- Commit
1654937- Tree
d4daafb- Author
David Lord <davidism@gmail.com>- Committer
David Lord <davidism@gmail.com>- Parent
e102e5c
1 file changed+153 added−147 removed
modified:CHANGES.rst+153 added-147 removed
7 unmodified lines8 -----------9 10 unreleased11 12-- **Python 2.6 and 3.3 are no longer supported.** (`pallets/meta#24`_)13-- Bump minimum dependency versions to the latest stable versions:14- Werkzeug >= 0.14, Jinja >= 2.10, itsdangerous >= 0.24, Click >= 5.1.15- (`#2586`_)16-- Skip :meth:`app.run <Flask.run>` when a Flask application is run from17- the command line. This avoids some behavior that was confusing to18- debug.19-- Change the default for :data:`JSONIFY_PRETTYPRINT_REGULAR` to20- ``False``. :func:`~json.jsonify` returns a compact format by default,21- and an indented format in debug mode. (`#2193`_)22-- :meth:`Flask.__init__ <Flask>` accepts the ``host_matching`` argument23- and sets it on :attr:`~Flask.url_map`. (`#1559`_)24-- :meth:`Flask.__init__ <Flask>` accepts the ``static_host`` argument25- and passes it as the ``host`` argument when defining the static route.26- (`#1559`_)27-- :func:`send_file` supports Unicode in ``attachment_filename``.28- (`#2223`_)29-- Pass ``_scheme`` argument from :func:`url_for` to30- :meth:`~Flask.handle_url_build_error`. (`#2017`_)31-- :meth:`~Flask.add_url_rule` accepts the ``provide_automatic_options``32- argument to disable adding the ``OPTIONS`` method. (`#1489`_)33-- :class:`~views.MethodView` subclasses inherit method handlers from34- base classes. (`#1936`_)35-- Errors caused while opening the session at the beginning of the36- request are handled by the app's error handlers. (`#2254`_)37-- Blueprints gained :attr:`~Blueprint.json_encoder` and38- :attr:`~Blueprint.json_decoder` attributes to override the app's39- encoder and decoder. (`#1898`_)40-- :meth:`Flask.make_response` raises ``TypeError`` instead of41- ``ValueError`` for bad response types. The error messages have been42- improved to describe why the type is invalid. (`#2256`_)43-- Add ``routes`` CLI command to output routes registered on the44- application. (`#2259`_)45-- Show warning when session cookie domain is a bare hostname or an IP46- address, as these may not behave properly in some browsers, such as47- Chrome. (`#2282`_)48-- Allow IP address as exact session cookie domain. (`#2282`_)49-- ``SESSION_COOKIE_DOMAIN`` is set if it is detected through50- ``SERVER_NAME``. (`#2282`_)51-- Auto-detect zero-argument app factory called ``create_app`` or52- ``make_app`` from ``FLASK_APP``. (`#2297`_)53-- Factory functions are not required to take a ``script_info`` parameter54- to work with the ``flask`` command. If they take a single parameter or55- a parameter named ``script_info``, the :class:`~cli.ScriptInfo` object56- will be passed. (`#2319`_)57-- ``FLASK_APP`` can be set to an app factory, with arguments if needed,58- for example ``FLASK_APP=myproject.app:create_app('dev')``. (`#2326`_)59-- ``FLASK_APP`` can point to local packages that are not installed in60- editable mode, although ``pip install -e`` is still preferred.61- (`#2414`_)62-- The :class:`~views.View` class attribute63- :attr:`~views.View.provide_automatic_options` is set in64- :meth:`~views.View.as_view`, to be detected by65- :meth:`~Flask.add_url_rule`. (`#2316`_)66-- Error handling will try handlers registered for ``blueprint, code``,67- ``app, code``, ``blueprint, exception``, ``app, exception``.68- (`#2314`_)69-- ``Cookie`` is added to the response's ``Vary`` header if the session70- is accessed at all during the request (and not deleted). (`#2288`_)71-- :meth:`~Flask.test_request_context` accepts ``subdomain`` and72- ``url_scheme`` arguments for use when building the base URL.73- (`#1621`_)74-- Set :data:`APPLICATION_ROOT` to ``'/'`` by default. This was already75- the implicit default when it was set to ``None``.76-- :data:`TRAP_BAD_REQUEST_ERRORS` is enabled by default in debug mode.77- ``BadRequestKeyError`` has a message with the bad key in debug mode78- instead of the generic bad request message. (`#2348`_)79-- Allow registering new tags with80- :class:`~json.tag.TaggedJSONSerializer` to support storing other types81- in the session cookie. (`#2352`_)82-- Only open the session if the request has not been pushed onto the83- context stack yet. This allows :func:`~stream_with_context`84- generators to access the same session that the containing view uses.85- (`#2354`_)86-- Add ``json`` keyword argument for the test client request methods.87- This will dump the given object as JSON and set the appropriate88- content type. (`#2358`_)89-- Extract JSON handling to a mixin applied to both the :class:`Request`90- and :class:`Response` classes. This adds the :meth:`~Response.is_json`91- and :meth:`~Response.get_json` methods to the response to make testing92- JSON response much easier. (`#2358`_)93-- Removed error handler caching because it caused unexpected results for94- some exception inheritance hierarchies. Register handlers explicitly95- for each exception if you want to avoid traversing the MRO. (`#2362`_)96-- Fix incorrect JSON encoding of aware, non-UTC datetimes. (`#2374`_)97-- Template auto reloading will honor debug mode even even if98- :attr:`~Flask.jinja_env` was already accessed. (`#2373`_)99-- The following old deprecated code was removed. (`#2385`_)12+- **Python 2.6 and 3.3 are no longer supported.** (`pallets/meta#24`_)13+- Bump minimum dependency versions to the latest stable versions:14+ Werkzeug >= 0.14, Jinja >= 2.10, itsdangerous >= 0.24, Click >= 5.1.15+ (`#2586`_)16+- Skip :meth:`app.run <Flask.run>` when a Flask application is run17+ from the command line. This avoids some behavior that was confusing18+ to debug.19+- Change the default for :data:`JSONIFY_PRETTYPRINT_REGULAR` to20+ ``False``. :func:`~json.jsonify` returns a compact format by21+ default, and an indented format in debug mode. (`#2193`_)22+- :meth:`Flask.__init__ <Flask>` accepts the ``host_matching``23+ argument and sets it on :attr:`~Flask.url_map`. (`#1559`_)24+- :meth:`Flask.__init__ <Flask>` accepts the ``static_host`` argument25+ and passes it as the ``host`` argument when defining the static26+ route. (`#1559`_)27+- :func:`send_file` supports Unicode in ``attachment_filename``.28+ (`#2223`_)29+- Pass ``_scheme`` argument from :func:`url_for` to30+ :meth:`~Flask.handle_url_build_error`. (`#2017`_)31+- :meth:`~Flask.add_url_rule` accepts the32+ ``provide_automatic_options`` argument to disable adding the33+ ``OPTIONS`` method. (`#1489`_)34+- :class:`~views.MethodView` subclasses inherit method handlers from35+ base classes. (`#1936`_)36+- Errors caused while opening the session at the beginning of the37+ request are handled by the app's error handlers. (`#2254`_)38+- Blueprints gained :attr:`~Blueprint.json_encoder` and39+ :attr:`~Blueprint.json_decoder` attributes to override the app's40+ encoder and decoder. (`#1898`_)41+- :meth:`Flask.make_response` raises ``TypeError`` instead of42+ ``ValueError`` for bad response types. The error messages have been43+ improved to describe why the type is invalid. (`#2256`_)44+- Add ``routes`` CLI command to output routes registered on the45+ application. (`#2259`_)46+- Show warning when session cookie domain is a bare hostname or an IP47+ address, as these may not behave properly in some browsers, such as48+ Chrome. (`#2282`_)49+- Allow IP address as exact session cookie domain. (`#2282`_)50+- ``SESSION_COOKIE_DOMAIN`` is set if it is detected through51+ ``SERVER_NAME``. (`#2282`_)52+- Auto-detect zero-argument app factory called ``create_app`` or53+ ``make_app`` from ``FLASK_APP``. (`#2297`_)54+- Factory functions are not required to take a ``script_info``55+ parameter to work with the ``flask`` command. If they take a single56+ parameter or a parameter named ``script_info``, the57+ :class:`~cli.ScriptInfo` object will be passed. (`#2319`_)58+- ``FLASK_APP`` can be set to an app factory, with arguments if59+ needed, for example ``FLASK_APP=myproject.app:create_app('dev')``.60+ (`#2326`_)61+- ``FLASK_APP`` can point to local packages that are not installed in62+ editable mode, although ``pip install -e`` is still preferred.63+ (`#2414`_)64+- The :class:`~views.View` class attribute65+ :attr:`~views.View.provide_automatic_options` is set in66+ :meth:`~views.View.as_view`, to be detected by67+ :meth:`~Flask.add_url_rule`. (`#2316`_)68+- Error handling will try handlers registered for ``blueprint, code``,69+ ``app, code``, ``blueprint, exception``, ``app, exception``.70+ (`#2314`_)71+- ``Cookie`` is added to the response's ``Vary`` header if the session72+ is accessed at all during the request (and not deleted). (`#2288`_)73+- :meth:`~Flask.test_request_context` accepts ``subdomain`` and74+ ``url_scheme`` arguments for use when building the base URL.75+ (`#1621`_)76+- Set :data:`APPLICATION_ROOT` to ``'/'`` by default. This was already77+ the implicit default when it was set to ``None``.78+- :data:`TRAP_BAD_REQUEST_ERRORS` is enabled by default in debug mode.79+ ``BadRequestKeyError`` has a message with the bad key in debug mode80+ instead of the generic bad request message. (`#2348`_)81+- Allow registering new tags with82+ :class:`~json.tag.TaggedJSONSerializer` to support storing other83+ types in the session cookie. (`#2352`_)84+- Only open the session if the request has not been pushed onto the85+ context stack yet. This allows :func:`~stream_with_context`86+ generators to access the same session that the containing view uses.87+ (`#2354`_)88+- Add ``json`` keyword argument for the test client request methods.89+ This will dump the given object as JSON and set the appropriate90+ content type. (`#2358`_)91+- Extract JSON handling to a mixin applied to both the92+ :class:`Request` and :class:`Response` classes. This adds the93+ :meth:`~Response.is_json` and :meth:`~Response.get_json` methods to94+ the response to make testing JSON response much easier. (`#2358`_)95+- Removed error handler caching because it caused unexpected results96+ for some exception inheritance hierarchies. Register handlers97+ explicitly for each exception if you want to avoid traversing the98+ MRO. (`#2362`_)99+- Fix incorrect JSON encoding of aware, non-UTC datetimes. (`#2374`_)100+- Template auto reloading will honor debug mode even even if101+ :attr:`~Flask.jinja_env` was already accessed. (`#2373`_)102+- The following old deprecated code was removed. (`#2385`_)103 101- - ``flask.ext`` - import extensions directly by their name instead of102- through the ``flask.ext`` namespace. For example,103- ``import flask.ext.sqlalchemy`` becomes ``import flask_sqlalchemy``.104- - ``Flask.init_jinja_globals`` - extend105- :meth:`Flask.create_jinja_environment` instead.106- - ``Flask.error_handlers`` - tracked by107- :attr:`Flask.error_handler_spec`, use :meth:`Flask.errorhandler` to108- register handlers.109- - ``Flask.request_globals_class`` - use110- :attr:`Flask.app_ctx_globals_class` instead.111- - ``Flask.static_path`` - use :attr:`Flask.static_url_path` instead.112- - ``Request.module`` - use :attr:`Request.blueprint` instead.104+ - ``flask.ext`` - import extensions directly by their name instead105+ of through the ``flask.ext`` namespace. For example,106+ ``import flask.ext.sqlalchemy`` becomes107+ ``import flask_sqlalchemy``.108+ - ``Flask.init_jinja_globals`` - extend109+ :meth:`Flask.create_jinja_environment` instead.110+ - ``Flask.error_handlers`` - tracked by111+ :attr:`Flask.error_handler_spec`, use :meth:`Flask.errorhandler`112+ to register handlers.113+ - ``Flask.request_globals_class`` - use114+ :attr:`Flask.app_ctx_globals_class` instead.115+ - ``Flask.static_path`` - use :attr:`Flask.static_url_path`116+ instead.117+ - ``Request.module`` - use :attr:`Request.blueprint` instead.118 119+- The :attr:`Request.json` property is no longer deprecated.114-- The :attr:`Request.json` property is no longer deprecated. (`#1421`_)115-- Support passing a :class:`~werkzeug.test.EnvironBuilder` or116- ``dict`` to :meth:`test_client.open <werkzeug.test.Client.open>`.117- (`#2412`_)118-- The ``flask`` command and :meth:`Flask.run` will load environment119- variables from ``.env`` and ``.flaskenv`` files if python-dotenv is120- installed. (`#2416`_)121-- When passing a full URL to the test client, the scheme in the URL is122- used instead of :data:`PREFERRED_URL_SCHEME`. (`#2430`_)123-- :attr:`Flask.logger` has been simplified. ``LOGGER_NAME`` and124- ``LOGGER_HANDLER_POLICY`` config was removed. The logger is always125- named ``flask.app``. The level is only set on first access, it doesn't126- check :attr:`Flask.debug` each time. Only one format is used, not127- different ones depending on :attr:`Flask.debug`. No handlers are128- removed, and a handler is only added if no handlers are already129- configured. (`#2436`_)130-- Blueprint view function names may not contain dots. (`#2450`_)131-- Fix a ``ValueError`` caused by invalid ``Range`` requests in some132- cases. (`#2526`_)133-- The development server uses threads by default. (`#2529`_)134-- Loading config files with ``silent=True`` will ignore135- :data:`~errno.ENOTDIR` errors. (`#2581`_)136-- Pass ``--cert`` and ``--key`` options to ``flask run`` to run the137- development server over HTTPS. (`#2606`_)138-- Added :data:`SESSION_COOKIE_SAMESITE` to control the ``SameSite``139- attribute on the session cookie. (`#2607`_)140-- Added :meth:`~flask.Flask.test_cli_runner` to create a Click runner141- that can invoke Flask CLI commands for testing. (`#2636`_)142-- Subdomain matching is disabled by default and setting143- :data:`SERVER_NAME` does not implicily enable it. It can be enabled by144- passing ``subdomain_matching=True`` to the ``Flask`` constructor.145- (`#2635`_)146-- A single trailing slash is stripped from the blueprint ``url_prefix``147- when it is registered with the app. (`#2629`_)148-- :meth:`Request.get_json` doesn't cache the149- result if parsing fails when ``silent`` is true. (`#2651`_)150-- :func:`Request.get_json` no longer accepts arbitrary encodings.151- Incoming JSON should be encoded using UTF-8 per :rfc:`8259`, but Flask152- will autodetect UTF-8, -16, or -32. (`#2691`_)153-- Added :data:`MAX_COOKIE_SIZE` and :attr:`Response.max_cookie_size` to154- control when Werkzeug warns about large cookies that browsers may155- ignore. (`#2693`_)156-- Updated documentation theme to make docs look better in small157- windows. (`#2709`_)158-- Rewrote the tutorial docs and example project to take a more159- structured approach to help new users avoid common pitfalls.160- (`#2676`_)120+ (`#1421`_)121+- Support passing a :class:`~werkzeug.test.EnvironBuilder` or122+ ``dict`` to :meth:`test_client.open <werkzeug.test.Client.open>`.123+ (`#2412`_)124+- The ``flask`` command and :meth:`Flask.run` will load environment125+ variables from ``.env`` and ``.flaskenv`` files if python-dotenv is126+ installed. (`#2416`_)127+- When passing a full URL to the test client, the scheme in the URL is128+ used instead of :data:`PREFERRED_URL_SCHEME`. (`#2430`_)129+- :attr:`Flask.logger` has been simplified. ``LOGGER_NAME`` and130+ ``LOGGER_HANDLER_POLICY`` config was removed. The logger is always131+ named ``flask.app``. The level is only set on first access, it132+ doesn't check :attr:`Flask.debug` each time. Only one format is133+ used, not different ones depending on :attr:`Flask.debug`. No134+ handlers are removed, and a handler is only added if no handlers are135+ already configured. (`#2436`_)136+- Blueprint view function names may not contain dots. (`#2450`_)137+- Fix a ``ValueError`` caused by invalid ``Range`` requests in some138+ cases. (`#2526`_)139+- The development server uses threads by default. (`#2529`_)140+- Loading config files with ``silent=True`` will ignore141+ :data:`~errno.ENOTDIR` errors. (`#2581`_)142+- Pass ``--cert`` and ``--key`` options to ``flask run`` to run the143+ development server over HTTPS. (`#2606`_)144+- Added :data:`SESSION_COOKIE_SAMESITE` to control the ``SameSite``145+ attribute on the session cookie. (`#2607`_)146+- Added :meth:`~flask.Flask.test_cli_runner` to create a Click runner147+ that can invoke Flask CLI commands for testing. (`#2636`_)148+- Subdomain matching is disabled by default and setting149+ :data:`SERVER_NAME` does not implicily enable it. It can be enabled150+ by passing ``subdomain_matching=True`` to the ``Flask`` constructor.151+ (`#2635`_)152+- A single trailing slash is stripped from the blueprint153+ ``url_prefix`` when it is registered with the app. (`#2629`_)154+- :meth:`Request.get_json` doesn't cache the155+ result if parsing fails when ``silent`` is true. (`#2651`_)156+- :func:`Request.get_json` no longer accepts arbitrary encodings.157+ Incoming JSON should be encoded using UTF-8 per :rfc:`8259`, but158+ Flask will autodetect UTF-8, -16, or -32. (`#2691`_)159+- Added :data:`MAX_COOKIE_SIZE` and :attr:`Response.max_cookie_size`160+ to control when Werkzeug warns about large cookies that browsers may161+ ignore. (`#2693`_)162+- Updated documentation theme to make docs look better in small163+ windows. (`#2709`_)164+- Rewrote the tutorial docs and example project to take a more165+ structured approach to help new users avoid common pitfalls.166+ (`#2676`_)167 168 .. _pallets/meta#24: https://github.com/pallets/meta/issues/24169 .. _#1421: https://github.com/pallets/flask/issues/1421170 .. _#1489: https://github.com/pallets/flask/pull/1489667 unmodified lines