Skip to content

Commit 27d2014

Browse files
Prepare release 22.10.0 (#3311)
1 parent 4da0851 commit 27d2014

File tree

4 files changed

+48
-30
lines changed

4 files changed

+48
-30
lines changed

CHANGES.md

+45-27
Original file line numberDiff line numberDiff line change
@@ -6,42 +6,22 @@
66

77
<!-- Include any especially major or disruptive changes here -->
88

9-
- Runtime support for Python 3.6 has been removed. Formatting 3.6 code will still be
10-
supported until further notice.
11-
129
### Stable style
1310

1411
<!-- Changes that affect Black's stable style -->
1512

16-
- Fix a crash when `# fmt: on` is used on a different block level than `# fmt: off`
17-
(#3281)
18-
1913
### Preview style
2014

2115
<!-- Changes that affect Black's preview style -->
2216

23-
- Fix a crash when formatting some dicts with parenthesis-wrapped long string keys
24-
(#3262)
25-
2617
### Configuration
2718

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

30-
- `.ipynb_checkpoints` directories are now excluded by default (#3293)
31-
- Add `--skip-source-first-line` / `-x` option to ignore the first line of source code
32-
while formatting (#3299)
33-
3421
### Packaging
3522

3623
<!-- Changes to how Black is packaged, such as dependency requirements -->
3724

38-
- Executables made with PyInstaller will no longer crash when formatting several files
39-
at once on macOS. Native x86-64 executables for macOS are available once again.
40-
(#3275)
41-
- Hatchling is now used as the build backend. This will not have any effect for users
42-
who install Black with its wheels from PyPI. (#3233)
43-
- Faster compiled wheels are now available for CPython 3.11 (#3276)
44-
4525
### Parser
4626

4727
<!-- Changes to the parser or to version autodetection -->
@@ -56,22 +36,61 @@
5636

5737
### _Blackd_
5838

59-
- Windows style (CRLF) newlines will be preserved (#3257).
39+
<!-- Changes to blackd -->
6040

6141
### Integrations
6242

6343
<!-- For example, Docker, GitHub Actions, pre-commit, editors -->
6444

65-
- Update GitHub Action to support formatting of Jupyter Notebook files via a `jupyter`
66-
option (#3282)
67-
- Update GitHub Action to support use of version specifiers (e.g. `<23`) for Black
68-
version (#3265)
69-
7045
### Documentation
7146

7247
<!-- Major changes to documentation and policies. Small docs changes
7348
don't need a changelog entry. -->
7449

50+
## 22.10.0
51+
52+
### Highlights
53+
54+
- Runtime support for Python 3.6 has been removed. Formatting 3.6 code will still be
55+
supported until further notice.
56+
57+
### Stable style
58+
59+
- Fix a crash when `# fmt: on` is used on a different block level than `# fmt: off`
60+
(#3281)
61+
62+
### Preview style
63+
64+
- Fix a crash when formatting some dicts with parenthesis-wrapped long string keys
65+
(#3262)
66+
67+
### Configuration
68+
69+
- `.ipynb_checkpoints` directories are now excluded by default (#3293)
70+
- Add `--skip-source-first-line` / `-x` option to ignore the first line of source code
71+
while formatting (#3299)
72+
73+
### Packaging
74+
75+
- Executables made with PyInstaller will no longer crash when formatting several files
76+
at once on macOS. Native x86-64 executables for macOS are available once again.
77+
(#3275)
78+
- Hatchling is now used as the build backend. This will not have any effect for users
79+
who install Black with its wheels from PyPI. (#3233)
80+
- Faster compiled wheels are now available for CPython 3.11 (#3276)
81+
82+
### _Blackd_
83+
84+
- Windows style (CRLF) newlines will be preserved (#3257).
85+
86+
### Integrations
87+
88+
- Vim plugin: add flag (`g:black_preview`) to enable/disable the preview style (#3246)
89+
- Update GitHub Action to support formatting of Jupyter Notebook files via a `jupyter`
90+
option (#3282)
91+
- Update GitHub Action to support use of version specifiers (e.g. `<23`) for Black
92+
version (#3265)
93+
7594
## 22.8.0
7695

7796
### Highlights
@@ -126,7 +145,6 @@
126145
- Vim plugin: prefix messages with `Black: ` so it's clear they come from Black (#3194)
127146
- Docker: changed to a /opt/venv installation + added to PATH to be available to
128147
non-root users (#3202)
129-
- Vim plugin: add flag (`g:black_preview`) to enable/disable the preview style (#3246)
130148

131149
### Output
132150

docs/faq.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Support for formatting Python 2 code was removed in version 22.0. While we've ma
9595
plans to stop supporting older Python 3 minor versions immediately, their support might
9696
also be removed some time in the future without a deprecation period.
9797

98-
Runtime support for 3.6 was removed in version 22.9.0.
98+
Runtime support for 3.6 was removed in version 22.10.0.
9999

100100
## Why does my linter or typechecker complain after I format my code?
101101

docs/integrations/source_version_control.md

+1-1
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.8.0
10+
rev: 22.10.0
1111
hooks:
1212
- id: black
1313
# It is recommended to specify the latest version of Python

docs/usage_and_configuration/the_basics.md

+1-1
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.8.0
176+
black, version 22.10.0
177177
```
178178

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

0 commit comments

Comments
 (0)