Update dependency pydantic to v2.6.0#352
Merged
renovate[bot] merged 1 commit intomainfrom Feb 2, 2024
Merged
Conversation
7324d7c to
35da20c
Compare
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.5.3->==2.6.0Release Notes
pydantic/pydantic (pydantic)
v2.6.0Compare Source
GitHub release
The code released in v2.6.0 is practically identical to that of v2.6.0b1.
What's Changed
Packaging
email-validatorversion >= 2.0 by @commonism in #6033pydantic-extra-types==2.4.1by @yezz123 in #8478pyright==1.1.345by @Viicos in #8453New Features
NatsDsnby @ekeew in #6874ConfigDict.ser_json_inf_nanby @davidhewitt in #8159types.OnErrorOmitby @adriangb in #8222AliasGeneratorusage by @sydney-runkle in #8282yyyy-MM-DDdatetime parsing by @sydney-runkle in #8404ByteSizeclass #8415 by @luca-matei in #8507ByteSizeby @geospackle in #8537eval_type_backportto handle union operator and builtin generic subscripting in older Pythons by @alexmojaki in #8209dataclassfieldsinitby @dmontagu in #8552ValidationErrorby @davidhewitt in pydantic/pydantic-core#1119Changes
selfinBaseModelconstructor, so no field name can ever conflict with it by @ariebovenberg in #8072@validate_callreturn a function instead of a custom descriptor - fixes binding issue with inheritance and addsself/clsargument to validation errors by @alexmojaki in #8268BaseModeldocstring from JSON schema description by @sydney-runkle in #8352classpropertydecorator formodel_computed_fieldsby @Jocelyn-Gas in #8437Performance
intextraction by @samuelcolvin in pydantic/pydantic-core#1155dataclassserialization speedups by @samuelcolvin in pydantic/pydantic-core#1162HashMapcreation when looking up small JSON objects inLazyIndexMapsby @samuelcolvin in pydantic/jiter#55Peakwith more efficientPeekby @davidhewitt in pydantic/jiter#48Fixes
getattrwarning in deprecatedBaseConfigby @tlambert03 in #7183model_fields, not whole__dict__by @alexmojaki in #7786mypyplugin by @dmontagu in #7411mypyerror on untypedClassVarby @vincent-hachin-wmx in #8138BaseModel.__eq__instead of whole__dict__by @QuentinSoubeyranAqemia in #7825strictdocstring inmodel_validatemethod. by @LukeTonin in #8223computed_fieldby @Viicos in #8227validate_calldecorator to be dynamically assigned to a class method by @jusexton in #8249unittest.mockdeprecation warnings by @ibleedicare in #8262JsonValuecontains subclassed primitive values by @jusexton in #8286mypyerror on free before validator (classmethod) by @sydney-runkle in #8285to_snakeconversion by @jevins09 in #8316ModelMetaclass.__prepare__by @slanzmich in #8305configspecification when initializing aTypeAdapterwhen the annotated type has config already by @sydney-runkle in #8365aliasindataclasssignature by @NeevCohen in #8387Field(...)in a forward ref by @dmontagu in #8494__dict__withmodel_constructcall by @sydney-runkle in #8500path_typecreation when globals does not contain__name__by @hramezani in #8470from __future__ import annotationsby @sydney-runkle in #8513@deprecatedby @Viicos in #8294model_constructcall by @sydney-runkle in #8525TypeAliasTypefor types with refs by @dmontagu in #8526pydantic.Field(repr=False)in dataclasses by @tigeryy2 in #8511dataclass_transformbehavior forRootModelby @Viicos in #8163exclude_nonefor json serialization ofcomputed_fields by @sydney-runkle in pydantic/pydantic-core#1098New Contributors
pydanticpydantic-coreConfiguration
📅 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.