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 # Change Log
## Unreleased ## 24.1.1
### Highlights Bugfix release to fix a bug that made Black unusable on certain file systems with strict
limits on path length.
<!-- Include any especially major or disruptive changes here -->
### Stable style
<!-- Changes that affect Black's stable style -->
### Preview style ### Preview style
<!-- Changes that affect Black's preview style -->
- Consistently add trailing comma on typed parameters (#4164) - Consistently add trailing comma on typed parameters (#4164)
### Configuration ### 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 - Shorten the length of the name of the cache file to fix crashes on file systems that
do not support long paths (#4176) 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 ## 24.1.0
### Highlights ### Highlights

View File

@ -8,7 +8,7 @@ Use [pre-commit](https://pre-commit.com/). Once you
repos: repos:
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster # Using this mirror lets us use mypyc-compiled black, which is about 2x faster
- repo: https://github.com/psf/black-pre-commit-mirror - repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.1.0 rev: 24.1.1
hooks: hooks:
- id: black - id: black
# It is recommended to specify the latest version of Python # 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: repos:
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster # Using this mirror lets us use mypyc-compiled black, which is about 2x faster
- repo: https://github.com/psf/black-pre-commit-mirror - repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.1.0 rev: 24.1.1
hooks: hooks:
- id: black-jupyter - id: black-jupyter
# It is recommended to specify the latest version of Python # It is recommended to specify the latest version of Python

View File

@ -266,8 +266,8 @@ configuration file for consistent results across environments.
```console ```console
$ black --version $ black --version
black, 24.1.0 (compiled: yes) black, 24.1.1 (compiled: yes)
$ black --required-version 24.1.0 -c "format = 'this'" $ black --required-version 24.1.1 -c "format = 'this'"
format = "this" format = "this"
$ black --required-version 31.5b2 -c "still = 'beta?!'" $ black --required-version 31.5b2 -c "still = 'beta?!'"
Oh no! 💥 💔 💥 The required version does not match the running version! 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 ```console
$ black --version $ black --version
black, 24.1.0 black, 24.1.1
``` ```
#### `--config` #### `--config`