pydantic/pydantic
### [`v1.10.9`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v1109-2023-06-07)
[Compare Source](https://togithub.com/pydantic/pydantic/compare/v1.10.8...v1.10.9)
- Fix trailing zeros not ignored in Decimal validation, [#5968](https://togithub.com/pydantic/pydantic/issues/5968) by [@hramezani](https://togithub.com/hramezani)
- Fix mypy plugin for v1.4.0, [#5928](https://togithub.com/pydantic/pydantic/issues/5928) by [@cdce8p](https://togithub.com/cdce8p)
- Add future and past date hypothesis strategies, [#5850](https://togithub.com/pydantic/pydantic/issues/5850) by [@bschoenmaeckers](https://togithub.com/bschoenmaeckers)
- Discourage usage of Cython 3 with Pydantic 1.x, [#5845](https://togithub.com/pydantic/pydantic/issues/5845) by [@lig](https://togithub.com/lig)
### [`v1.10.8`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v1108-2023-05-23)
[Compare Source](https://togithub.com/pydantic/pydantic/compare/v1.10.7...v1.10.8)
- Fix a bug in `Literal` usage with `typing-extension==4.6.0`, [#5826](https://togithub.com/pydantic/pydantic/issues/5826) by [@hramezani](https://togithub.com/hramezani)
- This solves the (closed) issue [#3849](https://togithub.com/pydantic/pydantic/issues/3849) where aliased fields that use discriminated union fail to validate when the data contains the non-aliased field name, [#5736](https://togithub.com/pydantic/pydantic/issues/5736) by [@benwah](https://togithub.com/benwah)
- Update email-validator dependency to >=2.0.0post2, [#5627](https://togithub.com/pydantic/pydantic/issues/5627) by [@adriangb](https://togithub.com/adriangb)
- update `AnyClassMethod` for changes in [python/typeshed#9771](https://togithub.com/python/typeshed/issues/9771), [#5505](https://togithub.com/pydantic/pydantic/issues/5505) by [@ITProKyle](https://togithub.com/ITProKyle)
### [`v1.10.7`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v1107-2023-03-22)
[Compare Source](https://togithub.com/pydantic/pydantic/compare/v1.10.6...v1.10.7)
- 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)
### [`v1.10.6`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v1106-2023-03-08)
[Compare Source](https://togithub.com/pydantic/pydantic/compare/v1.10.5...v1.10.6)
- 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)
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.5
-><=1.10.9
Release Notes
pydantic/pydantic
### [`v1.10.9`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v1109-2023-06-07) [Compare Source](https://togithub.com/pydantic/pydantic/compare/v1.10.8...v1.10.9) - Fix trailing zeros not ignored in Decimal validation, [#5968](https://togithub.com/pydantic/pydantic/issues/5968) by [@hramezani](https://togithub.com/hramezani) - Fix mypy plugin for v1.4.0, [#5928](https://togithub.com/pydantic/pydantic/issues/5928) by [@cdce8p](https://togithub.com/cdce8p) - Add future and past date hypothesis strategies, [#5850](https://togithub.com/pydantic/pydantic/issues/5850) by [@bschoenmaeckers](https://togithub.com/bschoenmaeckers) - Discourage usage of Cython 3 with Pydantic 1.x, [#5845](https://togithub.com/pydantic/pydantic/issues/5845) by [@lig](https://togithub.com/lig) ### [`v1.10.8`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v1108-2023-05-23) [Compare Source](https://togithub.com/pydantic/pydantic/compare/v1.10.7...v1.10.8) - Fix a bug in `Literal` usage with `typing-extension==4.6.0`, [#5826](https://togithub.com/pydantic/pydantic/issues/5826) by [@hramezani](https://togithub.com/hramezani) - This solves the (closed) issue [#3849](https://togithub.com/pydantic/pydantic/issues/3849) where aliased fields that use discriminated union fail to validate when the data contains the non-aliased field name, [#5736](https://togithub.com/pydantic/pydantic/issues/5736) by [@benwah](https://togithub.com/benwah) - Update email-validator dependency to >=2.0.0post2, [#5627](https://togithub.com/pydantic/pydantic/issues/5627) by [@adriangb](https://togithub.com/adriangb) - update `AnyClassMethod` for changes in [python/typeshed#9771](https://togithub.com/python/typeshed/issues/9771), [#5505](https://togithub.com/pydantic/pydantic/issues/5505) by [@ITProKyle](https://togithub.com/ITProKyle) ### [`v1.10.7`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v1107-2023-03-22) [Compare Source](https://togithub.com/pydantic/pydantic/compare/v1.10.6...v1.10.7) - 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) ### [`v1.10.6`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v1106-2023-03-08) [Compare Source](https://togithub.com/pydantic/pydantic/compare/v1.10.5...v1.10.6) - 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)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.
This PR has been generated by Mend Renovate. View repository job log here.