Sourced from black's releases.
\n\n\n23.11.0
\nHighlights
\n\n
\n- Support formatting ranges of lines with the new
\n--line-ranges
command-line option\n(#4020)Stable style
\n\n
\n- Fix crash on formatting bytes strings that look like docstrings (#4003)
\n- Fix crash when whitespace followed a backslash before newline in a docstring (#4008)
\n- Fix standalone comments inside complex blocks crashing Black (#4016)
\n- Fix crash on formatting code like
\nawait (a ** b)
(#3994)- No longer treat leading f-strings as docstrings. This matches Python's behaviour and\nfixes a crash (#4019)
\nPreview style
\n\n
\n- Multiline dicts and lists that are the sole argument to a function are now\nindented less (#3964)
\n- Multiline unpacked dicts and lists as the sole argument to a function are now also\nindented less (#3992)
\n- In f-string debug expressions, quote types that are visible in the final string\nare now preserved (#4005)
\n- Fix a bug where long
\ncase
blocks were not split into multiple lines. Also enable\ngeneral trailing comma rules oncase
blocks (#4024)- Keep requiring two empty lines between module-level docstring and first function or\nclass definition (#4028)
\n- Add support for single-line format skip with other comments on the same line (#3959)
\nConfiguration
\n\n
\n- Consistently apply force exclusion logic before resolving symlinks (#4015)
\n- Fix a bug in the matching of absolute path names in
\n--include
(#3976)Performance
\n\n
\n- Fix mypyc builds on arm64 on macOS (#4017)
\nIntegrations
\n\n
\n- Black's pre-commit integration will now run only on git hooks appropriate for a code\nformatter (#3940)
\n23.10.1
\nHighlights
\n\n
\n- Maintanence release to get a fix out for GitHub Action edge case (#3957)
\nPreview style
\n\n
... (truncated)
\nSourced from black's changelog.
\n\n\n23.11.0
\nHighlights
\n\n
\n- Support formatting ranges of lines with the new
\n--line-ranges
command-line option\n(#4020)Stable style
\n\n
\n- Fix crash on formatting bytes strings that look like docstrings (#4003)
\n- Fix crash when whitespace followed a backslash before newline in a docstring (#4008)
\n- Fix standalone comments inside complex blocks crashing Black (#4016)
\n- Fix crash on formatting code like
\nawait (a ** b)
(#3994)- No longer treat leading f-strings as docstrings. This matches Python's behaviour and\nfixes a crash (#4019)
\nPreview style
\n\n
\n- Multiline dicts and lists that are the sole argument to a function are now indented\nless (#3964)
\n- Multiline unpacked dicts and lists as the sole argument to a function are now also\nindented less (#3992)
\n- In f-string debug expressions, quote types that are visible in the final string are\nnow preserved (#4005)
\n- Fix a bug where long
\ncase
blocks were not split into multiple lines. Also enable\ngeneral trailing comma rules oncase
blocks (#4024)- Keep requiring two empty lines between module-level docstring and first function or\nclass definition (#4028)
\n- Add support for single-line format skip with other comments on the same line (#3959)
\nConfiguration
\n\n
\n- Consistently apply force exclusion logic before resolving symlinks (#4015)
\n- Fix a bug in the matching of absolute path names in
\n--include
(#3976)Performance
\n\n
\n- Fix mypyc builds on arm64 on macOS (#4017)
\nIntegrations
\n\n
\n- Black's pre-commit integration will now run only on git hooks appropriate for a code\nformatter (#3940)
\n23.10.1
\nHighlights
\n\n
\n\n- Maintenance release to get a fix out for GitHub Action edge case (#3957)
\n
... (truncated)
\n2a1c67e
Prepare release 23.11.0 (#4032)72e7a2e
Remove redundant condition from has_magic_trailing_comma
(#4023)1a7d9c2
Preserve visible quote types for f-string debug expressions (#4005)f4c7be5
docs: fix minor typo (#4030)2e4fac9
Apply force exclude logic before symlink resolution (#4015)66008fd
[563] Fix standalone comments inside complex blocks crashing Black (#4016)50ed622
Fix long case blocks not split into multiple lines (#4024)46be1f8
Support formatting specified lines (#4020)ecbd9e8
Fix crash with f-string docstrings (#4019)e808e61
Preview: Keep requiring two empty lines between module-level docstring and fi...