diff --git a/CHANGELOG.md b/CHANGELOG.md index 97f7ee7a2..184a3843f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,15 +10,24 @@ You can find our backwards-compatibility policy [here](https://github.com/python Changes for the upcoming release can be found in the [`changelog.d` directory](https://github.com/python-attrs/attrs/tree/main/changelog.d) in our repository. - + +## [24.2.0](https://github.com/python-attrs/attrs/tree/24.2.0) - 2024-08-06 -This changelog is managed by towncrier and is compiled at release time. +### Deprecations -See https://github.com/python-attrs/attrs/blob/main/.github/CONTRIBUTING.md#changelog for details. ---> +- Given the amount of warnings raised in the broader ecosystem, we've decided to only soft-deprecate the *hash* argument to `@define` / `@attr.s`. + Please don't use it in new code, but we don't intend to remove it anymore. + [#1330](https://github.com/python-attrs/attrs/issues/1330) + + +### Changes + +- `attrs.converters.pipe()` (and its syntactic sugar of passing a list for `attrs.field()`'s / `attr.ib()`'s *converter* argument) works again when passing `attrs.setters.convert` to *on_setattr* (which is default for `attrs.define`). + [#1328](https://github.com/python-attrs/attrs/issues/1328) +- Restored support for PEP [649](https://peps.python.org/pep-0649/) / [749](https://peps.python.org/pep-0749/)-implementing Pythons -- currently 3.14-dev. + [#1329](https://github.com/python-attrs/attrs/issues/1329) - ## [24.1.0](https://github.com/python-attrs/attrs/tree/24.1.0) - 2024-08-03 diff --git a/changelog.d/1328.change.md b/changelog.d/1328.change.md deleted file mode 100644 index f8347748a..000000000 --- a/changelog.d/1328.change.md +++ /dev/null @@ -1 +0,0 @@ -`attrs.converters.pipe()` (and its syntactic sugar of passing a list for `attrs.field()`'s / `attr.ib()`'s *converter* argument) works again when passing `attrs.setters.convert` to *on_setattr* (which is default for `attrs.define`). diff --git a/changelog.d/1329.change.md b/changelog.d/1329.change.md deleted file mode 100644 index f4ca2f9a1..000000000 --- a/changelog.d/1329.change.md +++ /dev/null @@ -1 +0,0 @@ -Restored support for PEP [649](https://peps.python.org/pep-0649/) / [749](https://peps.python.org/pep-0749/)-implementing Pythons -- currently 3.14-dev. diff --git a/changelog.d/1330.deprecation.md b/changelog.d/1330.deprecation.md deleted file mode 100644 index 50fd4d897..000000000 --- a/changelog.d/1330.deprecation.md +++ /dev/null @@ -1,2 +0,0 @@ -Given the amount of warnings raised in the broader ecosystem, we've decided to only soft-deprecate the *hash* argument to `@define` / `@attr.s`. -Please don't use it in new code, but we don't intend to remove it anymore.