1
1
# Change Log
2
2
3
- ## Unreleased
3
+ ## 24.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 2024 stable style (#4106 ), stabilizing the following
10
8
changes:
11
9
@@ -44,8 +42,6 @@ year's stable style.
44
42
45
43
### Stable style
46
44
47
- <!-- Changes that affect Black's stable style -->
48
-
49
45
Several bug fixes were made in features that are moved to the stable style in this
50
46
release:
51
47
@@ -59,63 +55,31 @@ release:
59
55
60
56
### Preview style
61
57
62
- <!-- Changes that affect Black's preview style -->
63
-
64
58
- Add ` --unstable ` style, covering preview features that have known problems that would
65
59
block them from going into the stable style. Also add the ` --enable-unstable-feature `
66
60
flag; for example, use
67
61
` --enable-unstable-feature hug_parens_with_braces_and_square_brackets ` to apply this
68
- preview style throughout 2024, even if a later Black release downgrades the feature to
69
- unstable (#4096 )
62
+ preview feature throughout 2024, even if a later Black release downgrades the feature
63
+ to unstable (#4096 )
70
64
- Format module docstrings the same as class and function docstrings (#4095 )
71
65
- Fix crash when using a walrus in a dictionary (#4155 )
72
66
- Fix unnecessary parentheses when wrapping long dicts (#4135 )
73
67
- Stop normalizing spaces before ` # fmt: skip ` comments (#4146 )
74
68
75
69
### Configuration
76
70
77
- <!-- Changes to how Black can be configured -->
78
-
79
- - Print warning when toml config contains an invalid key (#4165 )
80
- - Fix symlink handling, properly catch and ignore symlinks that point outside of root
81
- (#4161 )
71
+ - Print warning when configuration in ` pyproject.toml ` contains an invalid key (#4165 )
72
+ - Fix symlink handling, properly ignoring symlinks that point outside of root (#4161 )
82
73
- Fix cache mtime logic that resulted in false positive cache hits (#4128 )
83
74
- Remove the long-deprecated ` --experimental-string-processing ` flag. This feature can
84
75
currently be enabled with ` --preview --enable-unstable-feature string_processing ` .
85
76
(#4096 )
86
77
87
- ### Packaging
88
-
89
- <!-- Changes to how Black is packaged, such as dependency requirements -->
90
-
91
- ### Parser
92
-
93
- <!-- Changes to the parser or to version autodetection -->
94
-
95
- ### Performance
96
-
97
- <!-- Changes that improve Black's performance. -->
98
-
99
- ### Output
100
-
101
- <!-- Changes to Black's terminal output and error messages -->
102
-
103
- ### _ Blackd_
104
-
105
- <!-- Changes to blackd -->
106
-
107
78
### Integrations
108
79
109
- <!-- For example, Docker, GitHub Actions, pre-commit, editors -->
110
-
111
80
- Revert the change to run Black's pre-commit integration only on specific git hooks
112
81
(#3940 ) for better compatibility with older versions of pre-commit (#4137 )
113
82
114
- ### Documentation
115
-
116
- <!-- Major changes to documentation and policies. Small docs changes
117
- don't need a changelog entry. -->
118
-
119
83
## 23.12.1
120
84
121
85
### Packaging
0 commit comments