Skip to content

Commit

Permalink
Release 6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Nov 23, 2022
1 parent b5cac87 commit b9a7794
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/source/internal/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ Historically, |Flake8| has generated major releases for:

- 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)

Expand Down
35 changes: 35 additions & 0 deletions docs/source/release-notes/6.0.0.rst
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions docs/source/release-notes/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
All of the release notes that have been recorded for Flake8 are organized here
with the newest releases first.

6.x Release Series
==================

.. toctree::
6.0.0

5.x Release Series
==================

Expand Down
2 changes: 1 addition & 1 deletion src/flake8/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
LOG = logging.getLogger(__name__)
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())

_VERBOSITY_TO_LOG_LEVEL = {
Expand Down

0 comments on commit b9a7794

Please sign in to comment.