ocean
ocean copied to clipboard
Bump pydantic from 1.10.15 to 2.7.1
Bumps pydantic from 1.10.15 to 2.7.1.
Release notes
Sourced from pydantic's releases.
v2.7.1 (2024-04-23)
What's Changed
Packaging
- Bump
pydantic-coretov2.18.2by@​sydney-runklein #9307New Features
- Ftp and Websocket connection strings support by
@​CherrySurypin #9205Changes
- Use field description for RootModel schema description when there is
…by@​LouisGobertin #9214Fixes
- Fix
validation_aliasbehavior withmodel_constructforAliasChoicesandAliasPathby@​sydney-runklein #9223- Revert
typing.Literaland import it outside the TYPE_CHECKING block by@​frost-nzcr4in #9232- Fix
Secretserialization schema, applicable for unions by@​sydney-runklein #9240- Fix
strictapplication tofunction-afterwithuse_enum_valuesby@​sydney-runklein #9279- Address case where
model_constructon a class which definesmodel_post_initfails withAttributeErrorby@​babygrimesin #9168- Fix
model_json_schemawith config types by@​NeevCohenin #9287- Support multiple zeros as an
intby@​samuelcolvinin pydantic/pydantic-core#1269- Fix validation of
ints with leading unary plus by@​cknvin pydantic/pydantic-core#1272- Fix interaction between
extra != 'ignore'andfrom_attributes=Trueby@​davidhewittin pydantic/pydantic-core#1276- Handle error from
Enum'smissingfunction asValidationErrorby@​sydney-runklein pydantic/pydantic-core#1274- Fix memory leak with
Iterablevalidation by@​davidhewittin pydantic/pydantic-core#1271New Contributors
@​zzstoatzzmade their first contribution in #9219@​frost-nzcr4made their first contribution in #9232@​CherrySurypmade their first contribution in #9205@​vagenasmade their first contribution in #9268@​ollz272made their first contribution in #9262@​babygrimesmade their first contribution in #9168@​swelbornmade their first contribution in #9296@​kf-novimade their first contribution in #9236@​lgeigermade their first contribution in #9288Full Changelog: https://github.com/pydantic/pydantic/compare/v2.7.0...v2.7.1/
v2.7.0 (2024-04-11)
The code released in v2.7.0 is practically identical to that of v2.7.0b1.
What's Changed
Packaging
... (truncated)
Changelog
Sourced from pydantic's changelog.
v2.7.1 (2024-04-23)
What's Changed
Packaging
- Bump
pydantic-coretov2.18.2by@​sydney-runklein #9307New Features
- Ftp and Websocket connection strings support by
@​CherrySurypin #9205Changes
- Use field description for RootModel schema description when there is
…by@​LouisGobertin #9214Fixes
- Fix
validation_aliasbehavior withmodel_constructforAliasChoicesandAliasPathby@​sydney-runklein #9223- Revert
typing.Literaland import it outside the TYPE_CHECKING block by@​frost-nzcr4in #9232- Fix
Secretserialization schema, applicable for unions by@​sydney-runklein #9240- Fix
strictapplication tofunction-afterwithuse_enum_valuesby@​sydney-runklein #9279- Address case where
model_constructon a class which definesmodel_post_initfails withAttributeErrorby@​babygrimesin #9168- Fix
model_json_schemawith config types by@​NeevCohenin #9287- Support multiple zeros as an
intby@​samuelcolvinin pydantic/pydantic-core#1269- Fix validation of
ints with leading unary plus by@​cknvin pydantic/pydantic-core#1272- Fix interaction between
extra != 'ignore'andfrom_attributes=Trueby@​davidhewittin pydantic/pydantic-core#1276- Handle error from
Enum'smissingfunction asValidationErrorby@​sydney-runklein pydantic/pydantic-core#1274- Fix memory leak with
Iterablevalidation by@​davidhewittin pydantic/pydantic-core#1271New Contributors
@​zzstoatzzmade their first contribution in #9219@​frost-nzcr4made their first contribution in #9232@​CherrySurypmade their first contribution in #9205@​vagenasmade their first contribution in #9268@​ollz272made their first contribution in #9262@​babygrimesmade their first contribution in #9168@​swelbornmade their first contribution in #9296@​kf-novimade their first contribution in #9236@​lgeigermade their first contribution in #9288v2.7.0 (2024-04-11)
The code released in v2.7.0 is practically identical to that of v2.7.0b1.
... (truncated)
Commits
26129472.7.1 release prep (#9307)2b8efa2Move TODO regarding pickling to markdown (#9288)73d1049adds test case for unexpected discriminated union behavior (#9236)c33b925Change CI to usemacos-13for Python 3.8 and 3.9 (#9305)82e4664Fix model json schema with config types (#9287)a0f18e3Fix bullets in Strict Mode docs (#9296)77b0e1cAddress case where model_construct on a class which defines model_post_init f...6322b24Fixstrictapplication tofunction-afterwithuse_enum_values(#9279)bb857bddocs(performance): remove section on literal vs enum performance (#9262)3c15a8bdocs: makeTypeAdapterexample PEP-8 compliant (#9268)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)