Skip to content

Commit c6755bb

Browse files
Prepare release 26.3.1 (#5046)
1 parent 69973fd commit c6755bb

File tree

4 files changed

+8
-50
lines changed

4 files changed

+8
-50
lines changed

CHANGES.md

Lines changed: 1 addition & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,24 @@
11
# Change Log
22

3-
## Unreleased
4-
5-
<!-- PR authors:
6-
Please include the PR number in the changelog entry, not the issue number -->
7-
8-
### Highlights
9-
10-
<!-- Include any especially major or disruptive changes here -->
3+
## 26.3.1
114

125
### Stable style
136

14-
<!-- Changes that affect Black's stable style -->
15-
167
- Prevent Jupyter notebook magic masking collisions from corrupting cells by using
178
exact-length placeholders for short magics and aborting if a placeholder can no longer
189
be unmasked safely (#5038)
1910

20-
### Preview style
21-
22-
<!-- Changes that affect Black's preview style -->
23-
2411
### Configuration
2512

26-
<!-- Changes to how Black can be configured -->
27-
2813
- Always hash cache filename components derived from `--python-cell-magics` so custom
2914
magic names cannot affect cache paths (#5038)
3015

31-
### Packaging
32-
33-
<!-- Changes to how Black is packaged, such as dependency requirements -->
34-
35-
### Parser
36-
37-
<!-- Changes to the parser or to version autodetection -->
38-
39-
### Performance
40-
41-
<!-- Changes that improve Black's performance. -->
42-
43-
### Output
44-
45-
<!-- Changes to Black's terminal output and error messages -->
46-
4716
### _Blackd_
4817

49-
<!-- Changes to blackd -->
50-
5118
- Disable browser-originated requests by default, add configurable origin allowlisting
5219
and request body limits, and bound executor submissions to improve backpressure
5320
(#5039)
5421

55-
### Integrations
56-
57-
<!-- For example, Docker, GitHub Actions, pre-commit, editors -->
58-
59-
### Documentation
60-
61-
<!-- Major changes to documentation and policies. Small docs changes
62-
don't need a changelog entry. -->
63-
6422
## 26.3.0
6523

6624
### Stable style

docs/guides/using_black_with_jupyter_notebooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Simply replace the `black` hook with `black-jupyter`.
111111
```yaml
112112
repos:
113113
- repo: https://github.com/psf/black-pre-commit-mirror
114-
rev: 26.3.0
114+
rev: 26.3.1
115115
hooks:
116116
- id: black-jupyter
117117
language_version: python3.11

docs/integrations/source_version_control.md

Lines changed: 3 additions & 3 deletions
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: 26.3.0
11+
rev: 26.3.1
1212
hooks:
1313
- id: black
1414
# It is recommended to specify the latest version of Python
@@ -34,7 +34,7 @@ include Jupyter Notebooks. To use this hook, simply replace the hook's `id: blac
3434
```yaml
3535
repos:
3636
- repo: https://github.com/psf/black-pre-commit-mirror
37-
rev: 26.3.0
37+
rev: 26.3.1
3838
hooks:
3939
- id: black-jupyter
4040
language_version: python3.11
@@ -64,7 +64,7 @@ Configure exclusions directly in `.pre-commit-config.yaml`:
6464
```yaml
6565
repos:
6666
- repo: https://github.com/psf/black-pre-commit-mirror
67-
rev: 26.3.0
67+
rev: 26.3.1
6868
hooks:
6969
- id: black
7070
exclude: ^migrations/|^generated/

docs/usage_and_configuration/the_basics.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,8 @@ configuration file for consistent results across environments.
280280

281281
```console
282282
$ black --version
283-
black, 26.3.0 (compiled: yes)
284-
$ black --required-version 26.3.0 -c "format = 'this'"
283+
black, 26.3.1 (compiled: yes)
284+
$ black --required-version 26.3.1 -c "format = 'this'"
285285
format = "this"
286286
$ black --required-version 31.5b2 -c "still = 'beta?!'"
287287
Oh no! 💥 💔 💥 The required version does not match the running version!
@@ -382,7 +382,7 @@ You can check the version of _Black_ you have installed using the `--version` fl
382382

383383
```console
384384
$ black --version
385-
black, 26.3.0
385+
black, 26.3.1
386386
```
387387

388388
#### `--config`

0 commit comments

Comments
 (0)