# attrs 25.2.0 - Product: attrs (https://whatsnew.fyi/product/attrs) - Vendor: attrs - Date: 2025-03-12 - Version: 25.2.0 - Original notes: https://github.com/python-attrs/attrs/releases/tag/25.2.0 - Permalink: https://whatsnew.fyi/product/attrs/releases/25.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'. --- - **changed** — Checking mandatory vs non-mandatory attribute order is now performed after the field transformer, since the field transformer may change attributes and/or their order - **added** — attrs.make_class() now allows for Unicode class names - **changed** — Speed up class creation by 30%-50% by compiling methods only once and using a variety of other techniques - **changed** — The error message if an attribute has both an annotation and a type argument will now disclose what attribute seems to be the problem - **deprecated** — This is the last attrs version to support Python 3.8 ##### Highlights Vroom–vroom edition! _attrs_ had always impressive runtime performance because we generate optimal code for your configuration. But now, said code generation is 30–50% faster, too! This is the last *attrs* version to support Python 3.8. *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)), [Ecosystems](https://ecosyste.ms) (@[ecosyste-ms](https://github.com/ecosyste-ms)), [Klaviyo](https://www.klaviyo.com) (@[klaviyo](https://github.com/klaviyo)), [Privacy Solutions GmbH](https://privacy-solutions.org) (@[privacy-solutions](https://github.com/privacy-solutions)), [FilePreviews](http://filepreviews.io/) (@[filepreviews](https://github.com/filepreviews)), [nate nowack](https://blog.alternatebuild.dev) (@[zzstoatzz](https://github.com/zzstoatzz)), Daniel Fortunov (@[asqui](https://github.com/asqui)), and Kevin P. Fleming (@[kpfleming](https://github.com/kpfleming)). ###### Maintenance Sustainers [Buttondown](https://buttondown.com) (@[buttondown](https://github.com/buttondown)), [Christopher Dignam](https://christopher.xyz) (@[chdsbd](https://github.com/chdsbd)), Magnus Watn (@[magnuswatn](https://github.com/magnuswatn)), [David Cramer](https://cra.mr) (@[dcramer](https://github.com/dcramer)), Jesse Snyder (@[jessesnyder](https://github.com/jessesnyder)), [Rivo Laks](https://rivolaks.com) (@[rivol](https://github.com/rivol)), [Polar](https://polar.sh) (@[polarsource](https://github.com/polarsource)), [Mike Fiedler](https://www.miketheman.net) (@[miketheman](https://github.com/miketheman)), Duncan Hill (@[cricalix](https://github.com/cricalix)), Colin Marquardt (@[cmarqu](https://github.com/cmarqu)), [Pieter Swinkels](https://blog.journeythatcounts.nl) (@[swinkels](https://github.com/swinkels)), Nick Libertini (@[libertininick](https://github.com/libertininick)), [Brian M. Dennis](https://mpr.crossjam.net/) (@[crossjam](https://github.com/crossjam)), Moving Content AG (@[moving-content](https://github.com/moving-content)), [ProteinQure](https://proteinqure.com/) (@[ProteinQure](https://github.com/ProteinQure)), [The Westervelt Company](https://westervelt.com) (@[westerveltco](https://github.com/westerveltco)), [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)), Thomas Klinger (@[thmsklngr](https://github.com/thmsklngr)), [Andreas Poehlmann](https://poehlmann.io) (@[ap--](https://github.com/ap--)), [August Trapper Bigelow](https://atbigelow.com) (@[atbigelow](https://github.com/atbigelow)), [Carlton Gibson](https://noumenal.es/) (@[carltongibson](https://github.com/carltongibson)), and [Roboflow](https://roboflow.com) (@[roboflow](https://github.com/roboflow)). Not to forget 14 more amazing humans who chose to be generous but anonymous! ##### Full Changelog ###### Changes - Checking mandatory vs non-mandatory attribute order is now performed after the field transformer, since the field transformer may change attributes and/or their order. [\#1147](https://github.com/python-attrs/attrs/issues/1147) - `attrs.make_class()` now allows for Unicode class names. [\#1406](https://github.com/python-attrs/attrs/issues/1406) - Speed up class creation by 30%-50% by compiling methods only once and using a variety of other techniques. [\#1407](https://github.com/python-attrs/attrs/issues/1407) - The error message if an attribute has both an annotation and a type argument will now disclose *wh _[Truncated at 4000 characters — full notes: https://github.com/python-attrs/attrs/releases/tag/25.2.0]_