Prepare release 24.4.0 (#4307) · psf/black@8fe6270 (original) (raw)

3 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -1,61 +1,22 @@
1 1 # Change Log
2 2
3 -## Unreleased
4 -
5 -### Highlights
6 -
7 -
3 +## 24.4.0
8 4
9 5 ### Stable style
10 6
11 -
12 -
13 7 - Fix unwanted crashes caused by AST equivalency check (#4290)
14 8
15 9 ### Preview style
16 10
17 -
18 -
19 11 - `if` guards in `case` blocks are now wrapped in parentheses when the line is too long.
20 12 (#4269)
21 13 - Stop moving multiline strings to a new line unless inside brackets (#4289)
22 14
23 -### Configuration
24 -
25 -
26 -
27 -### Packaging
28 -
29 -
30 -
31 -### Parser
32 -
33 -
34 -
35 -### Performance
36 -
37 -
38 -
39 -### Output
40 -
41 -
42 -
43 -### _Blackd_
44 -
45 -
46 -
47 15 ### Integrations
48 16
49 -
50 -
51 17 - Add a new option `use_pyproject` to the GitHub Action `psf/black`. This will read the
52 18 Black version from `pyproject.toml`. (#4294)
53 19
54 -### Documentation
55 -
56 -<!-- Major changes to documentation and policies. Small docs changes
57 - don't need a changelog entry. -->
58 -
59 20 ## 24.3.0
60 21
61 22 ### Highlights
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ Use [pre-commit](https://pre-commit.com/). Once you
8 8 repos:
9 9 # Using this mirror lets us use mypyc-compiled black, which is about 2x faster
10 10 - repo: https://github.com/psf/black-pre-commit-mirror
11 -rev: 24.3.0
11 +rev: 24.4.0
12 12 hooks:
13 13 - id: black
14 14 # It is recommended to specify the latest version of Python
@@ -35,7 +35,7 @@ include Jupyter Notebooks. To use this hook, simply replace the hook's `id: blac
35 35 repos:
36 36 # Using this mirror lets us use mypyc-compiled black, which is about 2x faster
37 37 - repo: https://github.com/psf/black-pre-commit-mirror
38 - rev: 24.3.0
38 + rev: 24.4.0
39 39 hooks:
40 40 - id: black-jupyter
41 41 # It is recommended to specify the latest version of Python
Original file line number Diff line number Diff line change
@@ -269,8 +269,8 @@ configuration file for consistent results across environments.
269 269
270 270 ```console
271 271 $ black --version
272 -black, 24.3.0 (compiled: yes)
273 -$ black --required-version 24.3.0 -c "format = 'this'"
272 +black, 24.4.0 (compiled: yes)
273 +$ black --required-version 24.4.0 -c "format = 'this'"
274 274 format = "this"
275 275 $ black --required-version 31.5b2 -c "still = 'beta?!'"
276 276 Oh no! 💥 💔 💥 The required version does not match the running version!
@@ -366,7 +366,7 @@ You can check the version of _Black_ you have installed using the `--version` fl
366 366
367 367 ```console
368 368 $ black --version
369 -black, 24.3.0
369 +black, 24.4.0
370 370 ```
371 371
372 372 #### `--config`