pydantic/pydantic
### [`v1.10.7`](https://togithub.com/pydantic/pydantic/releases/tag/v1.10.7): 2023-03-22
[Compare Source](https://togithub.com/pydantic/pydantic/compare/v1.10.6...v1.10.7)
##### What's Changed
- Fix creating schema from model using `ConstrainedStr` with `regex` as dict key, [#5223](https://togithub.com/pydantic/pydantic/issues/5223) by [@matejetz](https://togithub.com/matejetz)
- Address bug in mypy plugin caused by explicit_package_bases=True, [#5191](https://togithub.com/pydantic/pydantic/issues/5191) by [@dmontagu](https://togithub.com/dmontagu)
- Add implicit defaults in the mypy plugin for Field with no default argument, [#5190](https://togithub.com/pydantic/pydantic/issues/5190) by [@dmontagu](https://togithub.com/dmontagu)
- Fix schema generated for Enum values used as Literals in discriminated unions, [#5188](https://togithub.com/pydantic/pydantic/issues/5188) by [@javibookline](https://togithub.com/javibookline)
- Fix mypy failures caused by the pydantic mypy plugin when users define `from_orm` in their own classes, [#5187](https://togithub.com/pydantic/pydantic/issues/5187) by [@dmontagu](https://togithub.com/dmontagu)
- Fix `InitVar` usage with pydantic dataclasses, mypy version `1.1.1` and the custom mypy plugin, [#5162](https://togithub.com/pydantic/pydantic/issues/5162) by [@cdce8p](https://togithub.com/cdce8p)
##### New Contributors
- [@javibookline](https://togithub.com/javibookline) made their first contribution in [https://github.com/pydantic/pydantic/pull/5188](https://togithub.com/pydantic/pydantic/pull/5188)
- [@matejetz](https://togithub.com/matejetz) made their first contribution in [https://github.com/pydantic/pydantic/pull/5223](https://togithub.com/pydantic/pydantic/pull/5223)
**Full Changelog**: https://github.com/pydantic/pydantic/compare/v1.10.6...v1.10.7
### [`v1.10.6`](https://togithub.com/pydantic/pydantic/releases/tag/v1.10.6): 2023-03-02
[Compare Source](https://togithub.com/pydantic/pydantic/compare/v1.10.5...v1.10.6)
#### What's Changed
- Implement logic to support creating validators from non standard callables by using defaults to identify them and unwrapping `functools.partial` and `functools.partialmethod` when checking the signature, [#5126](https://togithub.com/pydantic/pydantic/issues/5126) by [@JensHeinrich](https://togithub.com/JensHeinrich)
- Fix mypy plugin for v1.1.1, and fix `dataclass_transform` decorator for pydantic dataclasses, [#5111](https://togithub.com/pydantic/pydantic/issues/5111) by [@cdce8p](https://togithub.com/cdce8p)
- Raise `ValidationError`, not `ConfigError`, when a discriminator value is unhashable, [#4773](https://togithub.com/pydantic/pydantic/issues/4773) by [@kurtmckee](https://togithub.com/kurtmckee)
#### New Contributors
- [@mrmammadov](https://togithub.com/mrmammadov) made their first contribution in [https://github.com/pydantic/pydantic/pull/5074](https://togithub.com/pydantic/pydantic/pull/5074)
- [@JensHeinrich](https://togithub.com/JensHeinrich) made their first contribution in [https://github.com/pydantic/pydantic/pull/5127](https://togithub.com/pydantic/pydantic/pull/5127)
- [@kurtmckee](https://togithub.com/kurtmckee) made their first contribution in [https://github.com/pydantic/pydantic/pull/5132](https://togithub.com/pydantic/pydantic/pull/5132)
**Full Changelog**: https://github.com/pydantic/pydantic/compare/v1.10.5...v1.10.6
### [`v1.10.5`](https://togithub.com/pydantic/pydantic/releases/tag/v1.10.5): (2023-02-15)
[Compare Source](https://togithub.com/pydantic/pydantic/compare/v1.10.4...v1.10.5)
- Fix broken parametrized bases handling with `GenericModel`s with complex sets of models, [#5052](https://togithub.com/pydantic/pydantic/issues/5052) by [@MarkusSintonen](https://togithub.com/MarkusSintonen)
- Invalidate mypy cache if plugin config changes, [#5007](https://togithub.com/pydantic/pydantic/issues/5007) by [@cdce8p](https://togithub.com/cdce8p)
- Fix `RecursionError` when deep-copying dataclass types wrapped by pydantic, [#4949](https://togithub.com/pydantic/pydantic/issues/4949) by [@mbillingr](https://togithub.com/mbillingr)
- Fix `X | Y` union syntax breaking `GenericModel`, [#4146](https://togithub.com/pydantic/pydantic/issues/4146) by [@thenx](https://togithub.com/thenx)
- Switch coverage badge to show coverage for this branch/release, [#5060](https://togithub.com/pydantic/pydantic/issues/5060) by [@samuelcolvin](https://togithub.com/samuelcolvin)
##### New Contributors
- [@thenx](https://togithub.com/thenx) made their first contribution in [https://github.com/pydantic/pydantic/pull/4977](https://togithub.com/pydantic/pydantic/pull/4977)
- [@mbillingr](https://togithub.com/mbillingr) made their first contribution in [https://github.com/pydantic/pydantic/pull/4963](https://togithub.com/pydantic/pydantic/pull/4963)
- [@MarkusSintonen](https://togithub.com/MarkusSintonen) made their first contribution in [https://github.com/pydantic/pydantic/pull/5052](https://togithub.com/pydantic/pydantic/pull/5052)
**Full Changelog**: https://github.com/pydantic/pydantic/compare/v1.10.4...v1.10.5
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» 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.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.10.4
->1.10.7
Release Notes
pydantic/pydantic
### [`v1.10.7`](https://togithub.com/pydantic/pydantic/releases/tag/v1.10.7): 2023-03-22 [Compare Source](https://togithub.com/pydantic/pydantic/compare/v1.10.6...v1.10.7) ##### What's Changed - Fix creating schema from model using `ConstrainedStr` with `regex` as dict key, [#5223](https://togithub.com/pydantic/pydantic/issues/5223) by [@matejetz](https://togithub.com/matejetz) - Address bug in mypy plugin caused by explicit_package_bases=True, [#5191](https://togithub.com/pydantic/pydantic/issues/5191) by [@dmontagu](https://togithub.com/dmontagu) - Add implicit defaults in the mypy plugin for Field with no default argument, [#5190](https://togithub.com/pydantic/pydantic/issues/5190) by [@dmontagu](https://togithub.com/dmontagu) - Fix schema generated for Enum values used as Literals in discriminated unions, [#5188](https://togithub.com/pydantic/pydantic/issues/5188) by [@javibookline](https://togithub.com/javibookline) - Fix mypy failures caused by the pydantic mypy plugin when users define `from_orm` in their own classes, [#5187](https://togithub.com/pydantic/pydantic/issues/5187) by [@dmontagu](https://togithub.com/dmontagu) - Fix `InitVar` usage with pydantic dataclasses, mypy version `1.1.1` and the custom mypy plugin, [#5162](https://togithub.com/pydantic/pydantic/issues/5162) by [@cdce8p](https://togithub.com/cdce8p) ##### New Contributors - [@javibookline](https://togithub.com/javibookline) made their first contribution in [https://github.com/pydantic/pydantic/pull/5188](https://togithub.com/pydantic/pydantic/pull/5188) - [@matejetz](https://togithub.com/matejetz) made their first contribution in [https://github.com/pydantic/pydantic/pull/5223](https://togithub.com/pydantic/pydantic/pull/5223) **Full Changelog**: https://github.com/pydantic/pydantic/compare/v1.10.6...v1.10.7 ### [`v1.10.6`](https://togithub.com/pydantic/pydantic/releases/tag/v1.10.6): 2023-03-02 [Compare Source](https://togithub.com/pydantic/pydantic/compare/v1.10.5...v1.10.6) #### What's Changed - Implement logic to support creating validators from non standard callables by using defaults to identify them and unwrapping `functools.partial` and `functools.partialmethod` when checking the signature, [#5126](https://togithub.com/pydantic/pydantic/issues/5126) by [@JensHeinrich](https://togithub.com/JensHeinrich) - Fix mypy plugin for v1.1.1, and fix `dataclass_transform` decorator for pydantic dataclasses, [#5111](https://togithub.com/pydantic/pydantic/issues/5111) by [@cdce8p](https://togithub.com/cdce8p) - Raise `ValidationError`, not `ConfigError`, when a discriminator value is unhashable, [#4773](https://togithub.com/pydantic/pydantic/issues/4773) by [@kurtmckee](https://togithub.com/kurtmckee) #### New Contributors - [@mrmammadov](https://togithub.com/mrmammadov) made their first contribution in [https://github.com/pydantic/pydantic/pull/5074](https://togithub.com/pydantic/pydantic/pull/5074) - [@JensHeinrich](https://togithub.com/JensHeinrich) made their first contribution in [https://github.com/pydantic/pydantic/pull/5127](https://togithub.com/pydantic/pydantic/pull/5127) - [@kurtmckee](https://togithub.com/kurtmckee) made their first contribution in [https://github.com/pydantic/pydantic/pull/5132](https://togithub.com/pydantic/pydantic/pull/5132) **Full Changelog**: https://github.com/pydantic/pydantic/compare/v1.10.5...v1.10.6 ### [`v1.10.5`](https://togithub.com/pydantic/pydantic/releases/tag/v1.10.5): (2023-02-15) [Compare Source](https://togithub.com/pydantic/pydantic/compare/v1.10.4...v1.10.5) - Fix broken parametrized bases handling with `GenericModel`s with complex sets of models, [#5052](https://togithub.com/pydantic/pydantic/issues/5052) by [@MarkusSintonen](https://togithub.com/MarkusSintonen) - Invalidate mypy cache if plugin config changes, [#5007](https://togithub.com/pydantic/pydantic/issues/5007) by [@cdce8p](https://togithub.com/cdce8p) - Fix `RecursionError` when deep-copying dataclass types wrapped by pydantic, [#4949](https://togithub.com/pydantic/pydantic/issues/4949) by [@mbillingr](https://togithub.com/mbillingr) - Fix `X | Y` union syntax breaking `GenericModel`, [#4146](https://togithub.com/pydantic/pydantic/issues/4146) by [@thenx](https://togithub.com/thenx) - Switch coverage badge to show coverage for this branch/release, [#5060](https://togithub.com/pydantic/pydantic/issues/5060) by [@samuelcolvin](https://togithub.com/samuelcolvin) ##### New Contributors - [@thenx](https://togithub.com/thenx) made their first contribution in [https://github.com/pydantic/pydantic/pull/4977](https://togithub.com/pydantic/pydantic/pull/4977) - [@mbillingr](https://togithub.com/mbillingr) made their first contribution in [https://github.com/pydantic/pydantic/pull/4963](https://togithub.com/pydantic/pydantic/pull/4963) - [@MarkusSintonen](https://togithub.com/MarkusSintonen) made their first contribution in [https://github.com/pydantic/pydantic/pull/5052](https://togithub.com/pydantic/pydantic/pull/5052) **Full Changelog**: https://github.com/pydantic/pydantic/compare/v1.10.4...v1.10.5Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» 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.