Skip to content

Bump cattrs from 25.3.0 to 26.1.0#2413

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/cattrs-26.1.0
Closed

Bump cattrs from 25.3.0 to 26.1.0#2413
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/cattrs-26.1.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 5, 2026

Bumps cattrs from 25.3.0 to 26.1.0.

Release notes

Sourced from cattrs's releases.

v26.1.0

  • Add the tomllib preconf converter. See here for details. (#716)
  • Customizing un/structuring of attrs classes, dataclasses, TypedDicts and dict NamedTuples is now possible by using Annotated[T, override()] on fields. See here for more details. (#717)
  • Fix structuring of nested generic classes with stringified annotations. (#688)
  • Python 3.9 is no longer supported, as it is end-of-life. Use previous versions on this Python version. (#698)
  • Apply the attrs converter to the default value before checking if it is equal to the attribute's value, when omit_if_default is true and an attrs converter is specified. (#696)
  • Use the optional _value_ type hint to structure and unstructure enums if present. (#699)
  • Aliases (when in use) now properly generate rename metadata in generated hooks. (#706 #710)
  • cattrs now tracks performance using codspeed. (#703)
  • The tomlkit preconf converter now properly handles native date objects when structuring. (#707 #708)
  • The tomlkit preconf converter now passes date objects directly to tomlkit for unstructuring. (#707 #708)
  • Enum handling has been optimized by switching to hook factories, improving performance especially for plain enums. (#705)
  • Fix cattrs.strategies.include_subclasses when used with cattrs.strategies.configure_tagged_union and classes using diamond inheritance. (#685 #713)
  • Fix cattrs.strategies.configure_tagged_union when used with recursive type aliases. (#678 #714)

New Contributors

Full Changelog: python-attrs/cattrs@v25.3.0...v26.1.0

Changelog

Sourced from cattrs's changelog.

26.1.0 (2026-02-18)

  • Add the {mod}tomllib <cattrs.preconf.tomllib> preconf converter. See here for details. (#716)
  • Customizing un/structuring of attrs classes, dataclasses, TypedDicts and dict NamedTuples is now possible by using Annotated[T, override()] on fields. See here for more details. (#717)
  • Fix structuring of nested generic classes with stringified annotations. (#688)
  • Python 3.9 is no longer supported, as it is end-of-life. Use previous versions on this Python version. (#698)
  • Apply the attrs converter to the default value before checking if it is equal to the attribute's value, when omit_if_default is true and an attrs converter is specified. (#696)
  • Use the optional _value_ type hint to structure and unstructure enums if present. (#699)
  • Aliases (when in use) now properly generate rename metadata in generated hooks. (#706 #710)
  • cattrs now tracks performance using codspeed. (#703)
  • The {mod}tomlkit <cattrs.preconf.tomlkit> preconf converter now properly handles native date objects when structuring. (#707 #708)
  • The {mod}tomlkit <cattrs.preconf.tomlkit> preconf converter now passes date objects directly to tomlkit for unstructuring. (#707 #708)
  • Enum handling has been optimized by switching to hook factories, improving performance especially for plain enums. (#705)
  • Fix {func}cattrs.strategies.include_subclasses when used with {func}cattrs.strategies.configure_tagged_union and classes using diamond inheritance. (#685 #713)
  • Fix {func}cattrs.strategies.configure_tagged_union when used with recursive type aliases. (#678 #714)
Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels May 5, 2026
@dependabot dependabot Bot requested a review from a team as a code owner May 5, 2026 09:50
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels May 5, 2026
@dependabot dependabot Bot force-pushed the dependabot/uv/cattrs-26.1.0 branch from 37d7afb to 10a88ae Compare May 8, 2026 14:10
Bumps [cattrs](https://github.com/python-attrs/cattrs) from 25.3.0 to 26.1.0.
- [Release notes](https://github.com/python-attrs/cattrs/releases)
- [Changelog](https://github.com/python-attrs/cattrs/blob/main/HISTORY.md)
- [Commits](python-attrs/cattrs@v25.3.0...v26.1.0)

---
updated-dependencies:
- dependency-name: cattrs
  dependency-version: 26.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/uv/cattrs-26.1.0 branch from 10a88ae to b26bf84 Compare May 11, 2026 08:02
@asnare asnare self-assigned this May 13, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 13, 2026

Looks like cattrs is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this May 13, 2026
@dependabot dependabot Bot deleted the dependabot/uv/cattrs-26.1.0 branch May 13, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant