chore(deps): update dependency pydantic to v2.12.0 #326
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.10.4
->2.12.0
Release Notes
pydantic/pydantic (pydantic)
v2.12.0
Compare Source
GitHub release
What's Changed
This is the final 2.12 release. It features the work of 20 external contributors and provides useful new features, along with initial Python 3.14 support.
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.
Changes (see the alpha and beta releases for additional changes since 2.11):
Packaging
New Features
extra
parameter to the validate functions by @anvilpete in #12233exclude_computed_fields
serialization option by @Viicos in #12334preverse_empty_path
URL options by @Viicos in #12336union_format
parameter to JSON Schema generation by @Viicos in #12147__qualname__
parameter forcreate_model
by @Atry in #12001Fixes
TypeAdapter
by @Viicos in #12324Any
for context type annotation inTypeAdapter
by @inducer in #12279FieldInfo
inpydantic.fields.__all__
by @Viicos in #12339validation_alias
in@validate_call
by @Viicos in #12340Any
as context annotation in plugin API by @Viicos in #12341stacklevel
in warnings when possible by @Viicos in #12342New Contributors
v2.11.10
Compare Source
v2.11.9
: 2025-09-13Compare Source
What's Changed
Fixes
Full Changelog: pydantic/pydantic@v2.11.8...v2.11.9
v2.11.8
: 2025-09-13Compare Source
v2.11.8 (2025-09-13)
What's Changed
Fixes
Full Changelog: pydantic/pydantic@v2.11.7...v2.11.8
v2.11.7
Compare Source
GitHub release
What's Changed
Fixes
FieldInfo
instance if necessary duringFieldInfo
build by @Viicos in #11898v2.11.6
Compare Source
GitHub release
What's Changed
Fixes
FieldInfo
by @Viicos in #11946v2.11.5
Compare Source
GitHub release
What's Changed
Fixes
FieldInfo
is complete after applying type variable map by @Viicos in #11855model_rebuild()
by @Viicos in #11890v2.11.4
Compare Source
GitHub release
What's Changed
Packaging
mkdocs-llmstxt
to v0.2.0 by @Viicos in #11725Changes
create_model()
by @Viicos in #11714.This change was backported as it was previously possible (although not meant to be supported)
to provide
model_config
as a field, which would make it possible to provide both configurationand bases.
Fixes
function-before
schemas during schema gathering by @Viicos in #11801v2.11.3
Compare Source
GitHub release
What's Changed
Packaging
Fixes
v2.11.2
Compare Source
GitHub release
What's Changed
Fixes
pydantic-core
to v2.33.1 by @Viicos in #11678__pydantic_private__
exists before setting private attributes by @Viicos in #11666FieldInfo._complete
when using field from parent class by @Viicos in #11668v2.11.1
Compare Source
GitHub release
What's Changed
Fixes
v2.11.0
Compare Source
GitHub release
What's Changed
Pydantic v2.11 is a version strongly focused on build time performance of Pydantic models (and core schema generation in general).
See the blog post for more details.
Packaging
pydantic-core
to v2.33.0 by @Viicos in #11631New Features
encoded_string()
method to the URL types by @YassinNouh21 in #11580defer_build
with@validate_call
decorator by @Viicos in #11584@with_config
decorator to be used with keyword arguments by @Viicos in #11608generate_arguments_schema()
function by @Viicos in #11572Fixes
New Contributors
v2.10.6
Compare Source
GitHub release
What's Changed
Fixes
'examples'
keys by @Viicos in #11325v2.10.5
Compare Source
GitHub release
What's Changed
Fixes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.