|
6 | 6 |
|
7 | 7 | <!-- Include any especially major or disruptive changes here -->
|
8 | 8 |
|
9 |
| -- Runtime support for Python 3.6 has been removed. Formatting 3.6 code will still be |
10 |
| - supported until further notice. |
11 |
| - |
12 | 9 | ### Stable style
|
13 | 10 |
|
14 | 11 | <!-- Changes that affect Black's stable style -->
|
15 | 12 |
|
16 |
| -- Fix a crash when `# fmt: on` is used on a different block level than `# fmt: off` |
17 |
| - (#3281) |
18 |
| - |
19 | 13 | ### Preview style
|
20 | 14 |
|
21 | 15 | <!-- Changes that affect Black's preview style -->
|
22 | 16 |
|
23 |
| -- Fix a crash when formatting some dicts with parenthesis-wrapped long string keys |
24 |
| - (#3262) |
25 |
| - |
26 | 17 | ### Configuration
|
27 | 18 |
|
28 | 19 | <!-- Changes to how Black can be configured -->
|
29 | 20 |
|
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 |
| - |
34 | 21 | ### Packaging
|
35 | 22 |
|
36 | 23 | <!-- Changes to how Black is packaged, such as dependency requirements -->
|
37 | 24 |
|
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 |
| - |
45 | 25 | ### Parser
|
46 | 26 |
|
47 | 27 | <!-- Changes to the parser or to version autodetection -->
|
|
56 | 36 |
|
57 | 37 | ### _Blackd_
|
58 | 38 |
|
59 |
| -- Windows style (CRLF) newlines will be preserved (#3257). |
| 39 | +<!-- Changes to blackd --> |
60 | 40 |
|
61 | 41 | ### Integrations
|
62 | 42 |
|
63 | 43 | <!-- For example, Docker, GitHub Actions, pre-commit, editors -->
|
64 | 44 |
|
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 |
| - |
70 | 45 | ### Documentation
|
71 | 46 |
|
72 | 47 | <!-- Major changes to documentation and policies. Small docs changes
|
73 | 48 | don't need a changelog entry. -->
|
74 | 49 |
|
| 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 | + |
75 | 94 | ## 22.8.0
|
76 | 95 |
|
77 | 96 | ### Highlights
|
|
126 | 145 | - Vim plugin: prefix messages with `Black: ` so it's clear they come from Black (#3194)
|
127 | 146 | - Docker: changed to a /opt/venv installation + added to PATH to be available to
|
128 | 147 | non-root users (#3202)
|
129 |
| -- Vim plugin: add flag (`g:black_preview`) to enable/disable the preview style (#3246) |
130 | 148 |
|
131 | 149 | ### Output
|
132 | 150 |
|
|
0 commit comments