Sourced from pydantic's releases.
v2.12.5 2025-11-26
v2.12.5 (2025-11-26)
This is the fifth 2.12 patch release, addressing an issue with the
MISSINGsentinel and providing several documentation improvements.The next 2.13 minor release will be published in a couple weeks, and will include a new polymorphic serialization feature addressing the remaining unexpected changes to the serialize as any behavior.
- Fix pickle error when using
model_construct()on a model withMISSINGas a default value by@ornariecein #12522.- Several updates to the documentation by
@Viicos.Full Changelog: https://github.com/pydantic/pydantic/compare/v2.12.4...v2.12.5
Sourced from pydantic's changelog.
v2.12.5 (2025-11-26)
This is the fifth 2.12 patch release, addressing an issue with the
MISSINGsentinel and providing several documentation improvements.The next 2.13 minor release will be published in a couple weeks, and will include a new polymorphic serialization feature addressing the remaining unexpected changes to the serialize as any behavior.
- Fix pickle error when using
model_construct()on a model withMISSINGas a default value by@ornariecein #12522.- Several updates to the documentation by
@Viicos.
bd2d0dd
Prepare release v2.12.57d0302e
Document security implications when using
create_model()e9ef980
Fix typo in Standard Library Types documentationf2c20c0
Add pydantic-docs dev dependency, make use of versioning
blocksa76c1aa
Update documentation about JSON Schema8cbc72c
Add documentation about custom __init__()99eba59
Add additional test for FieldInfo.get_default()c710769
Special case MISSING sentinel in
smart_deepcopy()20a9d77
Do not delete mock validator/serializer in
rebuild_dataclass()c86515a
Update parts of the model and revalidate_instances
documentation