Skip to content

Commit 3702ba2

Browse files
Prepare release 24.4.2 (#4335)
* Prepare release 24.4.2 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent e4aaa8a commit 3702ba2

File tree

3 files changed

+8
-46
lines changed

3 files changed

+8
-46
lines changed

CHANGES.md

+3-41
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,18 @@
11
# Change Log
22

3-
## Unreleased
3+
## 24.4.2
44

5-
### Highlights
6-
7-
<!-- Include any especially major or disruptive changes here -->
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 -->
5+
This is a bugfix release to fix two regressions in the new f-string parser introduced in
6+
24.4.1.
247

258
### Parser
269

27-
<!-- Changes to the parser or to version autodetection -->
28-
2910
- Fix regression where certain complex f-strings failed to parse (#4332)
3011

3112
### Performance
3213

33-
<!-- Changes that improve Black's performance. -->
34-
3514
- Fix bad performance on certain complex string literals (#4331)
3615

37-
### Output
38-
39-
<!-- Changes to Black's terminal output and error messages -->
40-
41-
### _Blackd_
42-
43-
<!-- Changes to blackd -->
44-
45-
### Integrations
46-
47-
<!-- For example, Docker, GitHub Actions, pre-commit, editors -->
48-
49-
### Documentation
50-
51-
<!-- Major changes to documentation and policies. Small docs changes
52-
don't need a changelog entry. -->
53-
5416
## 24.4.1
5517

5618
### Highlights

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

372372
#### `--config`

0 commit comments

Comments
 (0)