Repository navigation
Update dependency pydantic to v2.14.4 - #375
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
requested review from
glennmatthews,
jdrew82 and
michalis1
as code owners
November 19, 2026 19:49
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.12.5→2.14.4Release Notes
pydantic/pydantic (pydantic)
v2.14.4Compare Source
GitHub release
What's Changed
Packaging
This addresses memory issues introduced by the previous jiter release.
Changes
@deprecatedclasses as deprecated in JSON Schema by @Viicos in #14325Performance
TzInfoinstance by @Viicos in #14256Fixes
InitVarfields from the serialization JSON schema by @Alvi-Rahman in #14223pydantic-coreby @Viicos in #14253DecimalJSON Schema by @aidxhxr in #14254Callableparameters in type representations by @aidxhxr in #14261strict=Trueforcomplexby @Viicos in #14293New Contributors
v2.14.3Compare Source
GitHub release
What's Changed
Packaging
Build wheels for GraalPy 3.13 by @msimacek in #14136.
The previous v2.14.2 release published GraalPy 3.11 wheels, which were not working due to a PyO3 version bump. A CI workflow issue
made it so that the wheel wasn't tested before publishing. This is now fixed: starting in v2.14.3, we no longer publish GraalPy 3.11
wheels, and GraalPy 3.13 wheels are now published together with the existing 3.12 one.
Performance
include/excludeon sequences by @Viicos in #14160Noneduring serialization by @Viicos in #14167model_configannotations by @Viicos in #14195Protocolcheck when expandingGroupedMetadataannotations by @Viicos in #14196@contextmanagerimplementation internally by @Viicos in #14199Fixes
pydantic-coreby @Viicos in #13819nullin serialization JSON Schema forunless-nonefield serializers by @Kropiunig in #13848RecursionErrorwhen copying or unpickling models withdefer_buildby @Viicos in #14115default_factorycheck in unsupportedField()attribute by @owtaylor in #14129New Contributors
v2.14.2Compare Source
GitHub release
What's Changed
Packaging
PyFrozenDictby @Viicos in #14003pydantic-corewheels for PyPy 8.0 (pp80ABI) by @Viicos in #14083Performance
Fixes
Make JSON validation by iteration consistent with Python approach by @davidhewitt in #13275.
JSON validation now handles field lookup and extra data the same way as Python validation. In particular, keys that only match an
unused alias or field name are now treated as extra data, instead of being silently dropped:
See the pull request for the full list of behavior changes.
Fix unpickling of generic classes defined in separate module by @Viicos in #13994
Support explicit
by_aliasoverridingvalidate_by_aliasin validation JSON schemas by @Viicos in #13997Fix mypy plugin crash on deferred empty model by @ilevkivskyi in #14027
Fix infinite recursion when validating an invalid default with
PydanticUseDefaultby @Viicos in #14028Implement recursion guard for
validate_strings()by @Viicos in #14029Support named tuples in
Sequenceserialization by @Viicos in #14033Take
preserve_empty_pathinto account in URL types equality by @Viicos in #14035Fix pickling of
PydanticCustomErrorandValidationErrors containing custom errors by @Viicos in #14051Do not extract attribute docstrings from nested classes and functions by @Viicos in #14052
Fix forward annotations evaluation and type variables substitution when rebuilding parametrized generic models by @Viicos in #14054
Fix
Selfresolution in parametrized generics by @Viicos in #14065Ignore extra data matching a field name in
TypedDictand dataclasses withextra=allowby @Viicos in #14090Check mapping
max_lengthconstraint during validation by @Viicos in #14092Fix deep copy of self-referential models by @Viicos in #14116
v2.14.1Compare Source
GitHub release
What's Changed
Performance
Fixes
arguments-v3schema with variadic keywords by @Viicos in #13954TypeErroronForwardRefon Python 3.10.0 by @Viicos in #13964closedandextra_itemsvia inheritance inTypedDictby @Viicos in #13967max_digitswhole-digits limit in the PythonDecimalvalidator by @Viicos in #13972timedeltaby @Viicos in #13973Sequencevalidation by @Viicos in #13978v2.14.0Compare Source
GitHub release
What's Changed
The highlights of the v2.14 release are available in the blog post.
Several minor changes (considered non-breaking changes according to our versioning policy)
are also included in this release. Make sure to look into them before upgrading.
This release drops support for Python 3.9 and adds support for Python 3.15.
New Features
multiple_ofconstraint infractionandtimedeltacore schemas by @Viicos in #13873__namespace__parameter tocreate_model()by @Viicos in #13895Changes
ordered-dictcore schema by @Viicos in #13796countercore schema by @Viicos in #13824model_configattribute by @Viicos in #13825NameEmailvalidation by @Viicos in #13897Fixes
string_sub_typeunused error code by @Viicos in #13821OverflowErrorduringByteSizevalidation by @Viicos in #13850multiple_ofconstraints to be positive by @Viicos in #13862TypeErrorgracefully during docstring extraction by @Viicos in #13874TypedDicts in JSON Schema by @Viicos in #13891ser_json_timedeltato all datetime types in serialization inference by @Viicos in #13892initandkw_only=FalsefromField()to stdlib dataclass fields by @Viicos in #13898ZoneInfovalidation by @Viicos in #13912Decimalvalidation by @Viicos in #13940Fractionvalidation by @Viicos in #13944New Contributors
v2.13.5: 2026-08-28Compare Source
v2.13.5 (2026-08-28)
What's Changed
Fixes
pydantic-corestruct fields by @Viicos in #13624pydantic-coreforGeneralFieldsSerializerby @Viicos in #13629v2.13.4Compare Source
GitHub release
What's Changed
Packaging
pydantic-corelinker flags on macOS by @washingtoneg and @Viicos in #13147Fixes
RootModelcore metadata by @Viicos in #13129v2.13.3Compare Source
GitHub release
What's Changed
Fixes
AttributeErrorsubclasses withfrom_attributesby @Viicos in #13096v2.13.2Compare Source
GitHub release
What's Changed
Fixes
ValidationInfo.field_namemissing withmodel_validate_json()by @Viicos in #13084v2.13.1Compare Source
GitHub release
What's Changed
Fixes
ValidationInfo.datamissing withmodel_validate_json()by @davidhewitt in #13079v2.13.0Compare Source
GitHub release
The highlights of the v2.13 release are available in the blog post.
Several minor changes (considered non-breaking changes according to our versioning policy)
are also included in this release. Make sure to look into them before upgrading.
This release contains the updated
pydantic.v1namespace, matching version 1.10.26 which includes support for Python 3.14.What's Changed
See the beta releases for all changes sinces 2.12.
New Features
Changes
Fixes
Anywhen synthesizing_build_sourcesforBaseSettings.__init__()signature in the mypy plugin by @Viicos in #13049extraconfiguration by @Viicos in #13062Packaging
New Contributors
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.