11# Change Log
22
3- ## Unreleased
3+ ## 24.1.0
44
55### Highlights
66
7- <!-- Include any especially major or disruptive changes here -->
8-
97This release introduces the new 2024 stable style (#4106 ), stabilizing the following
108changes:
119
@@ -44,8 +42,6 @@ year's stable style.
4442
4543### Stable style
4644
47- <!-- Changes that affect Black's stable style -->
48-
4945Several bug fixes were made in features that are moved to the stable style in this
5046release:
5147
@@ -59,63 +55,31 @@ release:
5955
6056### Preview style
6157
62- <!-- Changes that affect Black's preview style -->
63-
6458- Add ` --unstable ` style, covering preview features that have known problems that would
6559 block them from going into the stable style. Also add the ` --enable-unstable-feature `
6660 flag; for example, use
6761 ` --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 )
7064- Format module docstrings the same as class and function docstrings (#4095 )
7165- Fix crash when using a walrus in a dictionary (#4155 )
7266- Fix unnecessary parentheses when wrapping long dicts (#4135 )
7367- Stop normalizing spaces before ` # fmt: skip ` comments (#4146 )
7468
7569### Configuration
7670
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 )
8273- Fix cache mtime logic that resulted in false positive cache hits (#4128 )
8374- Remove the long-deprecated ` --experimental-string-processing ` flag. This feature can
8475 currently be enabled with ` --preview --enable-unstable-feature string_processing ` .
8576 (#4096 )
8677
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-
10778### Integrations
10879
109- <!-- For example, Docker, GitHub Actions, pre-commit, editors -->
110-
11180- Revert the change to run Black's pre-commit integration only on specific git hooks
11281 (#3940 ) for better compatibility with older versions of pre-commit (#4137 )
11382
114- ### Documentation
115-
116- <!-- Major changes to documentation and policies. Small docs changes
117- don't need a changelog entry. -->
118-
11983## 23.12.1
12084
12185### Packaging
0 commit comments