Release 6.0.0

This commit is contained in:
Anthony Sottile 2022-11-23 14:27:13 -05:00
parent b5cac8790f
commit b9a7794c4f
4 changed files with 44 additions and 3 deletions

View file

@ -28,9 +28,9 @@ Historically, |Flake8| has generated major releases for:
- Unvendoring dependencies (2.0) - Unvendoring dependencies (2.0)
- Large scale refactoring (2.0, 3.0, 5.0) - Large scale refactoring (2.0, 3.0, 5.0, 6.0)
- Subtly breaking CLI changes (3.0, 4.0, 5.0) - Subtly breaking CLI changes (3.0, 4.0, 5.0, 6.0)
- Breaking changes to its plugin interface (3.0) - Breaking changes to its plugin interface (3.0)

View file

@ -0,0 +1,35 @@
6.0.0 -- 2022-11-23
-------------------
You can view the `6.0.0 milestone`_ on GitHub for more details.
Backwards Incompatible Changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Remove ``--diff`` option (See also :issue:`1389`, :pull:`1720`).
- Produce an error when invalid codes are specified in configuration (See also
:issue:`1689`, :pull:`1713`).
- Produce an error if the file specified in ``--extend-config`` does not exist
(See also :issue:`1729`, :pull:`1732`).
- Remove ``optparse`` compatibility support (See also :pull:`1739`).
New Dependency Information
~~~~~~~~~~~~~~~~~~~~~~~~~~
- pycodestyle has been updated to >= 2.10.0, < 2.11.0 (See also :pull:`1746`).
- Pyflakes has been updated to >= 3.0.0, < 3.1.0 (See also :pull:`1748`).
Features
~~~~~~~~
- Require python >= 3.8.1 (See also :pull:`1633`, :pull:`1741`).
- List available formatters in for ``--format`` option in ``--help`` (See also
:issue:`223`, :pull:`1624`).
- Improve multiprocessing performance (See also :pull:`1723`).
- Enable multiprocessing on non-fork platforms (See also :pull:`1723`).
- Ensure results are sorted when discovered from files (See also :issue:`1670`,
:pull:`1726`).
.. all links
.. _6.0.0 milestone:
https://github.com/PyCQA/flake8/milestone/47

View file

@ -5,6 +5,12 @@
All of the release notes that have been recorded for Flake8 are organized here All of the release notes that have been recorded for Flake8 are organized here
with the newest releases first. with the newest releases first.
6.x Release Series
==================
.. toctree::
6.0.0
5.x Release Series 5.x Release Series
================== ==================

View file

@ -17,7 +17,7 @@ import sys
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)
LOG.addHandler(logging.NullHandler()) LOG.addHandler(logging.NullHandler())
__version__ = "5.0.4" __version__ = "6.0.0"
__version_info__ = tuple(int(i) for i in __version__.split(".") if i.isdigit()) __version_info__ = tuple(int(i) for i in __version__.split(".") if i.isdigit())
_VERBOSITY_TO_LOG_LEVEL = { _VERBOSITY_TO_LOG_LEVEL = {