chore(deps): update dependency pydantic to v2 #25
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:
==1.10.12
->==2.1.1
Release Notes
pydantic/pydantic (pydantic)
v2.1.1
Compare Source
GitHub release
v2.1.0
Compare Source
GitHub release
StringConstraints
for use as Annotated metadata by @adriangb in #6605help(BaseModelSubclass)
raises errors by @hramezani in #6758@model_validator(mode="after")
by @ljodal in #6753contentSchema
keyword for JSON schema by @dmontagu in #6715version_info()
by @samuelcolvin in #6785SkipJsonSchema
annotation by @Kludex in #6653GenericModel
toMOVED_IN_V2
by @adriangb in #6776docs/usage/types/custom.md
by @hramezani in #6803float
->Decimal
coercion precision loss by @adriangb in #6810annotated_types.MaxLen
validator for custom sequence types by @ImogenBits in #6809InstanceOf
by @dmontagu in #6829json_encoders
by @adriangb in #6811WeakValueDictionary
to fix generic memory leak by @dmontagu in #6681config.defer_build
to optionally make model building lazy by @samuelcolvin in #6823UUID
serialization to pydantic-core by @davidhewitt in #6850json_encoders
docs by @adriangb in #6848staticmethod
/classmethod
order with validate_call by @dmontagu in #6686Config
by @samuelcolvin in #6847Field.exclude
takes priority over call-timeinclude/exclude
by @hramezani in #6851GenerateSchema
public by @adriangb in #6737v2.0.3
Compare Source
GitHub release
Field.alias
behavior in Pydantic V2 by @hramezani in #6508alias_priority
by @tpdorsey in #6520pydantic-core
to v2.2.0 by @lig in #6589enum
error type docs by @lig in #6603max_length
for unicode strings by @lig in #6559pydantic.v1
by @tpdorsey in #6604$ref
as an alias by @dmontagu in #6568AnyUrl
etc by @davidhewitt in #6618json_schema_extra
onRootModel
usingField
by @lig in #6622transform
docstring by @StefanBRas in #6649v2.0.2
Compare Source
GitHub release
RootModel
would change the value of__dict__
, #6457 by @dmontaguconstr
documentation, renamed oldregex
to newpattern
, #6452 by @miiliGenerateJsonSchema.generate_definitions
signature, #6436 by @dmontaguSee the full changelog here
v2.0.1
Compare Source
GitHub release
First patch release of Pydantic V2
setattr
(i.e.m.some_extra_field = 'extra_value'
)are added to
.model_extra
ifmodel_config
extra='allowed'
. Fixed #6333, #6365 by @aaraneySee the full changelog here
v2.0
Compare Source
GitHub release
Field.alias
behavior in Pydantic V2 by @hramezani in #6508alias_priority
by @tpdorsey in #6520pydantic-core
to v2.2.0 by @lig in #6589enum
error type docs by @lig in #6603max_length
for unicode strings by @lig in #6559pydantic.v1
by @tpdorsey in #6604$ref
as an alias by @dmontagu in #6568AnyUrl
etc by @davidhewitt in #6618json_schema_extra
onRootModel
usingField
by @lig in #6622transform
docstring by @StefanBRas in #6649Configuration
📅 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 has been generated by Mend Renovate. View repository job log here.