-
Notifications
You must be signed in to change notification settings - Fork 1
chore(deps): update dependency pydantic to v2.12.3 #85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/pydantic-2.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
fe85a45 to
ad4ab07
Compare
ad4ab07 to
29a1c90
Compare
7c69738 to
9d80155
Compare
9d80155 to
4e4746d
Compare
d384837 to
3195a35
Compare
c26a92b to
3187b89
Compare
4cd1812 to
a009b86
Compare
5848618 to
e6de45a
Compare
791af81 to
38f5e18
Compare
38f5e18 to
821e16d
Compare
821e16d to
173f745
Compare
1eaf959 to
56abbec
Compare
4973ae2 to
93aabfc
Compare
f3f98ce to
1514fb3
Compare
a9fa0f2 to
628dd35
Compare
66758f8 to
5886619
Compare
5886619 to
e7c32c2
Compare
e7c32c2 to
d6a9d75
Compare
d6a9d75 to
04325c0
Compare
a619219 to
04325c0
Compare
04325c0 to
fa6f645
Compare
fa6f645 to
6ff5878
Compare
6ff5878 to
6163293
Compare
6163293 to
96889ab
Compare
96889ab to
9c4cc29
Compare
9c4cc29 to
166cd8e
Compare
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.6.3->==2.12.3Release Notes
pydantic/pydantic (pydantic)
v2.12.3Compare Source
v2.12.2: 2025-10-14Compare Source
v2.12.2 (2025-10-14)
What's Changed
Fixes
pydantic-coreversion, as a corrupted CPython 3.10manylinux2014_aarch64wheel got uploaded (pydantic-core#1843).Full Changelog: pydantic/pydantic@v2.12.1...v2.12.2
v2.12.1: 2025-10-13Compare Source
v2.12.1 (2025-10-13)
GitHub release
What's Changed
This is the first 2.12 patch release, addressing most (but not all yet) regressions from the initial 2.12.0 release.
Fixes
Noneis converted asNoneTypein Python 3.14 by @Viicos in #12370ValidationInfofor validation of default value by @Viicos in pydantic-core#1826MultiHostUrlbuilder by @willswire in pydantic-core#1829serialize_as_anyserialization flag by @davidhewitt in pydantic-core#1829RootModelserialization issues by @davidhewitt in pydantic-core#1836New Contributors
Full Changelog: pydantic/pydantic@v2.12.0...v2.12.1
v2.12.0Compare 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
extraparameter to the validate functions by @anvilpete in #12233exclude_computed_fieldsserialization option by @Viicos in #12334preverse_empty_pathURL options by @Viicos in #12336union_formatparameter to JSON Schema generation by @Viicos in #12147__qualname__parameter forcreate_modelby @Atry in #12001Fixes
TypeAdapterby @Viicos in #12324Anyfor context type annotation inTypeAdapterby @inducer in #12279FieldInfoinpydantic.fields.__all__by @Viicos in #12339validation_aliasin@validate_callby @Viicos in #12340Anyas context annotation in plugin API by @Viicos in #12341stacklevelin warnings when possible by @Viicos in #12342New Contributors
v2.11.10Compare 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.7Compare Source
GitHub release
What's Changed
Fixes
FieldInfoinstance if necessary duringFieldInfobuild by @Viicos in #11898v2.11.6Compare Source
GitHub release
What's Changed
Fixes
FieldInfoby @Viicos in #11946v2.11.5Compare Source
GitHub release
What's Changed
Fixes
FieldInfois complete after applying type variable map by @Viicos in #11855model_rebuild()by @Viicos in #11890v2.11.4Compare Source
GitHub release
What's Changed
Packaging
mkdocs-llmstxtto 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_configas a field, which would make it possible to provide both configurationand bases.
Fixes
function-beforeschemas during schema gathering by @Viicos in #11801v2.11.3Compare Source
GitHub release
What's Changed
Packaging
Fixes
v2.11.2Compare Source
GitHub release
What's Changed
Fixes
pydantic-coreto v2.33.1 by @Viicos in #11678__pydantic_private__exists before setting private attributes by @Viicos in #11666FieldInfo._completewhen using field from parent class by @Viicos in #11668v2.11.1Compare Source
GitHub release
What's Changed
Fixes
v2.11.0Compare 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-coreto v2.33.0 by @Viicos in #11631New Features
encoded_string()method to the URL types by @YassinNouh21 in #11580defer_buildwith@validate_calldecorator by @Viicos in #11584@with_configdecorator to be used with keyword arguments by @Viicos in #11608generate_arguments_schema()function by @Viicos in #11572Fixes
New Contributors
v2.10.6Compare Source
GitHub release
What's Changed
Fixes
'examples'keys by @Viicos in #11325v2.10.5Compare Source
GitHub release
What's Changed
Fixes
v2.10.4Compare Source
GitHub release
What's Changed
Packaging
pydantic-coreto v2.27.2 by @davidhewitt in #11138Fixes
AnyUrlobjects by @alexprabhat99 in #11082lento_BaseUrlto avoid TypeError by @Kharianne in #11111New Contributors
v2.10.3Compare Source
GitHub release
What's Changed
Fixes
defer_buildis set on Pydantic dataclasses by @Viicos in #10984dictcore schema keys by @Viicos in #10989PlainSerializerandWrapSerializerfunctions by @Viicos in #11008default_factory_takes_validated_dataproperty toFieldInfoby @Viicos in #11034serializationmode by @sydney-runkle in #11035v2.10.2Compare Source
GitHub release
What's Changed
Fixes
Secrettypes andUrltypes by @sydney-runkle in #10947Field.defaultto be compatible with Python 3.8 and 3.9 by @Viicos in #10972BaseModel.__replace__definition from type checkers by @Viicos in #10979v2.10.1Compare Source
GitHub release
What's Changed
Packaging
pydantic-coreversion tov2.27.1by @sydney-runkle in #10938Fixes
TypeAdapterby @Viicos in #10893default_factoryutils by @sydney-runkle in #10909model_fieldsandmodel_computed_fieldsby @sydney-runkle in #10911dataclasses by @sydney-runkle in #10928globalsof the function when evaluating the return type of serializers andcomputed_fields by @Viicos in #10929''by @sydney-runkle in #10936pythonmode serialization forcomplexinference by @sydney-runkle in pydantic-core#1549New Contributors
v2.10.0Compare Source
The code released in v2.10.0 is practically identical to that of v2.10.0b2.
GitHub release
See the v2.10 release blog post for the highlights!
What's Changed
Packaging
pydantic-coretov2.27.0by @sydney-runkle in #10825New Features
fractions.Fractionby @sydney-runkle in #10318Hashablefor json validation by @sydney-runkle in #10324SocketPathtype forlinuxsystems by @theunkn0wn1 in #10378examplesby @sydney-runkle in #10417defer_buildfor Pydantic dataclasses by @Viicos in #10313TypedDictto type hint variadic keyword arguments with@validate_callby @Viicos in #10416protected_namespacesby @sydney-runkle in #10522propertyNamesin JSON schema by @FlorianSW in #10478__replace__protocol for Python 3.13+ support by @sydney-runkle in #10596sortmethod for JSON schema generation by @sydney-runkle in #10595@validate_callcallable argument by @kc0506 in #10627experimental_allow_partialsupport by @samuelcolvin in #10748ValidationErrorandPydanticCustomErrorby @Youssefares in pydantic/pydantic-core#1413trailing-stringssupport toexperimental_allow_partialby @sydney-runkle in #10825rebuild()method forTypeAdapterand simplifydefer_buildpatterns by @sydney-runkle in #10537TypeAdapterinstance repr by @sydney-runkle in #10872Changes
SchemaGeneratoruntil interface is more stable by @sydney-runkle in #10303defer_buildonTypeAdapters, removing experimental flag by @sydney-runkle in #10329mroof generic subclass by @kc0506 in #10100b64decodeandb64encodeforBase64Bytestype by @sydney-runkle in #10486@dataclassdecorator and with the__pydantic_config__attribute by @sydney-runkle in #10406Ellipsis(...) withFieldby @Viicos in #10661Literals andEnumsby @Viicos in #10692AnyorNeverwhen replacing type variables by @Viicos in #10338base64bytes by @bschoenmaeckers in pydantic/pydantic-core#1448Performance
CoreMetadatarefactor with an emphasis on documentation, schema build time performance, and reducing complexity by @sydney-runkle in #10675Fixes
computed_fieldwithfield_serializerby @nix010 in #10390Predicateissue inv2.9.0by @sydney-runkle in #10321annotated-typesbound by @sydney-runkle in #10327tzdatainstall requirement into optionaltimezonedependency by @jakob-keller in #10331namedtuplecore schemas by @Viicos in #10337IncExtype alias definition by @Viicos in #10339ModelMetaclass.mroby @Viicos in #10372computed_fields by @Viicos in #10391inspect.iscoroutinefunctionworks on coroutines decorated with@validate_callby @MovisLi in #10374NameErrorwhen usingvalidate_callwith PEP 695 on a class by @kc0506 in #10380ZoneInfowith various invalid types by @sydney-runkle in #10408PydanticUserErroron emptymodel_configwith annotations by @cdwilson in #10412_IncExtype alias, only allowTrueby @Viicos in #10414PlainValidatorby @Viicos in #10427json_schema_input_typeby @Viicos in #10439Representationby @Viicos in #10480max_digitsanddecimal_places) by @sydney-runkle in #10506__pydantic_core_schema__from the current class during schema generation by @Viicos in #10518stacklevelon deprecation warnings forBaseModelby @sydney-runkle in #10520stacklevelinBaseModel.__init__by @Viicos in #10526ConfigWrapper.core_configto take the title directly by @Viicos in #10562mode='python'by @sydney-runkle in #10594Base64Etctypes by @sydney-runkle in #10584validate_callignoringFieldinAnnotatedby @kc0506 in #10610Selfis invalid by @kc0506 in #10609core_schema.InvalidSchemainstead of metadata injection + checks by @sydney-runkle in #10523typewithtyping.Selfand type aliases by @kc0506 in #10621FieldandPrivateAttrfunctions by @Viicos in #10651mypyplugin implementation by @Viicos in #10669typing_extensionsvariant ofTypeAliasTypeby @Daraan in #10713BaseModel.model_copy()by @Viicos in #10751isinstancebehavior for urls by @sydney-runkle in #10766cached_propertycan be set on Pydantic models by @Viicos in #10774host_requiredfor URLs by @Viicos in pydantic/pydantic-core#1488coerce_numbers_to_strenabled and string has invalid Unicode character by @andrey-berenda in pydantic/pydantic-core#1515complexvalues inEnums by @changhc in pydantic/pydantic-core#1524_typing_extramodule by @Viicos in #10725bytearraytoTypeAdapter.validate_jsonsignature by @samuelcolvin in #10802Fieldby @Viicos in #10816validate_callby @sydney-runkle in #10807IncExtype alias to be compatible with mypy by @Viicos in #10813__signature__a lazy property, do not deepcopy defaults by @Viicos in #10818__signature__lazy for dataclasses, too by @sydney-runkle in #10832AnyUrlto preserve behavior from v2.9 by @sydney-runkle in #10856New Contributors
v2.9.2Compare Source
GitHub release
What's Changed
Fixes
Callablediscriminators by @sydney-runkle in #10400PlainValidatorby @Viicos in #10427Unionserialization warnings by @sydney-runkle in pydantic/pydantic-core#1449_IncExtype alias, only allowTrueby @Viicos in #10414ZoneInfovalidation with various invalid types by @sydney-runkle in #10408v2.9.1Compare Source
GitHub release
What's Changed
Fixes
annotated-typesbound to>=0.6.0by @sydney-runkle in #10327tzdatainstall requirement into optionaltimezonedependency by @jakob-keller in #10331IncExctype alias definition by @Viicos in #10339v2.9.0Compare Source
The code released in v2.10.0 is practically identical to that of v2.10.0b2.
GitHub release
See the v2.10 release blog post for the highlights!
What's Changed
Packaging
pydantic-coretov2.27.0by @sydney-runkle in #10825New Features
fractions.Fractionby @sydney-runkle in #10318Hashablefor json validation by @sydney-runkle in #10324SocketPathtype forlinuxsystems by @theunkn0wn1 in #10378examplesby @sydney-runkle in #10417defer_buildfor Pydantic dataclasses by @Viicos in #10313TypedDictto type hint variadic keyword arguments with@validate_callby @Viicos in #10416protected_namespacesby @sydney-runkle in #10522propertyNamesin JSON schema by @FlorianSW in #10478__replace__protocol for Python 3.13+ support by @sydney-runkle in #10596sortmethod for JSON schema generation by @sydney-runkle in #10595@validate_callcallable argument by @kc0506 in #10627experimental_allow_partialsupport by @samuelcolvin in #10748ValidationErrorandPydanticCustomErrorby @Youssefares in pydantic/pydantic-core#1413trailing-stringssupport toexperimental_allow_partialby @sydney-runkle in #10825rebuild()method forTypeAdapterand simplifydefer_buildpatterns by @sydney-runkle in [#10537](https://reConfiguration
📅 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.