Prepare release 24.4.1 (#4328)

This commit is contained in:
Jelle Zijlstra 2024-04-24 07:23:25 -07:00 committed by GitHub
parent 3f0f8f1956
commit e7fb048281
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 43 deletions

View File

@ -1,61 +1,24 @@
# Change Log
## Unreleased
## 24.4.1
### Highlights
<!-- Include any especially major or disruptive changes here -->
- Add support for the new Python 3.12 f-string syntax introduced by PEP 701 (#3822)
### Stable style
<!-- Changes that affect Black's stable style -->
- Fix crash involving indented dummy functions containing newlines (#4318)
### Preview style
<!-- Changes that affect Black's preview style -->
### Configuration
<!-- Changes to how Black can be configured -->
### Packaging
<!-- Changes to how Black is packaged, such as dependency requirements -->
### Parser
<!-- Changes to the parser or to version autodetection -->
- Add support for type parameter defaults, a new syntactic feature added to Python 3.13
by PEP 696 (#4327)
### Performance
<!-- Changes that improve Black's performance. -->
### Output
<!-- Changes to Black's terminal output and error messages -->
### _Blackd_
<!-- Changes to blackd -->
### Integrations
<!-- For example, Docker, GitHub Actions, pre-commit, editors -->
- Github Action now works even when `git archive` is skipped (#4313)
### Documentation
<!-- Major changes to documentation and policies. Small docs changes
don't need a changelog entry. -->
## 24.4.0
### Stable style

View File

@ -8,7 +8,7 @@ Use [pre-commit](https://pre-commit.com/). Once you
repos:
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.4.0
rev: 24.4.1
hooks:
- id: black
# It is recommended to specify the latest version of Python
@ -35,7 +35,7 @@ include Jupyter Notebooks. To use this hook, simply replace the hook's `id: blac
repos:
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.4.0
rev: 24.4.1
hooks:
- id: black-jupyter
# It is recommended to specify the latest version of Python

View File

@ -269,8 +269,8 @@ configuration file for consistent results across environments.
```console
$ black --version
black, 24.4.0 (compiled: yes)
$ black --required-version 24.4.0 -c "format = 'this'"
black, 24.4.1 (compiled: yes)
$ black --required-version 24.4.1 -c "format = 'this'"
format = "this"
$ black --required-version 31.5b2 -c "still = 'beta?!'"
Oh no! 💥 💔 💥 The required version does not match the running version!
@ -366,7 +366,7 @@ You can check the version of _Black_ you have installed using the `--version` fl
```console
$ black --version
black, 24.4.0
black, 24.4.1
```
#### `--config`