11# Change Log
22
3- ## Unreleased
3+ ## 24.3.0
44
55### Highlights
66
7- <!-- Include any especially major or disruptive changes here -->
8-
97This release is a milestone: it fixes Black's first CVE security vulnerability. If you
108run Black on untrusted input, or if you habitually put thousands of leading tab
119characters in your docstrings, you are strongly encouraged to upgrade immediately to fix
@@ -16,56 +14,24 @@ incorrect changes to certain f-strings that are valid in Python 3.12 and higher.
1614
1715### Stable style
1816
19- <!-- Changes that affect Black's stable style -->
20-
2117- Don't move comments along with delimiters, which could cause crashes (#4248 )
2218- Strengthen AST safety check to catch more unsafe changes to strings. Previous versions
2319 of Black would incorrectly format the contents of certain unusual f-strings containing
2420 nested strings with the same quote type. Now, Black will crash on such strings until
2521 support for the new f-string syntax is implemented. (#4270 )
26- - Fixed a bug where line-ranges exceeding the last code line would not work as expected
22+ - Fix a bug where line-ranges exceeding the last code line would not work as expected
2723 (#4273 )
2824
29- ### Preview style
30-
31- <!-- Changes that affect Black's preview style -->
32-
33- ### Configuration
34-
35- <!-- Changes to how Black can be configured -->
36-
37- ### Packaging
38-
39- <!-- Changes to how Black is packaged, such as dependency requirements -->
40-
41- ### Parser
42-
43- <!-- Changes to the parser or to version autodetection -->
44-
4525### Performance
4626
4727- Fix catastrophic performance on docstrings that contain large numbers of leading tab
4828 characters. This fixes
4929 [ CVE-2024 -21503] ( https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503 ) .
5030 (#4278 )
5131
52- ### Output
53-
54- <!-- Changes to Black's terminal output and error messages -->
55-
56- ### _ Blackd_
57-
58- <!-- Changes to blackd -->
59-
60- ### Integrations
61-
62- <!-- For example, Docker, GitHub Actions, pre-commit, editors -->
63-
6432### Documentation
6533
6634- Note what happens when ` --check ` is used with ` --quiet ` (#4236 )
67- <!-- Major changes to documentation and policies. Small docs changes
68- don't need a changelog entry. -->
6935
7036## 24.2.0
7137
0 commit comments