Skip to content

Commit ae2c075

Browse files
Prepare release 22.3.0 (#2968)
1 parent e9681a4 commit ae2c075

3 files changed

Lines changed: 39 additions & 22 deletions

File tree

CHANGES.md

Lines changed: 37 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414

1515
<!-- Changes that affect Black's preview style -->
1616

17-
- Code cell separators `#%%` are now standardised to `# %%` (#2919)
18-
- Remove unnecessary parentheses from `except` statements (#2939)
19-
- Remove unnecessary parentheses from tuple unpacking in `for` loops (#2945)
20-
- Avoid magic-trailing-comma in single-element subscripts (#2942)
21-
2217
### _Blackd_
2318

2419
<!-- Changes to blackd -->
@@ -27,34 +22,62 @@
2722

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

25+
### Documentation
26+
27+
<!-- Major changes to documentation and policies. Small docs changes
28+
don't need a changelog entry. -->
29+
30+
### Integrations
31+
32+
<!-- For example, Docker, GitHub Actions, pre-commit, editors -->
33+
34+
### Output
35+
36+
<!-- Changes to Black's terminal output and error messages -->
37+
38+
### Packaging
39+
40+
<!-- Changes to how Black is packaged, such as dependency requirements -->
41+
42+
### Parser
43+
44+
<!-- Changes to the parser or to version autodetection -->
45+
46+
### Performance
47+
48+
<!-- Changes that improve Black's performance. -->
49+
50+
## 22.3.0
51+
52+
### Preview style
53+
54+
- Code cell separators `#%%` are now standardised to `# %%` (#2919)
55+
- Remove unnecessary parentheses from `except` statements (#2939)
56+
- Remove unnecessary parentheses from tuple unpacking in `for` loops (#2945)
57+
- Avoid magic-trailing-comma in single-element subscripts (#2942)
58+
59+
### Configuration
60+
3061
- Do not format `__pypackages__` directories by default (#2836)
3162
- Add support for specifying stable version with `--required-version` (#2832).
3263
- Avoid crashing when the user has no homedir (#2814)
3364
- Avoid crashing when md5 is not available (#2905)
65+
- Fix handling of directory junctions on Windows (#2904)
3466

3567
### Documentation
3668

37-
<!-- Major changes to documentation and policies. Small docs changes
38-
don't need a changelog entry. -->
39-
4069
- Update pylint config documentation (#2931)
4170

4271
### Integrations
4372

44-
<!-- For example, Docker, GitHub Actions, pre-commit, editors -->
45-
4673
- Move test to disable plugin in Vim/Neovim, which speeds up loading (#2896)
4774

4875
### Output
4976

50-
<!-- Changes to Black's terminal output and error messages -->
51-
5277
- In verbose, mode, log when _Black_ is using user-level config (#2861)
5378

5479
### Packaging
5580

56-
<!-- Changes to how Black is packaged, such as dependency requirements -->
57-
5881
- Fix Black to work with Click 8.1.0 (#2966)
5982
- On Python 3.11 and newer, use the standard library's `tomllib` instead of `tomli`
6083
(#2903)
@@ -66,12 +89,6 @@
6689
- Black can now parse starred expressions in the target of `for` and `async for`
6790
statements, e.g `for item in *items_1, *items_2: pass` (#2879).
6891

69-
- Fix handling of directory junctions on Windows (#2904)
70-
71-
### Performance
72-
73-
<!-- Changes that improve Black's performance. -->
74-
7592
## 22.1.0
7693

7794
At long last, _Black_ is no longer a beta product! This is the first non-beta release

docs/integrations/source_version_control.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Use [pre-commit](https://pre-commit.com/). Once you
77
```yaml
88
repos:
99
- repo: https://github.com/psf/black
10-
rev: 22.1.0
10+
rev: 22.3.0
1111
hooks:
1212
- id: black
1313
# It is recommended to specify the latest version of Python

docs/usage_and_configuration/the_basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ You can check the version of _Black_ you have installed using the `--version` fl
173173

174174
```console
175175
$ black --version
176-
black, version 22.1.0
176+
black, version 22.3.0
177177
```
178178

179179
An option to require a specific version to be running is also provided.

0 commit comments

Comments
 (0)