Skip to content

Commit 1b2427a

Browse files
authored
Prepare release 24.10.0 (#4471)
1 parent a22b1eb commit 1b2427a

File tree

3 files changed

+7
-42
lines changed

3 files changed

+7
-42
lines changed

CHANGES.md

Lines changed: 2 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
# Change Log
22

3-
## Unreleased
3+
## 24.10.0
44

55
### Highlights
66

7-
<!-- Include any especially major or disruptive changes here -->
8-
97
- Black is now officially tested with Python 3.13 and provides Python 3.13
108
mypyc-compiled wheels. (#4436) (#4449)
119
- Black will issue an error when used with Python 3.12.5, due to an upstream memory
@@ -15,62 +13,29 @@
1513

1614
### Stable style
1715

18-
<!-- Changes that affect Black's stable style -->
19-
2016
- Fix crashes involving comments in parenthesised return types or `X | Y` style unions.
2117
(#4453)
2218
- Fix skipping Jupyter cells with unknown `%%` magic (#4462)
2319

2420
### Preview style
2521

26-
<!-- Changes that affect Black's preview style -->
27-
2822
- Fix type annotation spacing between * and more complex type variable tuple (i.e. `def
2923
fn(*args: *tuple[*Ts, T]) -> None: pass`) (#4440)
3024

3125
### Caching
3226

3327
- Fix bug where the cache was shared between runs with and without `--unstable` (#4466)
3428

35-
### Configuration
36-
37-
<!-- Changes to how Black can be configured -->
38-
3929
### Packaging
4030

41-
<!-- Changes to how Black is packaged, such as dependency requirements -->
42-
43-
- Upgrade version of mypyc used to 1.11.2 (#4450)
31+
- Upgrade version of mypyc used to 1.12 beta (#4450) (#4449)
4432
- `blackd` now requires a newer version of aiohttp. (#4451)
4533

46-
### Parser
47-
48-
<!-- Changes to the parser or to version autodetection -->
49-
50-
### Performance
51-
52-
<!-- Changes that improve Black's performance. -->
53-
5434
### Output
5535

56-
<!-- Changes to Black's terminal output and error messages -->
57-
5836
- Added Python target version information on parse error (#4378)
5937
- Add information about Black version to internal error messages (#4457)
6038

61-
### _Blackd_
62-
63-
<!-- Changes to blackd -->
64-
65-
### Integrations
66-
67-
<!-- For example, Docker, GitHub Actions, pre-commit, editors -->
68-
69-
### Documentation
70-
71-
<!-- Major changes to documentation and policies. Small docs changes
72-
don't need a changelog entry. -->
73-
7439
## 24.8.0
7540

7641
### Stable style

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: 24.8.0
11+
rev: 24.10.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: 24.8.0
38+
rev: 24.10.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
@@ -269,8 +269,8 @@ configuration file for consistent results across environments.
269269

270270
```console
271271
$ black --version
272-
black, 24.8.0 (compiled: yes)
273-
$ black --required-version 24.8.0 -c "format = 'this'"
272+
black, 24.10.0 (compiled: yes)
273+
$ black --required-version 24.10.0 -c "format = 'this'"
274274
format = "this"
275275
$ black --required-version 31.5b2 -c "still = 'beta?!'"
276276
Oh no! 💥 💔 💥 The required version does not match the running version!
@@ -366,7 +366,7 @@ You can check the version of _Black_ you have installed using the `--version` fl
366366

367367
```console
368368
$ black --version
369-
black, 24.8.0
369+
black, 24.10.0
370370
```
371371

372372
#### `--config`

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy