Sourced from pydantic's releases.
v2.11.7 2025-06-14
What's Changed
Fixes
- Copy
FieldInfo
instance if necessary duringFieldInfo
build by@Viicos
in pydantic/pydantic#11980Full Changelog: https://github.com/pydantic/pydantic/compare/v2.11.6...v2.11.7
v2.11.6 2025-06-13
v2.11.6 (2025-06-13)
What's Changed
Fixes
- Rebuild dataclass fields before schema generation by
@Viicos
in #11949- Always store the original field assignment on
FieldInfo
by@Viicos
in #11946Full Changelog: https://github.com/pydantic/pydantic/compare/v2.11.5...v2.11.6
v2.11.5 2025-05-22
What's Changed
Fixes
- Check if
FieldInfo
is complete after applying type variable map by@Viicos
in #11855- Do not delete mock validator/serializer in
model_rebuild()
by@Viicos
in #11890- Do not duplicate metadata on model rebuild by
@Viicos
in #11902Full Changelog: https://github.com/pydantic/pydantic/compare/v2.11.4...v2.11.5
v2.11.4 2025-04-29
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 providemodel_config
as a field, which would make it possible to provide both configuration and bases.Fixes
... (truncated)
Sourced from pydantic's changelog.
v2.11.7 (2025-06-14)
What's Changed
Fixes
v2.11.6 (2025-06-13)
What's Changed
Fixes
- Rebuild dataclass fields before schema generation by
@Viicos
in #11949- Always store the original field assignment on
FieldInfo
by@Viicos
in #11946v2.11.5 (2025-05-22)
What's Changed
Fixes
- Check if
FieldInfo
is complete after applying type variable map by@Viicos
in #11855- Do not delete mock validator/serializer in
model_rebuild()
by@Viicos
in #11890- Do not duplicate metadata on model rebuild by
@Viicos
in #11902v2.11.4 (2025-04-29)
What's Changed
Packaging
Changes
... (truncated)
5f033e4
Prepare release v2.11.7c3368b8
Copy FieldInfo
instance if necessary during
FieldInfo
build (#11980)3987b23
Prepare release v2.11.6dc7a9d2
Always store the original field assignment on
FieldInfo
c284c27
Rebuild dataclass fields before schema generation5e6d1dc
Prepare release v2.11.51b63218
Do not duplicate metadata on model rebuild (#11902)5aefad8
Do not delete mock validator/serializer in
model_rebuild()
8fbe658
Check if FieldInfo
is complete after applying type variable
map12b371a
Update documentation about @dataclass_transform
support