# attrs 24.2.0 - Product: attrs (https://whatsnew.fyi/product/attrs) - Vendor: attrs - Date: 2024-08-06 - Version: 24.2.0 - Original notes: https://github.com/python-attrs/attrs/releases/tag/24.2.0 - Permalink: https://whatsnew.fyi/product/attrs/releases/24.2.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: release facts (products, versions, dates, links, CVE ids and flags) are open data under CC BY 4.0, from the API at https://whatsnew.fyi/api/v1 or the nightly dataset at https://github.com/whatsnew-fyi/dataset. The summaries, labels and curation are © What's New: quote freely with attribution and a link back; wholesale republication of them is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- Changes to check: - **Deprecated:** `hash` (from the vendor's deprecations section) - **deprecated** — Soft-deprecate the hash argument to @define / @attr.s in favor of not using it in new code - **fixed** — attrs.converters.pipe() and passing a list for converter argument now works again when passing attrs.setters.convert to on_setattr - **fixed** — Restore support for PEP 649 / 749-implementing Pythons including Python 3.14-dev ##### Highlights Big releases always carry the risk of regressions, but never did I expect [to break Python 3.14’s CI](https://github.com/python-attrs/attrs/issues/1326)! On the plus side, *attrs* runs on 3.14 now. *Full changelog below!* ##### Special Thanks This release would not be possible without my generous sponsors! Thank you to all of you making sustainable maintenance possible! If *you* would like to join them, go to and check out the sweet perks! ###### Above and Beyond [Variomedia AG](https://www.variomedia.de/) (@[variomedia](https://github.com/variomedia)), [Tidelift](https://www.tidelift.com/) (@[tidelift](https://github.com/tidelift)), [FilePreviews](http://filepreviews.io/) (@[filepreviews](https://github.com/filepreviews)), [Klaviyo](https://www.klaviyo.com) (@[klaviyo](https://github.com/klaviyo)), Daniel Fortunov (@[asqui](https://github.com/asqui)), and Kevin P. Fleming (@[kpfleming](https://github.com/kpfleming)). ###### Maintenance Sustainers [Adam Hill](https://adamghill.com) (@[adamghill](https://github.com/adamghill)), Magnus Watn (@[magnuswatn](https://github.com/magnuswatn)), [David Cramer](http://cra.mr) (@[dcramer](https://github.com/dcramer)), Moving Content AG (@[moving-content](https://github.com/moving-content)), [ProteinQure](https://proteinqure.com/) (@[ProteinQure](https://github.com/ProteinQure)), Jesse Snyder (@[jessesnyder](https://github.com/jessesnyder)), [Rivo Laks](https://rivolaks.com) (@[rivol](https://github.com/rivol)), [The Westervelt Company](https://westervelt.com) (@[westerveltco](https://github.com/westerveltco)), Philippe Galvan (@[PhilippeGalvan](https://github.com/PhilippeGalvan)), [Birk Jernström](https://polar.sh) (@[birkjernstrom](https://github.com/birkjernstrom)), Chris Withers (@[cjw296](https://github.com/cjw296)), [Christopher Dignam](https://christopher.xyz) (@[chdsbd](https://github.com/chdsbd)), [Stefan Hagen](https://stefan-hagen.website) (@[sthagen](https://github.com/sthagen)), [Sławomir Ehlert](https://slafs.net) (@[slafs](https://github.com/slafs)), Mostafa Khalil (@[khadrawy](https://github.com/khadrawy)), [Filip Mularczyk](https://fmularczyk.pl) (@[mukiblejlok](https://github.com/mukiblejlok)), [Mike Fiedler](https://mike.fiedler.me) (@[miketheman](https://github.com/miketheman)), Thomas Klinger (@[thmsklngr](https://github.com/thmsklngr)), Duncan Hill (@[cricalix](https://github.com/cricalix)), Colin Marquardt (@[cmarqu](https://github.com/cmarqu)), and [Andreas Poehlmann](https://poehlmann.io) (@[ap--](https://github.com/ap--)). Not to forget 7 more amazing humans who chose to be generous but anonymous! ##### Full Changelog ###### Deprecations - 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) --- This release contains contributions from @hynek. ##### Artifact Attestations You can verify this release's [artifact attestions](https://docs.github.com/en/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds) using [GitHub's CLI tool](https://cli.github.com) by downloading the sdist and wheel from [PyPI](https://pypi.org/project/attrs) and running: ```console $ gh attestation verif _[Truncated at 4000 characters — full notes: https://github.com/python-attrs/attrs/releases/tag/24.2.0]_