Skip to content

Commit b965c2a

Browse files
Prepare release 24.8.0 (#4426)
1 parent 9ccf279 commit b965c2a

File tree

3 files changed

+6
-43
lines changed

3 files changed

+6
-43
lines changed

CHANGES.md

+1-38
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,35 @@
11
# Change Log
22

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

95
### Stable style
106

11-
<!-- Changes that affect Black's stable style -->
12-
137
- Fix crash when `# fmt: off` is used before a closing parenthesis or bracket. (#4363)
148

15-
### Preview style
16-
17-
<!-- Changes that affect Black's preview style -->
18-
19-
### Configuration
20-
21-
<!-- Changes to how Black can be configured -->
22-
239
### Packaging
2410

25-
<!-- Changes to how Black is packaged, such as dependency requirements -->
26-
2711
- Packaging metadata updated: docs are explictly linked, the issue tracker is now also
2812
linked. This improves the PyPI listing for Black. (#4345)
2913

3014
### Parser
3115

32-
<!-- Changes to the parser or to version autodetection -->
33-
3416
- Fix regression where Black failed to parse a multiline f-string containing another
3517
multiline string (#4339)
36-
3718
- Fix regression where Black failed to parse an escaped single quote inside an f-string
3819
(#4401)
39-
4020
- Fix bug with Black incorrectly parsing empty lines with a backslash (#4343)
41-
4221
- Fix bugs with Black's tokenizer not handling `\{` inside f-strings very well (#4422)
43-
4422
- Fix incorrect line numbers in the tokenizer for certain tokens within f-strings
4523
(#4423)
4624

4725
### Performance
4826

49-
<!-- Changes that improve Black's performance. -->
50-
5127
- Improve performance when a large directory is listed in `.gitignore` (#4415)
5228

53-
### Output
54-
55-
<!-- Changes to Black's terminal output and error messages -->
56-
5729
### _Blackd_
5830

5931
- Fix blackd (and all extras installs) for docker container (#4357)
6032

61-
### Integrations
62-
63-
<!-- For example, Docker, GitHub Actions, pre-commit, editors -->
64-
65-
### Documentation
66-
67-
<!-- Major changes to documentation and policies. Small docs changes
68-
don't need a changelog entry. -->
69-
7033
## 24.4.2
7134

7235
This is a bugfix release to fix two regressions in the new f-string parser introduced in

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.4.2
11+
rev: 24.8.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.4.2
38+
rev: 24.8.0
3939
hooks:
4040
- id: black-jupyter
4141
# It is recommended to specify the latest version of Python

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.4.2 (compiled: yes)
273-
$ black --required-version 24.4.2 -c "format = 'this'"
272+
black, 24.8.0 (compiled: yes)
273+
$ black --required-version 24.8.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.4.2
369+
black, 24.8.0
370370
```
371371

372372
#### `--config`

0 commit comments

Comments
 (0)