diff --git a/CHANGES.md b/CHANGES.md index 17decf5fe05..5c7c9830c8a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,56 +1,18 @@ # Change Log -## Unreleased +## 24.4.2 -### Highlights - - - -### Stable style - - - -### Preview style - - - -### Configuration - - - -### Packaging - - +This is a bugfix release to fix two regressions in the new f-string parser introduced in +24.4.1. ### Parser - - - Fix regression where certain complex f-strings failed to parse (#4332) ### Performance - - - Fix bad performance on certain complex string literals (#4331) -### Output - - - -### _Blackd_ - - - -### Integrations - - - -### Documentation - - - ## 24.4.1 ### Highlights diff --git a/docs/integrations/source_version_control.md b/docs/integrations/source_version_control.md index 92a5c1d2f14..bbbd257c9d2 100644 --- a/docs/integrations/source_version_control.md +++ b/docs/integrations/source_version_control.md @@ -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 @@ -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 diff --git a/docs/usage_and_configuration/the_basics.md b/docs/usage_and_configuration/the_basics.md index c48b132c357..b468a04c499 100644 --- a/docs/usage_and_configuration/the_basics.md +++ b/docs/usage_and_configuration/the_basics.md @@ -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! @@ -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`