Bump black from 24.4.0 to 24.4.2
Bumps black from 24.4.0 to 24.4.2.
Release notes
Sourced from black's releases.
24.4.2
This is a bugfix release to fix two regressions in the new f-string parser introduced in 24.4.1.
Parser
- Fix regression where certain complex f-strings failed to parse (#4332)
Performance
- Fix bad performance on certain complex string literals (#4331)
24.4.1
Highlights
- Add support for the new Python 3.12 f-string syntax introduced by PEP 701 (#3822)
Stable style
- Fix crash involving indented dummy functions containing newlines (#4318)
Parser
- Add support for type parameter defaults, a new syntactic feature added to Python 3.13 by PEP 696 (#4327)
Integrations
- Github Action now works even when
git archive
is skipped (#4313)
Changelog
Sourced from black's changelog.
24.4.2
This is a bugfix release to fix two regressions in the new f-string parser introduced in 24.4.1.
Parser
- Fix regression where certain complex f-strings failed to parse (#4332)
Performance
- Fix bad performance on certain complex string literals (#4331)
24.4.1
Highlights
- Add support for the new Python 3.12 f-string syntax introduced by PEP 701 (#3822)
Stable style
- Fix crash involving indented dummy functions containing newlines (#4318)
Parser
- Add support for type parameter defaults, a new syntactic feature added to Python 3.13 by PEP 696 (#4327)
Integrations
- Github Action now works even when
git archive
is skipped (#4313)
Commits
-
3702ba2
Prepare release 24.4.2 (#4335) -
e4aaa8a
Fix incorrect f-string tokenization (#4332) -
ba88fc3
Simplify string tokenization regexes (#4331) -
5683242
New release template -
e7fb048
Prepare release 24.4.1 (#4328) -
3f0f8f1
Support PEP 696 (#4327) -
2f88085
Github Action: Directly install from repo ifexport-subst
is skipped (#4313) -
12ce3db
Move changelog entry to right section (#4326) -
1354be2
Add support to style function definitions with newlines before function stubs... -
f4b644b
Prevent wrapping of multiline fstrings in parens (#4325) - Additional commits viewable in compare view