1
1
# Change Log
2
2
3
- ## Unreleased
3
+ ## 25.1.0
4
4
5
5
### Highlights
6
6
7
- <!-- Include any especially major or disruptive changes here -->
8
-
9
7
This release introduces the new 2025 stable style (#4558 ), stabilizing
10
8
the following changes:
11
9
@@ -27,65 +25,34 @@ The following changes were not in any previous release:
27
25
28
26
### Stable style
29
27
30
- <!-- Changes that affect Black's stable style -->
31
-
32
28
- Fix formatting cells in IPython notebooks with magic methods and starting or trailing
33
29
empty lines (#4484 )
34
30
- Fix crash when formatting ` with ` statements containing tuple generators/unpacking
35
31
(#4538 )
36
32
37
33
### Preview style
38
34
39
- <!-- Changes that affect Black's preview style -->
40
-
41
35
- Fix/remove string merging changing f-string quotes on f-strings with internal quotes
42
36
(#4498 )
43
37
- Collapse multiple empty lines after an import into one (#4489 )
44
38
- Prevent ` string_processing ` and ` wrap_long_dict_values_in_parens ` from removing
45
39
parentheses around long dictionary values (#4377 )
46
40
- Move ` wrap_long_dict_values_in_parens ` from the unstable to preview style (#4561 )
47
41
48
- ### Configuration
49
-
50
- <!-- Changes to how Black can be configured -->
51
-
52
42
### Packaging
53
43
54
- <!-- Changes to how Black is packaged, such as dependency requirements -->
55
-
56
44
- Store license identifier inside the ` License-Expression ` metadata field, see
57
45
[ PEP 639] ( https://peps.python.org/pep-0639/ ) . (#4479 )
58
46
59
- ### Parser
60
-
61
- <!-- Changes to the parser or to version autodetection -->
62
-
63
47
### Performance
64
48
65
- <!-- Changes that improve Black's performance. -->
66
-
67
49
- Speed up the ` is_fstring_start ` function in Black's tokenizer (#4541 )
68
50
69
- ### Output
70
-
71
- <!-- Changes to Black's terminal output and error messages -->
72
-
73
- ### _ Blackd_
74
-
75
- <!-- Changes to blackd -->
76
-
77
51
### Integrations
78
52
79
- <!-- For example, Docker, GitHub Actions, pre-commit, editors -->
80
-
81
53
- If using stdin with ` --stdin-filename ` set to a force excluded path, stdin won't be
82
54
formatted. (#4539 )
83
55
84
- ### Documentation
85
-
86
- <!-- Major changes to documentation and policies. Small docs changes
87
- don't need a changelog entry. -->
88
-
89
56
## 24.10.0
90
57
91
58
### Highlights
0 commit comments