Merge pull request #2795 from dayiguizhen/master
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Update CHANGES.rst
authored by Hsiaoming Yang · committed by GitHub · parents b6a8f75, 1955d6a · Browse files · 1 file·+30 added−15 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+30 added−15 removed
- other:+30 added−15 removed
Provenance
- Commit
9c0e110- Tree
cd30cdc- Author
Hsiaoming Yang <me@lepture.com>- Committer
GitHub <noreply@github.com>- Parent 1
b6a8f75- Parent 2
1955d6a
1 file changed+30 added−15 removed
modified:CHANGES.rst+30 added-15 removed
321 unmodified lines322 Released on December 21st 2016, codename Punsch.323 324 - the cli command now responds to `--version`.325 - Mimetype guessing and ETag generation for file-like objects in ``send_file``326- has been removed, as per issue ``#104``. See pull request ``#1849``.326+ has been removed, as per issue ``#104``. (`#1849`_)327 - Mimetype guessing in ``send_file`` now fails loudly and doesn't fall back to328- ``application/octet-stream``. See pull request ``#1988``.328+ ``application/octet-stream``. (`#1988`_)329 - Make ``flask.safe_join`` able to join multiple paths like ``os.path.join``330- (pull request ``#1730``).330+ (`#1730`_).331 - Revert a behavior change that made the dev server crash instead of returning332- an Internal Server Error (pull request ``#2006``).332+ an Internal Server Error (`#2006`_).333 - Correctly invoke response handlers for both regular request dispatching as334 well as error handlers.335 - Disable logger propagation by default for the app logger.336 - Add support for range requests in ``send_file``.337 - ``app.test_client`` includes preset default environment, which can now be338 directly set, instead of per ``client.get``.339+ 340+.. _#1849: https://github.com/pallets/flask/pull/1849341+.. _#1988: https://github.com/pallets/flask/pull/1988342+.. _#1730: https://github.com/pallets/flask/pull/1730343+.. _#2006: https://github.com/pallets/flask/pull/2006344 345 Version 0.11.2346 --------------347 348 Bugfix release, unreleased349 345-- Fix crash when running under PyPy3, see pull request ``#1814``.350+- Fix crash when running under PyPy3. (`#1814`_)351 352+.. _#1814: https://github.com/pallets/flask/pull/1814353+354 Version 0.11.1355 --------------356 357 Bugfix release, released on June 7th 2016.358 352-- Fixed a bug that prevented ``FLASK_APP=foobar/__init__.py`` from working. See353- pull request ``#1872``.359+- Fixed a bug that prevented ``FLASK_APP=foobar/__init__.py`` from working. (`#1872`_)360+ 361+.. _#1872: https://github.com/pallets/flask/pull/1872362 363 Version 0.11364 ------------365 55 unmodified lines421 part of https://github.com/kennethreitz/httpbin/issues/168422 - The automatically provided ``OPTIONS`` method is now correctly disabled if423 the user registered an overriding rule with the lowercase-version424 ``options`` (issue ``#1288``).417-- ``flask.json.jsonify`` now supports the ``datetime.date`` type (pull request418- ``#1326``).425+- ``flask.json.jsonify`` now supports the ``datetime.date`` type (`#1326`_).426 - Don't leak exception info of already catched exceptions to context teardown420- handlers (pull request ``#1393``).421-- Allow custom Jinja environment subclasses (pull request ``#1422``).427+ handlers (`#1393`_).428+- Allow custom Jinja environment subclasses (`#1422`_).429 - Updated extension dev guidelines.430 431 - ``flask.g`` now has ``pop()`` and ``setdefault`` methods.432 - Turn on autoescape for ``flask.templating.render_template_string`` by default426- (pull request ``#1515``).427-- ``flask.ext`` is now deprecated (pull request ``#1484``).433+ (`#1515`_).434+- ``flask.ext`` is now deprecated (`#1484`_).435 - ``send_from_directory`` now raises BadRequest if the filename is invalid on429- the server OS (pull request ``#1763``).430-- Added the ``JSONIFY_MIMETYPE`` configuration variable (pull request ``#1728``).436+ the server OS (`#1763`_).437+- Added the ``JSONIFY_MIMETYPE`` configuration variable (`#1728`_).438 - Exceptions during teardown handling will no longer leave bad application439 contexts lingering around.440+ 441+.. _#1326: https://github.com/pallets/flask/pull/1326442+.. _#1393: https://github.com/pallets/flask/pull/1393443+.. _#1422: https://github.com/pallets/flask/pull/1422444+.. _#1515: https://github.com/pallets/flask/pull/1515445+.. _#1484: https://github.com/pallets/flask/pull/1484446+.. _#1763: https://github.com/pallets/flask/pull/1763447+.. _#1728: https://github.com/pallets/flask/pull/1728448 449 Version 0.10.2450 --------------451 480 unmodified lines