Merged
Conversation
mrbusche
approved these changes
Feb 23, 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.12.5→==2.13.0b1Release Notes
pydantic/pydantic (pydantic)
v2.13.0b1Compare Source
GitHub release
This is the first beta release of the 2.13 version, mainly providing bug fixes and performance improvements
for validation and serialization.
Notable changes include:
polymorphic_serializationoption, solving issues withserialize_as_anyintroduced in 2.12.pydantic.v1namespace. This version includes support for Python 3.14.pydantic-corerepository was merged inside the mainpydanticone.What's Changed
Packaging
pydantic-coreby @dependabot[bot] in #12508New Features
polymorphic_serializationoption by @davidhewitt in #12518Literalroot types as discriminator field types by @YassinNouh21 in #12680Changes
pydantic-coreCI by @Viicos in #12752pydantic-coreinto pydantic by @davidhewitt in #12481complex()constructor unconditionally when validatingcomplexPython data by @tanmaymunjal in #12498Decimalby @tanmaymunjal in #12500@field_serializerlogic with@field_validatorby @Viicos in #12577PydanticUserErroraRuntimeErrorinstead of aTypeErrorby @poliakovva in #12579rootvalue when making root model shallow copies by @YassinNouh21 in #12679Performance
DecoratorInfos.build()implementation by @Viicos in #12536pydantic-coreby @Viicos in #12549Literalvalidators by @davidhewitt in #12569LookupKeyby @davidhewitt in #12571FieldInfo._copy()by @Viicos in #12727Fixes
FieldInforebuilding when parameterizing generic models with anAnnotatedtype by @Viicos in #12463InitVarbeing ignored when using with thepydantic.Field()function by @Viicos in #12495NamedTupleas values by @Viicos in #12506rebuild_dataclass()by @Viicos in #12513__pydantic_extra__annotation handling by @Viicos in #12563MISSINGsentinel is present in a nested model by @Viicos in #12635exclude_noneis set by @davidhewitt in #12677field_definitionsincreate_model()by @lehmann-hqs in #12734kw_onlywithField()by @jfadia in #12741typing.Unionwhen replacing types under Python 3.14 by @Viicos in #12733New Contributors
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 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.