Browse Source

add rst extension for changelog

fix changelog version
pull/2608/merge
David Lord 7 years ago
parent
commit
213afec771
No known key found for this signature in database
GPG Key ID: 7A1C87E3F5BC42A8
  1. 25
      CHANGES.rst
  2. 2
      docs/changelog.rst
  3. 2
      scripts/make-release.py

25
CHANGES → CHANGES.rst

@ -1,16 +1,15 @@
Flask Changelog Flask Changelog
=============== ===============
Here you can see the full list of changes between each Flask release.
Version 1.0
-----------
Version 0.13 unreleased
------------
Major release, unreleased
- **Python 2.6 and 3.3 are no longer supported.** (`pallets/meta#24`_) - **Python 2.6 and 3.3 are no longer supported.** (`pallets/meta#24`_)
- Minimum Werkzeug version bumped to 0.9, but please use the latest version. - Minimum Werkzeug version bumped to 0.14, but please use the latest
version.
- Minimum Click version bumped to 4, but please use the latest version. - 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 - 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 development server on the command line. This avoids some behavior that
@ -115,11 +114,15 @@ Major release, unreleased
depending on ``app.debug``. No handlers are removed, and a handler is only depending on ``app.debug``. No handlers are removed, and a handler is only
added if no handlers are already configured. (`#2436`_) added if no handlers are already configured. (`#2436`_)
- Blueprint view function name may not contain dots. (`#2450`_) - Blueprint view function name may not contain dots. (`#2450`_)
- Fix a ``ValueError`` caused by invalid Range requests in some cases.
(`#2526`_)
- The dev server now uses threads by default. (`#2529`_) - The dev server now uses threads by default. (`#2529`_)
- Loading config files with ``silent=True`` will ignore ``ENOTDIR`` - Loading config files with ``silent=True`` will ignore ``ENOTDIR``
errors. (`#2581`_) errors. (`#2581`_)
- Pass ``--cert`` and ``--key`` options to ``flask run`` to run the - Pass ``--cert`` and ``--key`` options to ``flask run`` to run the
development server over HTTPS. (`#2606`_) development server over HTTPS. (`#2606`_)
- Added :data:`SESSION_COOKIE_SAMESITE` to control the ``SameSite``
attribute on the session cookie. (`#2607`_)
.. _pallets/meta#24: https://github.com/pallets/meta/issues/24 .. _pallets/meta#24: https://github.com/pallets/meta/issues/24
.. _#1421: https://github.com/pallets/flask/issues/1421 .. _#1421: https://github.com/pallets/flask/issues/1421
@ -154,17 +157,11 @@ Major release, unreleased
.. _#2430: https://github.com/pallets/flask/pull/2430 .. _#2430: https://github.com/pallets/flask/pull/2430
.. _#2436: https://github.com/pallets/flask/pull/2436 .. _#2436: https://github.com/pallets/flask/pull/2436
.. _#2450: https://github.com/pallets/flask/pull/2450 .. _#2450: https://github.com/pallets/flask/pull/2450
.. _#2526: https://github.com/pallets/flask/issues/2526
.. _#2529: https://github.com/pallets/flask/pull/2529 .. _#2529: https://github.com/pallets/flask/pull/2529
.. _#2581: https://github.com/pallets/flask/pull/2581 .. _#2581: https://github.com/pallets/flask/pull/2581
.. _#2606: https://github.com/pallets/flask/pull/2606 .. _#2606: https://github.com/pallets/flask/pull/2606
.. _#2607: https://github.com/pallets/flask/pull/2607
Version 0.12.3
--------------
Bugfix release, unreleased
- Fix a ValueError caused by invalid Range requests in some cases
Version 0.12.2 Version 0.12.2

2
docs/changelog.rst

@ -1 +1 @@
.. include:: ../CHANGES .. include:: ../CHANGES.rst

2
scripts/make-release.py

@ -21,7 +21,7 @@ _date_clean_re = re.compile(r'(\d+)(st|nd|rd|th)')
def parse_changelog(): def parse_changelog():
with open('CHANGES') as f: with open('CHANGES.rst') as f:
lineiter = iter(f) lineiter = iter(f)
for line in lineiter: for line in lineiter:
match = re.search('^Version\s+(.*)', line.strip()) match = re.search('^Version\s+(.*)', line.strip())

Loading…
Cancel
Save