morpheus
morpheus copied to clipboard
Bump pydantic[email] from 1.9.2 to 1.10.5
Bumps pydantic[email] from 1.9.2 to 1.10.5.
Release notes
Sourced from pydantic[email]'s releases.
v1.10.5 (2023-02-15)
- Fix broken parametrized bases handling with
GenericModel
s with complex sets of models, #5052 by@MarkusSintonen
- Invalidate mypy cache if plugin config changes, #5007 by
@cdce8p
- Fix
RecursionError
when deep-copying dataclass types wrapped by pydantic, #4949 by@mbillingr
- Fix
X | Y
union syntax breakingGenericModel
, #4146 by@thenx
- Switch coverage badge to show coverage for this branch/release, #5060 by
@samuelcolvin
New Contributors
@thenx
made their first contribution in pydantic/pydantic#4977@mbillingr
made their first contribution in pydantic/pydantic#4963@MarkusSintonen
made their first contribution in pydantic/pydantic#5052Full Changelog: https://github.com/pydantic/pydantic/compare/v1.10.4...v1.10.5
v1.10.4 (2022-12-30)
- Change dependency to
typing-extensions>=4.2.0
, #4885 by@samuelcolvin
Full Changelog: https://github.com/pydantic/pydantic/compare/v1.10.3...v1.10.4
v1.10.3 (2022-12-29)
- fix parsing of custom root models, #4883 by
@gou177
- fix: use dataclass proxy for frozen or empty dataclasses, #4878 by
@PrettyWood
- Fix
schema
andschema_json
on models where a model instance is a one of default values, #4781 by@Bobronium
- Add Jina AI to sponsors on docs index page, #4767 by
@samuelcolvin
- fix: support assignment on
DataclassProxy
, #4695 by@PrettyWood
- Add
postgresql+psycopg
as allowed scheme forPostgreDsn
to make it usable with SQLAlchemy 2, #4689 by@morian
- Allow dict schemas to have both
patternProperties
andadditionalProperties
, #4641 by@jparise
- Fixes error passing None for optional lists with
unique_items
, #4568 by@mfulgo
- Fix
GenericModel
withCallable
param raising aTypeError
, #4551 by@mfulgo
- Fix field regex with
StrictStr
type annotation, #4538 by@sisp
- Correct
dataclass_transform
keyword argument name fromfield_descriptors
tofield_specifiers
, #4500 by@samuelcolvin
- fix: avoid multiple calls of
__post_init__
when dataclasses are inherited, #4487 by@PrettyWood
- Reduce the size of binary wheels, #2276 by
@samuelcolvin
Full Changelog: https://github.com/pydantic/pydantic/compare/v1.10.2...v1.10.3
v1.10.2 (2022-09-05)
- Revert Change: Revert percent encoding of URL parts which was originally added in #4224, #4470 by
@samuelcolvin
- Prevent long (length >
4_300
) strings/bytes as input to int fields, see python/cpython#95778 and CVE-2020-10735, #1477 by@samuelcolvin
- fix: dataclass wrapper was not always called, #4477 by
@PrettyWood
- Use
tomllib
on Python 3.11 when parsingmypy
configuration, #4476 by@hauntsaninja
- Basic fix of
GenericModel
cache to detect order of arguments inUnion
models, #4474 by@sveinugu
- Fix mypy plugin when using bare types like
list
anddict
asdefault_factory
, #4457 by@samuelcolvin
Full Changelog: https://github.com/pydantic/pydantic/compare/v1.10.1...v1.10.2
v1.10.1 (2022-08-31)
... (truncated)
Changelog
Sourced from pydantic[email]'s changelog.
v1.10.5 (2023-02-15)
- Fix broken parametrized bases handling with
GenericModel
s with complex sets of models, #5052 by@MarkusSintonen
- Invalidate mypy cache if plugin config changes, #5007 by
@cdce8p
- Fix
RecursionError
when deep-copying dataclass types wrapped by pydantic, #4949 by@mbillingr
- Fix
X | Y
union syntax breakingGenericModel
, #4146 by@thenx
- Switch coverage badge to show coverage for this branch/release, #5060 by
@samuelcolvin
v1.10.4 (2022-12-30)
- Change dependency to
typing-extensions>=4.2.0
, #4885 by@samuelcolvin
v1.10.3 (2022-12-29)
NOTE: v1.10.3 was "yanked" from PyPI due to #4885 which is fixed in v1.10.4
- fix parsing of custom root models, #4883 by
@gou177
- fix: use dataclass proxy for frozen or empty dataclasses, #4878 by
@PrettyWood
- Fix
schema
andschema_json
on models where a model instance is a one of default values, #4781 by@Bobronium
- Add Jina AI to sponsors on docs index page, #4767 by
@samuelcolvin
- fix: support assignment on
DataclassProxy
, #4695 by@PrettyWood
- Add
postgresql+psycopg
as allowed scheme forPostgreDsn
to make it usable with SQLAlchemy 2, #4689 by@morian
- Allow dict schemas to have both
patternProperties
andadditionalProperties
, #4641 by@jparise
- Fixes error passing None for optional lists with
unique_items
, #4568 by@mfulgo
- Fix
GenericModel
withCallable
param raising aTypeError
, #4551 by@mfulgo
- Fix field regex with
StrictStr
type annotation, #4538 by@sisp
- Correct
dataclass_transform
keyword argument name fromfield_descriptors
tofield_specifiers
, #4500 by@samuelcolvin
- fix: avoid multiple calls of
__post_init__
when dataclasses are inherited, #4487 by@PrettyWood
- Reduce the size of binary wheels, #2276 by
@samuelcolvin
v1.10.2 (2022-09-05)
- Revert Change: Revert percent encoding of URL parts which was originally added in #4224, #4470 by
@samuelcolvin
- Prevent long (length >
4_300
) strings/bytes as input to int fields, see python/cpython#95778 and CVE-2020-10735, #1477 by@samuelcolvin
- fix: dataclass wrapper was not always called, #4477 by
@PrettyWood
- Use
tomllib
on Python 3.11 when parsingmypy
configuration, #4476 by@hauntsaninja
- Basic fix of
GenericModel
cache to detect order of arguments inUnion
models, #4474 by@sveinugu
- Fix mypy plugin when using bare types like
list
anddict
asdefault_factory
, #4457 by@samuelcolvin
v1.10.1 (2022-08-31)
v1.10.0 (2022-08-30)
- Refactor the whole pydantic
dataclass
decorator to really act like its standard lib equivalent. It hence keeps__eq__
,__hash__
, ... and makes comparison with its non-validated version possible. It also fixes usage offrozen
dataclasses in fields and usage ofdefault_factory
in nested dataclasses.
... (truncated)
Commits
b0215d1
prepare for v1.10.596dc2e0
fix coverage badge to use correct branch (#5060)ce35972
Disable Google analytics (#5059)aea3449
fix: Fix broken parametrized bases with GenericModels (#5052)ce45f6e
Invalidate mypy cache if config changes (#5007) (#5023)0558af4
Dataclass deepcopy 1.10 (#4963)a699707
Handle X | Y union in GenericModel (#4977)0bc7cd3
uprev mkdocs-material, fix maxcdn errors (#4954)5bb8922
simplify analytics more (#4930)5121777
Fix typo in Field function docstring (#4931) (#4932)- 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 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)
Codecov Report
Patch and project coverage have no change.
Comparison is base (
0c7c504
) 92.49% compared to head (a1ee460
) 92.49%.
Additional details and impacted files
@@ Coverage Diff @@
## master #452 +/- ##
=======================================
Coverage 92.49% 92.49%
=======================================
Files 23 23
Lines 1292 1292
Branches 146 146
=======================================
Hits 1195 1195
Misses 69 69
Partials 28 28
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.