This repository was archived by the owner on Sep 13, 2023. It is now read-only.
chore(deps): update dependency pydantic to v2 #684
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.9.0,<2->>=2.3,<3Release Notes
pydantic/pydantic (pydantic)
v2.3.0Compare Source
GitHub release
Field(..., exclude: bool)docs by @samuelcolvin in #7214Base64StrandBase64Bytesby @Kludex in #7192config.defer_buildfor serialization first cases by @samuelcolvin in #7024validators.mdto correctvalidate_defaultkwarg by @lmmx in #7229tzinfo.fromutcmethod forTzInfoinpydantic-coreby @lig in #7019__get_validators__by @hramezani in #7197v2.2.1Compare Source
GitHub release
xfailing test for root model extra stopxfailing by @dmontagu in #6937v2.2.0Compare Source
GitHub release
Field.includeby @hramezani in #6852Pathfields by @samuelcolvin in #6903ForwardRefwrapper for py 3.10.0 (shim until bpo-45166) by @randomir in #6919mainbranch for badge links by @Viicos in #6925ser_json_bytesregarding base64 encoding by @Viicos in #7052@validate_callto work on async methods by @adriangb in #7046SettingsandSettingsConfigDictby @JeanArhancet in #7002short_versionand use it in links by @hramezani in #7115RootModelby @Kludex in #7113Field.excludeby @Viicos in #7086validate_assignmentto useField.frozenby @Viicos in #7103_core_utilsby @samuelcolvin in #7040round_tripin Json type documentation by @jc-louis in #7137v2.1.1Compare Source
GitHub release
v2.1.0Compare Source
GitHub release
StringConstraintsfor use as Annotated metadata by @adriangb in #6605help(BaseModelSubclass)raises errors by @hramezani in #6758@model_validator(mode="after")by @ljodal in #6753contentSchemakeyword for JSON schema by @dmontagu in #6715version_info()by @samuelcolvin in #6785SkipJsonSchemaannotation by @Kludex in #6653GenericModeltoMOVED_IN_V2by @adriangb in #6776docs/usage/types/custom.mdby @hramezani in #6803float->Decimalcoercion precision loss by @adriangb in #6810annotated_types.MaxLenvalidator for custom sequence types by @ImogenBits in #6809InstanceOfby @dmontagu in #6829json_encodersby @adriangb in #6811WeakValueDictionaryto fix generic memory leak by @dmontagu in #6681config.defer_buildto optionally make model building lazy by @samuelcolvin in #6823UUIDserialization to pydantic-core by @davidhewitt in #6850json_encodersdocs by @adriangb in #6848staticmethod/classmethodorder with validate_call by @dmontagu in #6686Configby @samuelcolvin in #6847Field.excludetakes priority over call-timeinclude/excludeby @hramezani in #6851GenerateSchemapublic by @adriangb in #6737v2.0.3Compare Source
GitHub release
Field.aliasbehavior in Pydantic V2 by @hramezani in #6508alias_priorityby @tpdorsey in #6520pydantic-coreto v2.2.0 by @lig in #6589enumerror type docs by @lig in #6603max_lengthfor unicode strings by @lig in #6559pydantic.v1by @tpdorsey in #6604$refas an alias by @dmontagu in #6568AnyUrletc by @davidhewitt in #6618json_schema_extraonRootModelusingFieldby @lig in #6622transformdocstring by @StefanBRas in #6649v2.0.2Compare Source
GitHub release
RootModelwould change the value of__dict__, #6457 by @dmontaguconstrdocumentation, renamed oldregexto newpattern, #6452 by @miiliGenerateJsonSchema.generate_definitionssignature, #6436 by @dmontaguSee the full changelog here
v2.0.1Compare Source
GitHub release
First patch release of Pydantic V2
setattr(i.e.m.some_extra_field = 'extra_value')are added to
.model_extraifmodel_configextra='allowed'. Fixed #6333, #6365 by @aaraneySee the full changelog here
v2.0Compare Source
GitHub release
Field.includeby @hramezani in #6852Pathfields by @samuelcolvin in #6903ForwardRefwrapper for py 3.10.0 (shim until bpo-45166) by @randomir in #6919mainbranch for badge links by @Viicos in #6925ser_json_bytesregarding base64 encoding by @Viicos in #7052@validate_callto work on async methods by @adriangb in #7046SettingsandSettingsConfigDictby @JeanArhancet in #7002short_versionand use it in links by @hramezani in #7115RootModelby @Kludex in #7113Field.excludeby @Viicos in #7086validate_assignmentto useField.frozenby @Viicos in #7103_core_utilsby @samuelcolvin in #7040round_tripin Json type documentation by @jc-louis in #7137Configuration
📅 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.