GeezerVison is showing github.com — chore(deps): bump pydantic from 2.13.5 to 2.14.2 by dependabot[bot] · Pull Request #27 · autogrammar/codot
Conversation
Bumps pydantic from 2.13.5 to 2.14.2.
Release notes
Sourced from pydantic's releases.
v2.14.2 2026-10-29
v2.14.2 (2026-10-29)
This release addresses 2 security issues, GHSA-qpmf-fgh3-ff25 and GHSA-3r8g-cqwr-jr29.
Packaging
Performance
- Avoid Python tuple allocation during model fields validation by
@Viicos in #13955
- Lazily call repr of values during nested union serialization by
@Viicos in #14082
- Skip decorator field checks when no field decorators exist by
@alexmojaki in #14111
- Avoid heap allocation for small JSON model field buffers by
@alexmojaki in #14113
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:
from pydantic import BaseModel, ConfigDict
from pydantic.alias_generators import to_camel
class Page(BaseModel):
model_config = ConfigDict(extra='forbid', alias_generator=to_camel)
page_size: int = 10
Page.model_validate_json('{"page_size": 50}')
Before: Page(page_size=10)
After: ValidationError (extra_forbidden)
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 TypedDict and dataclasses with extra=allow by @Viicos in #14090. Addresses GHSA-3r8g-cqwr-jr29.
-
Fix unpickling of generic classes defined in separate module by @Viicos in #13994
-
Support explicit by_alias overriding validate_by_alias in validation JSON schemas by @Viicos in #13997
-
Fix mypy plugin crash on deferred empty model by @ilevkivskyi in #14027
-
Fix infinite recursion when validating an invalid default with PydanticUseDefault by @Viicos in #14028
-
Implement recursion guard for validate_strings() by @Viicos in #14029
... (truncated)
Changelog
Sourced from pydantic's changelog.
v2.14.2 (2026-10-29)
GitHub release
What's Changed
Packaging
Performance
- Avoid Python tuple allocation during model fields validation by
@Viicos in #13955
- Lazily call repr of values during nested union serialization by
@Viicos in #14082
- Skip decorator field checks when no field decorators exist by
@alexmojaki in #14111
- Avoid heap allocation for small JSON model field buffers by
@alexmojaki in #14113
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:
from pydantic import BaseModel, ConfigDict
from pydantic.alias_generators import to_camel
class Page(BaseModel):
model_config = ConfigDict(extra='forbid', alias_generator=to_camel)
page_size: int = 10
Page.model_validate_json('{"page_size": 50}')
Before: Page(page_size=10)
After: ValidationError (extra_forbidden)
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_alias overriding validate_by_alias in validation JSON schemas by @Viicos in #13997
-
Fix mypy plugin crash on deferred empty model by @ilevkivskyi in #14027
-
Fix infinite recursion when validating an invalid default with PydanticUseDefault by @Viicos in #14028
-
Implement recursion guard for validate_strings() by @Viicos in #14029
-
Support named tuples in Sequence serialization by @Viicos in #14033
... (truncated)
Commits
aa540ac Update changelog for v2.14.2
6cde12f Update changelog for v2.14.2
2db7c25 Fix deep copy of self-referential models
d783154 Update changelog for v2.14.2
df49b6c Avoid heap allocation for small JSON model field buffers
cd93e69 Skip decorator field checks when no field decorators exist
2771e57 Make JSON validation by iteration consistent with Python approach
8102e3f Avoid Python tuple allocation during model fields validation
dd139b5 Bump pydantic.v1 namespace to v1.10.27
66155f9 Prepare release v2.14.2
- Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
dependencies
Pull requests that update a dependency file
python:uv
Pull requests that update python:uv code
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.