|
6 | 6 |
|
7 | 7 | <!-- Include any especially major or disruptive changes here --> |
8 | 8 |
|
| 9 | +### Stable style |
| 10 | + |
| 11 | +<!-- Changes that affect Black's stable style --> |
| 12 | + |
| 13 | +### Preview style |
| 14 | + |
| 15 | +<!-- Changes that affect Black's preview style --> |
| 16 | + |
| 17 | +### Configuration |
| 18 | + |
| 19 | +<!-- Changes to how Black can be configured --> |
| 20 | + |
| 21 | +### Packaging |
| 22 | + |
| 23 | +<!-- Changes to how Black is packaged, such as dependency requirements --> |
| 24 | + |
| 25 | +### Parser |
| 26 | + |
| 27 | +<!-- Changes to the parser or to version autodetection --> |
| 28 | + |
| 29 | +### Performance |
| 30 | + |
| 31 | +<!-- Changes that improve Black's performance. --> |
| 32 | + |
| 33 | +### Output |
| 34 | + |
| 35 | +<!-- Changes to Black's terminal output and error messages --> |
| 36 | + |
| 37 | +### _Blackd_ |
| 38 | + |
| 39 | +<!-- Changes to blackd --> |
| 40 | + |
| 41 | +### Integrations |
| 42 | + |
| 43 | +<!-- For example, Docker, GitHub Actions, pre-commit, editors --> |
| 44 | + |
| 45 | +### Documentation |
| 46 | + |
| 47 | +<!-- Major changes to documentation and policies. Small docs changes |
| 48 | + don't need a changelog entry. --> |
| 49 | + |
| 50 | +## 23.7.0 |
| 51 | + |
| 52 | +### Highlights |
| 53 | + |
9 | 54 | - Runtime support for Python 3.7 has been removed. Formatting 3.7 code will still be |
10 | 55 | supported until further notice (#3765) |
11 | 56 |
|
12 | 57 | ### Stable style |
13 | 58 |
|
14 | | -<!-- Changes that affect Black's stable style --> |
15 | | - |
16 | 59 | - Fix a bug where an illegal trailing comma was added to return type annotations using |
17 | 60 | PEP 604 unions (#3735) |
18 | 61 | - Fix several bugs and crashes where comments in stub files were removed or mishandled |
19 | | - under some circumstances. (#3745) |
20 | | -- Fix a bug where multi-line open parenthesis magic comment like `type: ignore` were not |
21 | | - correctly parsed (#3740) |
22 | | -- Fix error in AST validation when Black removes trailing whitespace in a type comment |
| 62 | + under some circumstances (#3745) |
| 63 | +- Fix a crash with multi-line magic comments like `type: ignore` within parentheses |
| 64 | + (#3740) |
| 65 | +- Fix error in AST validation when _Black_ removes trailing whitespace in a type comment |
23 | 66 | (#3773) |
24 | 67 |
|
25 | 68 | ### Preview style |
26 | 69 |
|
27 | | -<!-- Changes that affect Black's preview style --> |
28 | | - |
29 | 70 | - Implicitly concatenated strings used as function args are no longer wrapped inside |
30 | 71 | parentheses (#3640) |
31 | 72 | - Remove blank lines between a class definition and its docstring (#3692) |
32 | 73 |
|
33 | 74 | ### Configuration |
34 | 75 |
|
35 | | -<!-- Changes to how Black can be configured --> |
36 | | - |
37 | | -- The `--workers` argument to Black can now be specified via the `BLACK_NUM_WORKERS` |
| 76 | +- The `--workers` argument to _Black_ can now be specified via the `BLACK_NUM_WORKERS` |
38 | 77 | environment variable (#3743) |
39 | 78 | - `.pytest_cache`, `.ruff_cache` and `.vscode` are now excluded by default (#3691) |
40 | | -- Fix black not honouring `pyproject.toml` settings when running `--stdin-filename` and |
41 | | - the `pyproject.toml` found isn't in the current working directory (#3719) |
42 | | -- Black will now error if `exclude` and `extend-exclude` have invalid data types in |
| 79 | +- Fix _Black_ not honouring `pyproject.toml` settings when running `--stdin-filename` |
| 80 | + and the `pyproject.toml` found isn't in the current working directory (#3719) |
| 81 | +- _Black_ will now error if `exclude` and `extend-exclude` have invalid data types in |
43 | 82 | `pyproject.toml`, instead of silently doing the wrong thing (#3764) |
44 | 83 |
|
45 | 84 | ### Packaging |
46 | 85 |
|
47 | | -<!-- Changes to how Black is packaged, such as dependency requirements --> |
48 | | - |
49 | 86 | - Upgrade mypyc from 0.991 to 1.3 (#3697) |
50 | 87 | - Remove patching of Click that mitigated errors on Python 3.6 with `LANG=C` (#3768) |
51 | 88 |
|
52 | 89 | ### Parser |
53 | 90 |
|
54 | | -<!-- Changes to the parser or to version autodetection --> |
55 | | - |
56 | 91 | - Add support for the new PEP 695 syntax in Python 3.12 (#3703) |
57 | 92 |
|
58 | 93 | ### Performance |
59 | 94 |
|
60 | | -<!-- Changes that improve Black's performance. --> |
61 | | - |
62 | 95 | - Speed up _Black_ significantly when the cache is full (#3751) |
63 | 96 | - Avoid importing `IPython` in a case where we wouldn't need it (#3748) |
64 | 97 |
|
65 | 98 | ### Output |
66 | 99 |
|
67 | | -<!-- Changes to Black's terminal output and error messages --> |
68 | | - |
69 | 100 | - Use aware UTC datetimes internally, avoids deprecation warning on Python 3.12 (#3728) |
70 | 101 | - Change verbose logging to exactly mirror _Black_'s logic for source discovery (#3749) |
71 | 102 |
|
72 | 103 | ### _Blackd_ |
73 | 104 |
|
74 | | -<!-- Changes to blackd --> |
75 | | - |
76 | 105 | - The `blackd` argument parser now shows the default values for options in their help |
77 | 106 | text (#3712) |
78 | 107 |
|
79 | 108 | ### Integrations |
80 | 109 |
|
81 | | -<!-- For example, Docker, GitHub Actions, pre-commit, editors --> |
82 | | - |
83 | 110 | - Black is now tested with |
84 | 111 | [`PYTHONWARNDEFAULTENCODING = 1`](https://docs.python.org/3/library/io.html#io-encoding-warning) |
85 | 112 | (#3763) |
86 | 113 | - Update GitHub Action to display black output in the job summary (#3688) |
87 | | -- Deprecated `set-output` command in CI test to keep up to date with GitHub's |
88 | | - deprecation announcement (#3757) |
89 | 114 |
|
90 | 115 | ### Documentation |
91 | 116 |
|
92 | 117 | - Add a CITATION.cff file to the root of the repository, containing metadata on how to |
93 | 118 | cite this software (#3723) |
94 | | - |
95 | | -<!-- Major changes to documentation and policies. Small docs changes |
96 | | - don't need a changelog entry. --> |
97 | | - |
98 | | -- Updated the _classes_ and _exceptions_ documentation in Developer reference to match |
99 | | - the latest ccode base. (#3755) |
| 119 | +- Update the _classes_ and _exceptions_ documentation in Developer reference to match |
| 120 | + the latest code base (#3755) |
100 | 121 |
|
101 | 122 | ## 23.3.0 |
102 | 123 |
|
|
0 commit comments