Prepare release 23.12.0 (#4105)

This commit is contained in:
Jelle Zijlstra 2023-12-11 21:55:28 -08:00 committed by GitHub
parent ebd543c0ac
commit d9ad09a32b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 30 deletions

View File

@ -1,10 +1,16 @@
# Change Log # Change Log
## Unreleased ## 23.12.0
### Highlights ### Highlights
<!-- Include any especially major or disruptive changes here --> It's almost 2024, which means it's time for a new edition of _Black_'s stable style!
Together with this release, we'll put out an alpha release 24.1a1 showcasing the draft
2024 stable style, which we'll finalize in the January release. Please try it out and
[share your feedback](https://github.com/psf/black/issues/4042).
This release (23.12.0) will still produce the 2023 style. Most but not all of the
changes in `--preview` mode will be in the 2024 stable style.
### Stable style ### Stable style
@ -26,8 +32,6 @@
### Configuration ### Configuration
<!-- Changes to how Black can be configured -->
- `--line-ranges` now skips _Black_'s internal stability check in `--safe` mode. This - `--line-ranges` now skips _Black_'s internal stability check in `--safe` mode. This
avoids a crash on rare inputs that have many unformatted same-content lines. (#4034) avoids a crash on rare inputs that have many unformatted same-content lines. (#4034)
@ -36,33 +40,12 @@
- Upgrade to mypy 1.7.1 (#4049) (#4069) - Upgrade to mypy 1.7.1 (#4049) (#4069)
- Faster compiled wheels are now available for CPython 3.12 (#4070) - Faster compiled wheels are now available for CPython 3.12 (#4070)
### 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 ### Integrations
- Enable 3.12 CI (#4035) - Enable 3.12 CI (#4035)
- Build docker images in parallel (#4054) - Build docker images in parallel (#4054)
- Build docker images with 3.12 (#4055) - Build docker images with 3.12 (#4055)
### Documentation
<!-- Major changes to documentation and policies. Small docs changes
don't need a changelog entry. -->
## 23.11.0 ## 23.11.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: 23.11.0 rev: 23.12.0
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: 23.11.0 rev: 23.12.0
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

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