From 1b2427a2b785cc4aac97c19bb4b9a0de063f9547 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Mon, 7 Oct 2024 11:43:01 -0700 Subject: [PATCH] Prepare release 24.10.0 (#4471) --- CHANGES.md | 39 ++------------------- docs/integrations/source_version_control.md | 4 +-- docs/usage_and_configuration/the_basics.md | 6 ++-- 3 files changed, 7 insertions(+), 42 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index eedc8b26464..36840039976 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,11 +1,9 @@ # Change Log -## Unreleased +## 24.10.0 ### Highlights - - - Black is now officially tested with Python 3.13 and provides Python 3.13 mypyc-compiled wheels. (#4436) (#4449) - Black will issue an error when used with Python 3.12.5, due to an upstream memory @@ -15,16 +13,12 @@ ### Stable style - - - Fix crashes involving comments in parenthesised return types or `X | Y` style unions. (#4453) - Fix skipping Jupyter cells with unknown `%%` magic (#4462) ### Preview style - - - Fix type annotation spacing between * and more complex type variable tuple (i.e. `def fn(*args: *tuple[*Ts, T]) -> None: pass`) (#4440) @@ -32,45 +26,16 @@ - Fix bug where the cache was shared between runs with and without `--unstable` (#4466) -### Configuration - - - ### Packaging - - -- Upgrade version of mypyc used to 1.11.2 (#4450) +- Upgrade version of mypyc used to 1.12 beta (#4450) (#4449) - `blackd` now requires a newer version of aiohttp. (#4451) -### Parser - - - -### Performance - - - ### Output - - - Added Python target version information on parse error (#4378) - Add information about Black version to internal error messages (#4457) -### _Blackd_ - - - -### Integrations - - - -### Documentation - - - ## 24.8.0 ### Stable style diff --git a/docs/integrations/source_version_control.md b/docs/integrations/source_version_control.md index f66b5e00a77..0cf280faa6d 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.8.0 + rev: 24.10.0 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.8.0 + rev: 24.10.0 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 7b5da98879f..5c324be1c3c 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.8.0 (compiled: yes) -$ black --required-version 24.8.0 -c "format = 'this'" +black, 24.10.0 (compiled: yes) +$ black --required-version 24.10.0 -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.8.0 +black, 24.10.0 ``` #### `--config`