Prepare release 24.1.1 (#4186)

This commit is contained in:
Jelle Zijlstra 2024-01-27 20:51:32 -08:00 committed by GitHub
parent 79fc1158a9
commit e026c93888
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 46 deletions

View File

@ -1,57 +1,19 @@
# Change Log
## Unreleased
## 24.1.1
### Highlights
<!-- Include any especially major or disruptive changes here -->
### Stable style
<!-- Changes that affect Black's stable style -->
Bugfix release to fix a bug that made Black unusable on certain file systems with strict
limits on path length.
### Preview style
<!-- Changes that affect Black's preview style -->
- Consistently add trailing comma on typed parameters (#4164)
### Configuration
<!-- Changes to how Black can be configured -->
- Shorten the length of the name of the cache file to fix crashes on file systems that
do not support long paths (#4176)
### Packaging
<!-- Changes to how Black is packaged, such as dependency requirements -->
### Parser
<!-- Changes to the parser or to version autodetection -->
### 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 -->
### Documentation
<!-- Major changes to documentation and policies. Small docs changes
don't need a changelog entry. -->
## 24.1.0
### Highlights

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.1.0
rev: 24.1.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.1.0
rev: 24.1.1
hooks:
- id: black-jupyter
# It is recommended to specify the latest version of Python

View File

@ -266,8 +266,8 @@ configuration file for consistent results across environments.
```console
$ black --version
black, 24.1.0 (compiled: yes)
$ black --required-version 24.1.0 -c "format = 'this'"
black, 24.1.1 (compiled: yes)
$ black --required-version 24.1.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!
@ -363,7 +363,7 @@ You can check the version of _Black_ you have installed using the `--version` fl
```console
$ black --version
black, 24.1.0
black, 24.1.1
```
#### `--config`