Discourage usage of Cython 3 with Pydantic 1.x, #5845 by @​lig
v1.10.8 (2023-05-23)
Fix a bug in Literal usage with typing-extension==4.6.0, #5826 by @​hramezani
This solves the (closed) issue #3849 where aliased fields that use discriminated union fail to validate when the data contains the non-aliased field name, #5736 by @​benwah
Update email-validator dependency to >=2.0.0post2, #5627 by @​adriangb
Fix creating schema from model using ConstrainedStr with regex as dict key, #5223 by @​matejetz
Address bug in mypy plugin caused by explicit_package_bases=True, #5191 by @​dmontagu
Add implicit defaults in the mypy plugin for Field with no default argument, #5190 by @​dmontagu
Fix schema generated for Enum values used as Literals in discriminated unions, #5188 by @​javibookline
Fix mypy failures caused by the pydantic mypy plugin when users define from_orm in their own classes, #5187 by @​dmontagu
Fix InitVar usage with pydantic dataclasses, mypy version 1.1.1 and the custom mypy plugin, #5162 by @​cdce8p
v1.10.6 (2023-03-08)
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 by @​JensHeinrich
Fix mypy plugin for v1.1.1, and fix dataclass_transform decorator for pydantic dataclasses, #5111 by @​cdce8p
Raise ValidationError, not ConfigError, when a discriminator value is unhashable, #4773 by @​kurtmckee
v1.10.5 (2023-02-15)
Fix broken parametrized bases handling with GenericModels 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 breaking GenericModel, #4146 by @​thenx
Switch coverage badge to show coverage for this branch/release, #5060 by @​samuelcolvin
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)
Updates the requirements on pydantic to permit the latest version.
Release notes
Sourced from pydantic's releases.
Changelog
Sourced from pydantic's changelog.
... (truncated)
Commits
9032648
Prepare for 1.10.9 (#6034)a350460
[Backport] Fix Decimal trailing zero handling (#5968)0813a03
Add future and past date hypothesis strategies (#5850)ca10302
[cherry-pick] Fix mypy plugin for 1.4.0 (#5927) (#5928)b9a316e
đź“Ś Use Cython < v3 (#5845)25c99b5
Add Pydantic classifier (#5847)77e3ac7
remove sponsors from docs (#5833)afadf00
Prepare for 1.10.8 (#5830)c6e4d21
V1 addbuild-docs.sh
(#5832)c4d3dee
Fix Literal bug with typing-extension==4.6.0 (#5826)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)