Update dependency pydantic to v2.4.1 #345
Merged
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.3.0
->==2.4.1
Release Notes
pydantic/pydantic (pydantic)
v2.4.1
Compare Source
GitHub release
What's Changed
Packaging
Fixes
Any
by @adriangb in #7606v2.4.0
Compare Source
GitHub release
What's Changed
Packaging
New Features
Base64Url
types by @dmontagu in #7286number
tostr
coercion by @lig in #7508field_name
anddata
in all validators if there is data and a field name by @samuelcolvin in #7542BaseModel.model_validate_strings
andTypeAdapter.validate_strings
by @hramezani in #7552plugins
experimental implementation by @lig @samuelcolvin and @Kludex in #6820Changes
model_post_init
in subclass with private attrs by @Viicos in #7302Extra
as deprecated by @disrupted in #7299EncodedStr
a dataclass by @Kludex in #7396annotated_handlers
to be public by @samuelcolvin in #7569Performance
CoreSchema
by @adriangb in #7523CoreSchema
walking by @adriangb in #7528dict.get
anddict.setdefault
with more verbose versions inCoreSchema
building hot paths by @adriangb in #7536CoreSchema
discovery by @adriangb in #7535CoreSchema
validation for faster startup times by @adriangb in #7565Fixes
TypedDict
from grandparent classes by @dmontagu in #7272strict
config overridable in field for Path by @hramezani in #7281ser_json_<timedelta|bytes>
on default inGenerateJsonSchema
by @Kludex in #7269SkipValidation
to referenced schemas by @adriangb in #7381__get_pydantic_core_schema__
signature by @hramezani in #7415TypeAdapter
) by @sydney-runkle in #7435TypeError
onmodel_validator
inwrap
mode by @pmmmwh in #7496repr
work for instances that failed initialization when handlingValidationError
s by @dmontagu in #7439UUID
values havingUUID.version=None
by @lig in #7566__iter__
returning privatecached_property
info by @sydney-runkle in #7570New Contributors
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.