chore(deps): update dependency pydantic to v2.7.0 #609
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.4->==2.7.0Release Notes
pydantic/pydantic (pydantic)
v2.7.0Compare Source
GitHub release
The code released in v2.7.0 is practically identical to that of v2.7.0b1.
What's Changed
Packaging
pyproject.tomlsections by @Viicos in #8899pydantic-coretov2.18.1by @sydney-runkle in #9211jiterv0.2.0by @samuelcolvin in pydantic/pydantic-core#1250New Features
FieldInfo.descriptionby @Viicos in #6563with_configdecorator to comply with typing spec by @Viicos in #8611ByteSize.human_readableby @jks15satoshi in #8706Secretbase type by @conradogarciaberrotaran in #8519Sphinxinventories for cross references in docs by @Viicos in #8682deprecatedfields by @Viicos in #8237field_serializer('*')by @ornariece in #9001model_configis defined as a model property by @alexeyt101 in #9004create_model()to supporttyping.Annotatedas input by @wannieman98 in #8947ClickhouseDsnsupport by @solidguy7 in #9062re.Pattern[str]topatternfield by @jag-k in #9053serialize_as_anyruntime setting by @sydney-runkle in #8830typing.Selfby @Youssefares in #9023contextto serialization by @ornariece in #8965Finalized in v2.7.0, rather than v2.7.0b1:
warningsparameter for serialization utilities to allow raising a warning by @Lance-Drane in #9166Changes
model_constructbehavior withextraby @sydney-runkle in #8807RootModelsubclasses by @sydney-runkle in #8857PEP570syntax by @Viicos in #8940enumandtypeto the JSON schema for single item literals by @dmontagu in #8944update_json_schemainternal function by @sydney-runkle in #9125Performance
enumvalidator improvements by @samuelcolvin in #9045enumvalidation and serialization to Rust by @samuelcolvin in #9064aarch64(Note: SIMD on x86 will be implemented in a future release) by @samuelcolvin in in pydantic/jiter#65Cow<str>fromjiterby @davidhewitt in pydantic/pydantic-core#1231Fixes
Sequences by @sydney-runkle in #8614__qualname__by @anci3ntr0ck in #8642__pydantic_extra__annotation being a string or inherited by @alexmojaki in #8659NameEmailby @Holi0317 in #8650BaseModelby @bluenote10 in #8651mypyplugin andno_strict_optional = Trueby @dmontagu in #8666ByteSizeerrortypechange by @sydney-runkle in #8681__pydantic_config__ignored for TypeDict by @13sin in #8734pytest v8.0.0due topytest.warns()starting to work insidepytest.raises()by @mgorny in #8678is_valid_fieldfrom 1.x formypyplugin by @DanielNoord in #8738mypystrict equality flag by @dmontagu in #8799FieldInfo.__repr_args__by @sydney-runkle in #8801BaseModeltype annotations to be resolvable bytyping.get_type_hintsby @devmonkey22 in #7680AliasGeneratorby @sydney-runkle in #8810date->datetimetimezone assumption fix by @sydney-runkle in #8823ast.Strby @Viicos in #8837deprecateddecorators by @Viicos in #8877NameEmailif name includes an email address by @NeevCohen in #8860TypeAdapter's typing compatible with special forms by @adriangb in #8923enums by @dmontagu in #8920model_json_schemausage by @sydney-runkle in #8928mypyplugin by @dmontagu in #9008PlainSerializerusage with std type constructor by @sydney-runkle in #9031Model.__getattr__()by @NeevCohen in #9082ClassVarforward ref inherited from parent class by @alexmojaki in #9097Trueby @andresliszt in #8977dequewhen passed toSequence[blah blah blah]by @sydney-runkle in #9128model_post_initby @Viicos in #9134model_constructwithvalidation_aliasby @ornariece in #9144Literalnulltypes by @bruno-f-cruz in #9135New 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.