Skip to content

Commit 8a737e7

Browse files
Prepare release 25.1.0 (#4563)
1 parent d330dee commit 8a737e7

File tree

3 files changed

+6
-39
lines changed

3 files changed

+6
-39
lines changed

CHANGES.md

+1-34
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
# Change Log
22

3-
## Unreleased
3+
## 25.1.0
44

55
### Highlights
66

7-
<!-- Include any especially major or disruptive changes here -->
8-
97
This release introduces the new 2025 stable style (#4558), stabilizing
108
the following changes:
119

@@ -27,65 +25,34 @@ The following changes were not in any previous release:
2725

2826
### Stable style
2927

30-
<!-- Changes that affect Black's stable style -->
31-
3228
- Fix formatting cells in IPython notebooks with magic methods and starting or trailing
3329
empty lines (#4484)
3430
- Fix crash when formatting `with` statements containing tuple generators/unpacking
3531
(#4538)
3632

3733
### Preview style
3834

39-
<!-- Changes that affect Black's preview style -->
40-
4135
- Fix/remove string merging changing f-string quotes on f-strings with internal quotes
4236
(#4498)
4337
- Collapse multiple empty lines after an import into one (#4489)
4438
- Prevent `string_processing` and `wrap_long_dict_values_in_parens` from removing
4539
parentheses around long dictionary values (#4377)
4640
- Move `wrap_long_dict_values_in_parens` from the unstable to preview style (#4561)
4741

48-
### Configuration
49-
50-
<!-- Changes to how Black can be configured -->
51-
5242
### Packaging
5343

54-
<!-- Changes to how Black is packaged, such as dependency requirements -->
55-
5644
- Store license identifier inside the `License-Expression` metadata field, see
5745
[PEP 639](https://peps.python.org/pep-0639/). (#4479)
5846

59-
### Parser
60-
61-
<!-- Changes to the parser or to version autodetection -->
62-
6347
### Performance
6448

65-
<!-- Changes that improve Black's performance. -->
66-
6749
- Speed up the `is_fstring_start` function in Black's tokenizer (#4541)
6850

69-
### Output
70-
71-
<!-- Changes to Black's terminal output and error messages -->
72-
73-
### _Blackd_
74-
75-
<!-- Changes to blackd -->
76-
7751
### Integrations
7852

79-
<!-- For example, Docker, GitHub Actions, pre-commit, editors -->
80-
8153
- If using stdin with `--stdin-filename` set to a force excluded path, stdin won't be
8254
formatted. (#4539)
8355

84-
### Documentation
85-
86-
<!-- Major changes to documentation and policies. Small docs changes
87-
don't need a changelog entry. -->
88-
8956
## 24.10.0
9057

9158
### 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.10.0
11+
rev: 25.1.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.10.0
38+
rev: 25.1.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.10.0 (compiled: yes)
273-
$ black --required-version 24.10.0 -c "format = 'this'"
272+
black, 25.1.0 (compiled: yes)
273+
$ black --required-version 25.1.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.10.0
369+
black, 25.1.0
370370
```
371371

372372
#### `--config`

0 commit comments

Comments
 (0)