Skip to content

Commit d31c535

Browse files
committedOct 11, 2021
Release 4.0.0
1 parent afd2399 commit d31c535

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed
 

‎docs/source/internal/releases.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Historically, |Flake8| has generated major releases for:
3030

3131
- Large scale refactoring (2.0, 3.0)
3232

33-
- Subtly breaking CLI changes (3.0)
33+
- Subtly breaking CLI changes (3.0, 4.0)
3434

3535
- Breaking changes to its plugin interface (3.0)
3636

‎docs/source/release-notes/4.0.0.rst

+29-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,42 @@
1-
4.0.0 -- 202x-mm-dd
1+
4.0.0 -- 2021-10-10
22
-------------------
33

44
You can view the `4.0.0 milestone`_ on GitHub for more details.
55

66
Backwards Incompatible Changes
77
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88

9+
- Remove ``--install-hook`` vcs integration (See also :issue:`1008`).
10+
- Remove ``setuptools`` command (See also :issue:`1009`).
11+
- Migrate from GitLab to GitHub (See also :pull:`1305`).
912
- Due to constant confusion by users, user-level |Flake8| configuration files
1013
are no longer supported. Files will not be searched for in the user's home
1114
directory (e.g., ``~/.flake8``) nor in the XDG config directory (e.g.,
12-
``~/.config/flake8``).
15+
``~/.config/flake8``). (See also :pull:`1404`).
16+
17+
New Dependency Information
18+
~~~~~~~~~~~~~~~~~~~~~~~~~~
19+
20+
- pycodestyle has been updated to >= 2.8.0, < 2.9.0 (See also :pull:`1406`).
21+
- Pyflakes has been updated to >= 2.4.0, < 2.5.0 (See also :pull:`1406`).
22+
- flake8 requires python >= 3.6 (See also :issue:`1010`).
23+
24+
Features
25+
~~~~~~~~
26+
27+
- Add ``--extend-select`` option (See also :pull:`1312` :issue:`1061`).
28+
- Automatically create directories for output files (See also :pull:`1329`).
29+
30+
Bugs Fixed
31+
~~~~~~~~~~
32+
33+
- ``ast`` parse before tokenizing to improve ``SyntaxError`` errors (See also
34+
:pull:`1320` :issue:`740`).
35+
- Fix warning in ``--indent-size`` argparse help (See also :pull:`1367`).
36+
- Fix handling ``SyntaxError`` in python 3.10+ (See also :pull:`1374`
37+
:issue:`1372`).
38+
- Fix writing non-cp1252-encodable when output is piped on windows (See also
39+
:pull:`1382` :issue:`1381`).
1340

1441
.. all links
1542
.. _4.0.0 milestone:

‎src/flake8/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
LOG = logging.getLogger(__name__)
1717
LOG.addHandler(logging.NullHandler())
1818

19-
__version__ = "3.9.2"
19+
__version__ = "4.0.0"
2020
__version_info__ = tuple(int(i) for i in __version__.split(".") if i.isdigit())
2121

2222

0 commit comments

Comments
 (0)
Please sign in to comment.