MART
MART copied to clipboard
Bump pydantic from 1.10.11 to 2.3.0
Bumps pydantic from 1.10.11 to 2.3.0.
Release notes
Sourced from pydantic's releases.
v2.3.0
What's Changed
- 🔥 Remove orphaned changes file from repo by
@​ligin pydantic/pydantic#7168- Add copy button on documentation by
@​Kludexin pydantic/pydantic#7190- Fix docs on JSON type by
@​Kludexin pydantic/pydantic#7189- Update mypy 1.5.0 to 1.5.1 in CI by
@​hramezaniin pydantic/pydantic#7191- fix download links badge by
@​samuelcolvinin pydantic/pydantic#7200- add 2.2.1 to changelog by
@​samuelcolvinin pydantic/pydantic#7212- Make ModelWrapValidator protocols generic by
@​dmontaguin pydantic/pydantic#7154- Correct
Field(..., exclude: bool)docs by@​samuelcolvinin pydantic/pydantic#7214- Make shadowing attributes a warning instead of an error by
@​adriangbin pydantic/pydantic#7193- Document
Base64StrandBase64Bytesby@​Kludexin pydantic/pydantic#7192- Fix
config.defer_buildfor serialization first cases by@​samuelcolvinin pydantic/pydantic#7024- clean Model docstrings in JSON Schema by
@​samuelcolvinin pydantic/pydantic#7210- fix #7228 (typo): docs in
validators.mdto correctvalidate_defaultkwarg by@​lmmxin pydantic/pydantic#7229- ✅ Implement
tzinfo.fromutcmethod forTzInfoinpydantic-coreby@​ligin pydantic/pydantic#7019- Support get_validators by
@​hramezaniin pydantic/pydantic#7197New Contributors
@​lmmxmade their first contribution in pydantic/pydantic#7229Full Changelog: https://github.com/pydantic/pydantic/compare/v2.2.1...v2.2.2
v2.2.1 2023-08-18
What's Changed
- Make xfailing test for root model extra stop xfailing by
@​dmontaguin pydantic/pydantic#6937- Optimize recursion detection by stopping on the second visit for the … by
@​mciucuin pydantic/pydantic#7160- fix link in docs by
@​tlambert03in pydantic/pydantic#7166- Bump pydantic-core to 2.6.1 and prepare 2.2.1 release by
@​adriangbin pydantic/pydantic#7176New Contributors
@​mciucumade their first contribution in pydantic/pydantic#7160Full Changelog: https://github.com/pydantic/pydantic/compare/v2.2.0...v2.2.1
v2.2.0 2023-08-17
What's Changed
- Split "pipx install" setup command into two commands on the documentation site by
@​nomadmtbin pydantic/pydantic#6869- Deprecate
Field.includeby@​hramezaniin pydantic/pydantic#6852- Fix typo in default factory error msg by
@​hramezaniin pydantic/pydantic#6880- Simplify handling of typing.Annotated in GenerateSchema by
@​dmontaguin pydantic/pydantic#6887- Re-enable fastapi tests in CI by
@​dmontaguin pydantic/pydantic#6883- Make it harder to hit collisions with json schema defrefs by
@​dmontaguin pydantic/pydantic#6566- Cleaner error for invalid input to
Pathfields by@​samuelcolvinin pydantic/pydantic#6903- :memo: support Coordinate Type by
@​yezz123in pydantic/pydantic#6906- Fix
ForwardRefwrapper for py 3.10.0 (shim until bpo-45166) by@​randomirin pydantic/pydantic#6919
... (truncated)
Changelog
Sourced from pydantic's changelog.
v2.3.0 (2023-08-23)
- 🔥 Remove orphaned changes file from repo by
@​ligin #7168- Add copy button on documentation by
@​Kludexin #7190- Fix docs on JSON type by
@​Kludexin #7189- Update mypy 1.5.0 to 1.5.1 in CI by
@​hramezaniin #7191- fix download links badge by
@​samuelcolvinin #7200- add 2.2.1 to changelog by
@​samuelcolvinin #7212- Make ModelWrapValidator protocols generic by
@​dmontaguin #7154- Correct
Field(..., exclude: bool)docs by@​samuelcolvinin #7214- Make shadowing attributes a warning instead of an error by
@​adriangbin #7193- Document
Base64StrandBase64Bytesby@​Kludexin #7192- Fix
config.defer_buildfor serialization first cases by@​samuelcolvinin #7024- clean Model docstrings in JSON Schema by
@​samuelcolvinin #7210- fix #7228 (typo): docs in
validators.mdto correctvalidate_defaultkwarg by@​lmmxin #7229- ✅ Implement
tzinfo.fromutcmethod forTzInfoinpydantic-coreby@​ligin #7019- Support
__get_validators__by@​hramezaniin #7197v2.2.1 (2023-08-18)
- Make
xfailing test for root model extra stopxfailing by@​dmontaguin #6937- Optimize recursion detection by stopping on the second visit for the same object by
@​mciucuin #7160- fix link in docs by
@​tlambert03in #7166- Replace MiMalloc w/ default allocator by
@​adriangbin pydantic/pydantic-core#900- Bump pydantic-core to 2.6.1 and prepare 2.2.1 release by
@​adriangbin #7176v2.2.0 (2023-08-17)
- Split "pipx install" setup command into two commands on the documentation site by
@​nomadmtbin #6869- Deprecate
Field.includeby@​hramezaniin #6852- Fix typo in default factory error msg by
@​hramezaniin #6880- Simplify handling of typing.Annotated in GenerateSchema by
@​dmontaguin #6887- Re-enable fastapi tests in CI by
@​dmontaguin #6883- Make it harder to hit collisions with json schema defrefs by
@​dmontaguin #6566- Cleaner error for invalid input to
Pathfields by@​samuelcolvinin #6903- :memo: support Coordinate Type by
@​yezz123in #6906- Fix
ForwardRefwrapper for py 3.10.0 (shim until bpo-45166) by@​randomirin #6919- Fix misbehavior related to copying of RootModel by
@​dmontaguin #6918- Fix issue with recursion error caused by ParamSpec by
@​dmontaguin #6923- Add section about Constrained classes to the Migration Guide by
@​Kludexin #6924- Use
mainbranch for badge links by@​Viicosin #6925- Add test for v1/v2 Annotated discrepancy by
@​carlbordumin #6926- Make the v1 mypy plugin work with both v1 and v2 by
@​dmontaguin #6921- Fix issue where generic models couldn't be parametrized with BaseModel by
@​dmontaguin #6933
... (truncated)
Commits
7f1a643fix markdown in history (#7232)5fb914bPrepare for 2.3.0 release (#7231)8edc9baSupport get_validators (#7197)8467fdd✅ Implementtzinfo.fromutcmethod forTzInfoinpydantic-core(#7019)71deb09fix #7228 (typo): docs invalidators.mdto correctvalidate_defaultkwarg...d110b47clean Model docstrings in JSON Schema (#7210)bd2b524Fixconfig.defer_buildfor serialization first cases (#7024)820da6fDocumentBase64StrandBase64Bytes(#7192)caa7801Make shadowing attributes a warning instead of an error (#7193)4d929ebCorrectField(..., exclude: bool)docs (#7214)- 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)