Skip to content

Commit

Permalink
Prepare release 24.4.2 (#4335)
Browse files Browse the repository at this point in the history
* Prepare release 24.4.2

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
JelleZijlstra and pre-commit-ci[bot] authored Apr 25, 2024
1 parent e4aaa8a commit 3702ba2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 46 deletions.
44 changes: 3 additions & 41 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,56 +1,18 @@
# Change Log

## Unreleased
## 24.4.2

### Highlights

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

### Stable style

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

### Preview style

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

### Configuration

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

### Packaging

<!-- Changes to how Black is packaged, such as dependency requirements -->
This is a bugfix release to fix two regressions in the new f-string parser introduced in
24.4.1.

### Parser

<!-- Changes to the parser or to version autodetection -->

- Fix regression where certain complex f-strings failed to parse (#4332)

### Performance

<!-- Changes that improve Black's performance. -->

- Fix bad performance on certain complex string literals (#4331)

### Output

<!-- Changes to Black's terminal output and error messages -->

### _Blackd_

<!-- Changes to blackd -->

### Integrations

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

### Documentation

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

## 24.4.1

### Highlights
Expand Down
4 changes: 2 additions & 2 deletions docs/integrations/source_version_control.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Use [pre-commit](https://pre-commit.com/). Once you
repos:
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.4.1
rev: 24.4.2
hooks:
- id: black
# It is recommended to specify the latest version of Python
Expand All @@ -35,7 +35,7 @@ include Jupyter Notebooks. To use this hook, simply replace the hook's `id: blac
repos:
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.4.1
rev: 24.4.2
hooks:
- id: black-jupyter
# It is recommended to specify the latest version of Python
Expand Down
6 changes: 3 additions & 3 deletions docs/usage_and_configuration/the_basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ configuration file for consistent results across environments.

```console
$ black --version
black, 24.4.1 (compiled: yes)
$ black --required-version 24.4.1 -c "format = 'this'"
black, 24.4.2 (compiled: yes)
$ black --required-version 24.4.2 -c "format = 'this'"
format = "this"
$ black --required-version 31.5b2 -c "still = 'beta?!'"
Oh no! 💥 💔 💥 The required version does not match the running version!
Expand Down Expand Up @@ -366,7 +366,7 @@ You can check the version of _Black_ you have installed using the `--version` fl

```console
$ black --version
black, 24.4.1
black, 24.4.2
```

#### `--config`
Expand Down

0 comments on commit 3702ba2

Please sign in to comment.