Prepare release 24.4.0 (#4307)
This commit is contained in:
parent
6b25e7cdab
commit
8fe627072f
41
CHANGES.md
41
CHANGES.md
@ -1,61 +1,22 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
## Unreleased
|
## 24.4.0
|
||||||
|
|
||||||
### Highlights
|
|
||||||
|
|
||||||
<!-- Include any especially major or disruptive changes here -->
|
|
||||||
|
|
||||||
### Stable style
|
### Stable style
|
||||||
|
|
||||||
<!-- Changes that affect Black's stable style -->
|
|
||||||
|
|
||||||
- Fix unwanted crashes caused by AST equivalency check (#4290)
|
- Fix unwanted crashes caused by AST equivalency check (#4290)
|
||||||
|
|
||||||
### Preview style
|
### Preview style
|
||||||
|
|
||||||
<!-- Changes that affect Black's preview style -->
|
|
||||||
|
|
||||||
- `if` guards in `case` blocks are now wrapped in parentheses when the line is too long.
|
- `if` guards in `case` blocks are now wrapped in parentheses when the line is too long.
|
||||||
(#4269)
|
(#4269)
|
||||||
- Stop moving multiline strings to a new line unless inside brackets (#4289)
|
- Stop moving multiline strings to a new line unless inside brackets (#4289)
|
||||||
|
|
||||||
### Configuration
|
|
||||||
|
|
||||||
<!-- Changes to how Black can be configured -->
|
|
||||||
|
|
||||||
### Packaging
|
|
||||||
|
|
||||||
<!-- Changes to how Black is packaged, such as dependency requirements -->
|
|
||||||
|
|
||||||
### Parser
|
|
||||||
|
|
||||||
<!-- Changes to the parser or to version autodetection -->
|
|
||||||
|
|
||||||
### Performance
|
|
||||||
|
|
||||||
<!-- Changes that improve Black's performance. -->
|
|
||||||
|
|
||||||
### Output
|
|
||||||
|
|
||||||
<!-- Changes to Black's terminal output and error messages -->
|
|
||||||
|
|
||||||
### _Blackd_
|
|
||||||
|
|
||||||
<!-- Changes to blackd -->
|
|
||||||
|
|
||||||
### Integrations
|
### Integrations
|
||||||
|
|
||||||
<!-- For example, Docker, GitHub Actions, pre-commit, editors -->
|
|
||||||
|
|
||||||
- Add a new option `use_pyproject` to the GitHub Action `psf/black`. This will read the
|
- Add a new option `use_pyproject` to the GitHub Action `psf/black`. This will read the
|
||||||
Black version from `pyproject.toml`. (#4294)
|
Black version from `pyproject.toml`. (#4294)
|
||||||
|
|
||||||
### Documentation
|
|
||||||
|
|
||||||
<!-- Major changes to documentation and policies. Small docs changes
|
|
||||||
don't need a changelog entry. -->
|
|
||||||
|
|
||||||
## 24.3.0
|
## 24.3.0
|
||||||
|
|
||||||
### Highlights
|
### Highlights
|
||||||
|
@ -8,7 +8,7 @@ Use [pre-commit](https://pre-commit.com/). Once you
|
|||||||
repos:
|
repos:
|
||||||
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
|
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
|
||||||
- repo: https://github.com/psf/black-pre-commit-mirror
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
||||||
rev: 24.3.0
|
rev: 24.4.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
# It is recommended to specify the latest version of Python
|
# 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
|
|||||||
repos:
|
repos:
|
||||||
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
|
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
|
||||||
- repo: https://github.com/psf/black-pre-commit-mirror
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
||||||
rev: 24.3.0
|
rev: 24.4.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black-jupyter
|
- id: black-jupyter
|
||||||
# It is recommended to specify the latest version of Python
|
# It is recommended to specify the latest version of Python
|
||||||
|
@ -269,8 +269,8 @@ configuration file for consistent results across environments.
|
|||||||
|
|
||||||
```console
|
```console
|
||||||
$ black --version
|
$ black --version
|
||||||
black, 24.3.0 (compiled: yes)
|
black, 24.4.0 (compiled: yes)
|
||||||
$ black --required-version 24.3.0 -c "format = 'this'"
|
$ black --required-version 24.4.0 -c "format = 'this'"
|
||||||
format = "this"
|
format = "this"
|
||||||
$ black --required-version 31.5b2 -c "still = 'beta?!'"
|
$ black --required-version 31.5b2 -c "still = 'beta?!'"
|
||||||
Oh no! 💥 💔 💥 The required version does not match the running version!
|
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
|
|||||||
|
|
||||||
```console
|
```console
|
||||||
$ black --version
|
$ black --version
|
||||||
black, 24.3.0
|
black, 24.4.0
|
||||||
```
|
```
|
||||||
|
|
||||||
#### `--config`
|
#### `--config`
|
||||||
|
Loading…
Reference in New Issue
Block a user