Skip to content

Commit af0ba72

Browse files
authored
Prepare docs for release 25.9.0 (#4751)
* Prepare docs for release 25.9.0 * Remove unreleased changelog section
1 parent ffc01a0 commit af0ba72

File tree

3 files changed

+8
-38
lines changed

3 files changed

+8
-38
lines changed

CHANGES.md

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
# Change Log
22

3-
## Unreleased
3+
## 25.9.0
44

55
### Highlights
66

7-
<!-- Include any especially major or disruptive changes here -->
7+
- Remove support for pre-python 3.7 `await/async` as soft keywords/variable names
8+
(#4676)
89

910
### Stable style
1011

11-
<!-- Changes that affect Black's stable style -->
12-
1312
- Fix crash while formatting a long `del` statement containing tuples (#4628)
1413
- Fix crash while formatting expressions using the walrus operator in complex `with`
1514
statements (#4630)
@@ -19,16 +18,12 @@
1918
- Fix crash when formatting a `\` followed by a `\r` followed by a comment (#4663)
2019
- Fix crash on a `\\r\n` (#4673)
2120
- Fix crash on `await ...` (where `...` is a literal `Ellipsis`) (#4676)
22-
- Remove support for pre-python 3.7 `await/async` as soft keywords/variable names
23-
(#4676)
2421
- Fix crash on parenthesized expression inside a type parameter bound (#4684)
2522
- Fix crash when using line ranges excluding indented single line decorated items
2623
(#4670)
2724

2825
### Preview style
2926

30-
<!-- Changes that affect Black's preview style -->
31-
3227
- Fix a bug where one-liner functions/conditionals marked with `# fmt: skip` would still
3328
be formatted (#4552)
3429
- Improve `multiline_string_handling` with ternaries and dictionaries (#4657)
@@ -40,50 +35,25 @@
4035
- Add `\r` style newlines to the potential newlines to normalize file newlines both from
4136
and to (#4710)
4237

43-
### Configuration
44-
45-
<!-- Changes to how Black can be configured -->
46-
47-
### Packaging
48-
49-
<!-- Changes to how Black is packaged, such as dependency requirements -->
50-
5138
### Parser
5239

53-
<!-- Changes to the parser or to version autodetection -->
54-
5540
- Rewrite tokenizer to improve performance and compliance (#4536)
5641
- Fix bug where certain unusual expressions (e.g., lambdas) were not accepted in type
5742
parameter bounds and defaults. (#4602)
5843

5944
### Performance
6045

61-
<!-- Changes that improve Black's performance. -->
62-
6346
- Avoid using an extra process when running with only one worker (#4734)
6447

65-
### Output
66-
67-
<!-- Changes to Black's terminal output and error messages -->
68-
69-
### _Blackd_
70-
71-
<!-- Changes to blackd -->
72-
7348
### Integrations
7449

75-
<!-- For example, Docker, GitHub Actions, pre-commit, editors -->
76-
7750
- Fix the version check in the vim file to reject Python 3.8 (#4567)
7851
- Enhance GitHub Action `psf/black` to read Black version from an additional section in
7952
pyproject.toml: `[project.dependency-groups]` (#4606)
8053
- Build gallery docker image with python3-slim and reduce image size (#4686)
8154

8255
### Documentation
8356

84-
<!-- Major changes to documentation and policies. Small docs changes
85-
don't need a changelog entry. -->
86-
8757
- Add FAQ entry for windows emoji not displaying (#4714)
8858

8959
## 25.1.0

docs/integrations/source_version_control.md

Lines changed: 2 additions & 2 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: 25.1.0
11+
rev: 25.9.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: 25.1.0
38+
rev: 25.9.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

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

271271
```console
272272
$ black --version
273-
black, 25.1.0 (compiled: yes)
274-
$ black --required-version 25.1.0 -c "format = 'this'"
273+
black, 25.9.0 (compiled: yes)
274+
$ black --required-version 25.9.0 -c "format = 'this'"
275275
format = "this"
276276
$ black --required-version 31.5b2 -c "still = 'beta?!'"
277277
Oh no! 💥 💔 💥 The required version does not match the running version!
@@ -372,7 +372,7 @@ You can check the version of _Black_ you have installed using the `--version` fl
372372

373373
```console
374374
$ black --version
375-
black, 25.1.0
375+
black, 25.9.0
376376
```
377377

378378
#### `--config`

0 commit comments

Comments
 (0)