Skip to content

Commit

Permalink
Prepare release 23.12.0 (#4105)
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleZijlstra authored Dec 12, 2023
1 parent ebd543c commit d9ad09a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 30 deletions.
33 changes: 8 additions & 25 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# Change Log

## Unreleased
## 23.12.0

### 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

Expand All @@ -26,8 +32,6 @@

### Configuration

<!-- Changes to how Black can be configured -->

- `--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)

Expand All @@ -36,33 +40,12 @@
- Upgrade to mypy 1.7.1 (#4049) (#4069)
- 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

- Enable 3.12 CI (#4035)
- Build docker images in parallel (#4054)
- 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

### Highlights
Expand Down
4 changes: 2 additions & 2 deletions docs/integrations/source_version_control.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: 23.11.0
rev: 23.12.0
hooks:
- id: black
# It is recommended to specify the latest version of Python
Expand All @@ -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: 23.11.0
rev: 23.12.0
hooks:
- id: black-jupyter
# It is recommended to specify the latest version of Python
Expand Down
6 changes: 3 additions & 3 deletions docs/usage_and_configuration/the_basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ configuration file for consistent results across environments.

```console
$ black --version
black, 23.11.0 (compiled: yes)
$ black --required-version 23.11.0 -c "format = 'this'"
black, 23.12.0 (compiled: yes)
$ black --required-version 23.12.0 -c "format = 'this'"
format = "this"
$ black --required-version 31.5b2 -c "still = 'beta?!'"
Oh no! 💥 💔 💥 The required version does not match the running version!
Expand Down Expand Up @@ -333,7 +333,7 @@ You can check the version of _Black_ you have installed using the `--version` fl

```console
$ black --version
black, 23.11.0
black, 23.12.0
```

#### `--config`
Expand Down

0 comments on commit d9ad09a

Please sign in to comment.