blocklib
blocklib copied to clipboard
Bump pydantic from 1.10.11 to 2.4.2
Bumps pydantic from 1.10.11 to 2.4.2.
Release notes
Sourced from pydantic's releases.
v2.4.2 2023-09-27
What's Changed
Fixes
- Fix bug with JSON schema for sequence of discriminated union by
@dmontagu
in #7647- Fix schema references in discriminated unions by
@adriangb
in #7646- Fix json schema generation for recursive models by
@adriangb
in #7653- Fix
models_json_schema
for generic models by@adriangb
in #7654- Fix xfailed test for generic model signatures by
@adriangb
in #7658New Contributors
@austinorr
made their first contribution in #7657@peterHoburg
made their first contribution in #7670Full Changelog: https://github.com/pydantic/pydantic/compare/v2.4.1...v2.4.2/
v2.4.1 2023-09-26
What's Changed
Packaging
- Update pydantic-core to 2.10.1 by
@davidhewitt
in #7633Fixes
- Serialize unsubstituted type vars as
Any
by@adriangb
in #7606- Remove schema building caches by
@adriangb
in #7624- Fix an issue where JSON schema extras weren't JSON encoded by
@dmontagu
in #7625Full Changelog: https://github.com/pydantic/pydantic/compare/v2.4.0...v2.4.1/
v2.4.0 2023-09-25
What's Changed
Packaging
- Update pydantic-core to 2.10.0 by
@samuelcolvin
in #7542New Features
- Add
Base64Url
types by@dmontagu
in #7286- Implement optional
number
tostr
coercion by@lig
in #7508- Allow access to
field_name
anddata
in all validators if there is data and a field name by@samuelcolvin
in #7542- Add
BaseModel.model_validate_strings
andTypeAdapter.validate_strings
by@hramezani
in #7552- Add Pydantic
plugins
experimental implementation by@lig
@samuelcolvin
and@Kludex
in #6820Changes
... (truncated)
Changelog
Sourced from pydantic's changelog.
v2.4.2 (2023-09-27)
What's Changed
Fixes
- Fix bug with JSON schema for sequence of discriminated union by
@dmontagu
in #7647- Fix schema references in discriminated unions by
@adriangb
in #7646- Fix json schema generation for recursive models by
@adriangb
in #7653- Fix
models_json_schema
for generic models by@adriangb
in #7654- Fix xfailed test for generic model signatures by
@adriangb
in #7658New Contributors
@austinorr
made their first contribution in #7657@peterHoburg
made their first contribution in #7670v2.4.1 (2023-09-26)
What's Changed
Packaging
- Update pydantic-core to 2.10.1 by
@davidhewitt
in #7633Fixes
- Serialize unsubstituted type vars as
Any
by@adriangb
in #7606- Remove schema building caches by
@adriangb
in #7624- Fix an issue where JSON schema extras weren't JSON encoded by
@dmontagu
in #7625v2.4.0 (2023-09-22)
What's Changed
Packaging
- Update pydantic-core to 2.10.0 by
@samuelcolvin
in #7542New Features
- Add
Base64Url
types by@dmontagu
in #7286- Implement optional
number
tostr
coercion by@lig
in #7508- Allow access to
field_name
anddata
in all validators if there is data and a field name by@samuelcolvin
in #7542
... (truncated)
Commits
d1634da
Prepare relese 2.4.2 (#7671)0e33bd0
Update Pydantic V1 to 1.10.13 (#7675)154e679
docs: Mixing of V1/V2 models is not supported in generics (#7663)7193693
Added small note to use ValidationInfo over FieldValidationInfo. (#7670)1377c04
Fix xfailed test for generic model signatures (#7658)ea9aa13
Fix models_json_schema for generic models (#7654)97c0199
Fix json schema generation for recursive models (#7653)861cfe3
Revert "Fix typo in docs for new private dunder pydantic method names (#7657)...24e9222
Fix typo in docs for new private dunder pydantic method names (#7657)c04e8e2
Correct allowed formats fordatetime.timedelta
parsing in docs (#7652)- 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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)