Skip to content

Commit d9ad09a

Browse files
Prepare release 23.12.0 (#4105)
1 parent ebd543c commit d9ad09a

File tree

3 files changed

+13
-30
lines changed

3 files changed

+13
-30
lines changed

CHANGES.md

+8-25
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
# Change Log
22

3-
## Unreleased
3+
## 23.12.0
44

55
### Highlights
66

7-
<!-- Include any especially major or disruptive changes here -->
7+
It's almost 2024, which means it's time for a new edition of _Black_'s stable style!
8+
Together with this release, we'll put out an alpha release 24.1a1 showcasing the draft
9+
2024 stable style, which we'll finalize in the January release. Please try it out and
10+
[share your feedback](https://github.com/psf/black/issues/4042).
11+
12+
This release (23.12.0) will still produce the 2023 style. Most but not all of the
13+
changes in `--preview` mode will be in the 2024 stable style.
814

915
### Stable style
1016

@@ -26,8 +32,6 @@
2632

2733
### Configuration
2834

29-
<!-- Changes to how Black can be configured -->
30-
3135
- `--line-ranges` now skips _Black_'s internal stability check in `--safe` mode. This
3236
avoids a crash on rare inputs that have many unformatted same-content lines. (#4034)
3337

@@ -36,33 +40,12 @@
3640
- Upgrade to mypy 1.7.1 (#4049) (#4069)
3741
- Faster compiled wheels are now available for CPython 3.12 (#4070)
3842

39-
### Parser
40-
41-
<!-- Changes to the parser or to version autodetection -->
42-
43-
### Performance
44-
45-
<!-- Changes that improve Black's performance. -->
46-
47-
### Output
48-
49-
<!-- Changes to Black's terminal output and error messages -->
50-
51-
### _Blackd_
52-
53-
<!-- Changes to blackd -->
54-
5543
### Integrations
5644

5745
- Enable 3.12 CI (#4035)
5846
- Build docker images in parallel (#4054)
5947
- Build docker images with 3.12 (#4055)
6048

61-
### Documentation
62-
63-
<!-- Major changes to documentation and policies. Small docs changes
64-
don't need a changelog entry. -->
65-
6649
## 23.11.0
6750

6851
### Highlights

docs/integrations/source_version_control.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Use [pre-commit](https://pre-commit.com/). Once you
88
repos:
99
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
1010
- repo: https://github.com/psf/black-pre-commit-mirror
11-
rev: 23.11.0
11+
rev: 23.12.0
1212
hooks:
1313
- id: black
1414
# 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
3535
repos:
3636
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
3737
- repo: https://github.com/psf/black-pre-commit-mirror
38-
rev: 23.11.0
38+
rev: 23.12.0
3939
hooks:
4040
- id: black-jupyter
4141
# It is recommended to specify the latest version of Python

docs/usage_and_configuration/the_basics.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ configuration file for consistent results across environments.
241241

242242
```console
243243
$ black --version
244-
black, 23.11.0 (compiled: yes)
245-
$ black --required-version 23.11.0 -c "format = 'this'"
244+
black, 23.12.0 (compiled: yes)
245+
$ black --required-version 23.12.0 -c "format = 'this'"
246246
format = "this"
247247
$ black --required-version 31.5b2 -c "still = 'beta?!'"
248248
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
333333

334334
```console
335335
$ black --version
336-
black, 23.11.0
336+
black, 23.12.0
337337
```
338338

339339
#### `--config`

0 commit comments

Comments
 (0)