Repository navigation
Update dependency pydantic to >=2.14.2 - #271
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #271 +/- ##
=======================================
Coverage 54.65% 54.65%
=======================================
Files 33 33
Lines 4256 4256
=======================================
Hits 2326 2326
Misses 1930 1930 🚀 New features to boost your workflow:
|
olehermanse
requested review from
SimonThalvorsen,
aleksandrychev,
craigcomstock,
larsewi and
victormlg
October 30, 2026 14:06
larsewi
approved these changes
Oct 30, 2026
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.14.1→>=2.14.2Release Notes
pydantic/pydantic (pydantic)
v2.14.2: 2026-10-29Compare Source
v2.14.2 (2026-10-29)
This release addresses 2 security issues, GHSA-qpmf-fgh3-ff25 and GHSA-3r8g-cqwr-jr29.
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.
This change addresses GHSA-qpmf-fgh3-ff25.
Ignore extra data matching a field name in
TypedDictand dataclasses withextra=allowby @Viicos in #14090. Addresses GHSA-3r8g-cqwr-jr29.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 #14065Check mapping
max_lengthconstraint during validation by @Viicos in #14092Fix deep copy of self-referential models by @Viicos in #14116
Full Changelog: pydantic/pydantic@v2.14.1...v2.14.2
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 has been generated by Mend Renovate CLI.