Skip to content

v2.11.4 2025-04-29

Compare
Choose a tag to compare
@Viicos Viicos released this 29 Apr 20:25
· 104 commits to main since this release

What's Changed

Packaging

Changes

  • Allow config and bases to be specified together in create_model() by @Viicos in #11714.
    This change was backported as it was previously possible (although not meant to be supported)
    to provide model_config as a field, which would make it possible to provide both configuration
    and bases.

Fixes

  • Remove generics cache workaround by @Viicos in #11755
  • Remove coercion of decimal constraints by @Viicos in #11772
  • Fix crash when expanding root type in the mypy plugin by @Viicos in #11735
  • Fix issue with recursive generic models by @Viicos in #11775
  • Traverse function-before schemas during schema gathering by @Viicos in #11801