Skip to content

Commit 8fe6270

Browse files
authored
Prepare release 24.4.0 (#4307)
1 parent 6b25e7c commit 8fe6270

File tree

3 files changed

+6
-45
lines changed

3 files changed

+6
-45
lines changed

Diff for: CHANGES.md

+1-40
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,22 @@
11
# Change Log
22

3-
## Unreleased
4-
5-
### Highlights
6-
7-
<!-- Include any especially major or disruptive changes here -->
3+
## 24.4.0
84

95
### Stable style
106

11-
<!-- Changes that affect Black's stable style -->
12-
137
- Fix unwanted crashes caused by AST equivalency check (#4290)
148

159
### Preview style
1610

17-
<!-- Changes that affect Black's preview style -->
18-
1911
- `if` guards in `case` blocks are now wrapped in parentheses when the line is too long.
2012
(#4269)
2113
- Stop moving multiline strings to a new line unless inside brackets (#4289)
2214

23-
### Configuration
24-
25-
<!-- Changes to how Black can be configured -->
26-
27-
### Packaging
28-
29-
<!-- Changes to how Black is packaged, such as dependency requirements -->
30-
31-
### Parser
32-
33-
<!-- Changes to the parser or to version autodetection -->
34-
35-
### Performance
36-
37-
<!-- Changes that improve Black's performance. -->
38-
39-
### Output
40-
41-
<!-- Changes to Black's terminal output and error messages -->
42-
43-
### _Blackd_
44-
45-
<!-- Changes to blackd -->
46-
4715
### Integrations
4816

49-
<!-- For example, Docker, GitHub Actions, pre-commit, editors -->
50-
5117
- Add a new option `use_pyproject` to the GitHub Action `psf/black`. This will read the
5218
Black version from `pyproject.toml`. (#4294)
5319

54-
### Documentation
55-
56-
<!-- Major changes to documentation and policies. Small docs changes
57-
don't need a changelog entry. -->
58-
5920
## 24.3.0
6021

6122
### Highlights

Diff for: docs/integrations/source_version_control.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Use [pre-commit](https://pre-commit.com/). Once you
88
repos:
99
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
1010
- repo: https://github.com/psf/black-pre-commit-mirror
11-
rev: 24.3.0
11+
rev: 24.4.0
1212
hooks:
1313
- id: black
1414
# 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
3535
repos:
3636
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
3737
- repo: https://github.com/psf/black-pre-commit-mirror
38-
rev: 24.3.0
38+
rev: 24.4.0
3939
hooks:
4040
- id: black-jupyter
4141
# It is recommended to specify the latest version of Python

Diff for: docs/usage_and_configuration/the_basics.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,8 @@ configuration file for consistent results across environments.
269269

270270
```console
271271
$ 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'"
274274
format = "this"
275275
$ black --required-version 31.5b2 -c "still = 'beta?!'"
276276
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
366366

367367
```console
368368
$ black --version
369-
black, 24.3.0
369+
black, 24.4.0
370370
```
371371

372372
#### `--config`

0 commit comments

Comments
 (0)