Sourced from pydantic's releases.
V1.10.13 2023-09-27
What's Changed
- Update pip commands to install 1.10 by
@chbndrhnns
in pydantic/pydantic#6930- Make the v1 mypy plugin work with both v1 and v2 by
@dmontagu
in pydantic/pydantic#6920- [Backport] Add max length check to
validate_email
by@hramezani
in pydantic/pydantic#7673Full Changelog: https://github.com/pydantic/pydantic/compare/v1.10.12...v1.10.13
V1.10.12
What's Changed
- Deque's maxlen property dropped on V1 validation by
@maciekglowka
in pydantic/pydantic#6586- Prepare release 1.10.12 by
@hramezani
in pydantic/pydantic#6825New Contributors
@maciekglowka
made their first contribution in pydantic/pydantic#6586Full Changelog: https://github.com/pydantic/pydantic/compare/v1.10.11...v1.10.12
V1.10.11
What's Changed
- Fix import of create_model in tools.py by
@SharathHuddar
in pydantic/pydantic#6364- Prepare for 1.10.11 by
@hramezani
in pydantic/pydantic#6420New Contributors
@SharathHuddar
made their first contribution in pydantic/pydantic#6364Full Changelog: https://github.com/pydantic/pydantic/compare/v1.10.10...v1.10.11
V1.10.10
What's Changed
- Fix racy doctests by
@K900
in pydantic/pydantic#6103- ✅ Update FastAPI test script by
@Kludex
in pydantic/pydantic#6117- add roadmap to annoucement by
@samuelcolvin
in pydantic/pydantic#6120- Fixed literal validator errors for unhashable values by
@markus1978
in pydantic/pydantic#6194- Bug fix for forward refs in generics by
@mark-todd
in pydantic/pydantic#6157- Add Pydantic
Json
field support to settings management by@hramezani
in pydantic/pydantic#6250New Contributors
@K900
made their first contribution in pydantic/pydantic#6103@markus1978
made their first contribution in pydantic/pydantic#6194Full Changelog: https://github.com/pydantic/pydantic/compare/v1.10.9...v1.10.10
V1.10.9
What's Changed
- Add Pydantic classifier by
@hramezani
in pydantic/pydantic#5847- 📌 Use Cython < v3 by
@lig
in pydantic/pydantic#5845- [cherry-pick] Fix mypy plugin for 1.4.0 (#5927) by
@cdce8p
in pydantic/pydantic#5928- Add future and past date hypothesis strategies by
@bschoenmaeckers
in pydantic/pydantic#5850
... (truncated)
Sourced from pydantic's changelog.
v1.10.13 (2023-09-27)
- Fix: Add max length check to
pydantic.validate_email
, #7673 by@hramezani
- Docs: Fix pip commands to install v1, #6930 by
@chbndrhnns
v1.10.12 (2023-07-24)
- Fixes the
maxlen
property being dropped ondeque
validation. Happened only if the deque item has been typed. Changes the_validate_sequence_like
func, #6581 by@maciekglowka
v1.10.11 (2023-07-04)
- Importing create_model in tools.py through relative path instead of absolute path - so that it doesn't import V2 code when copied over to V2 branch, #6361 by
@SharathHuddar
v1.10.10 (2023-06-30)
- Add Pydantic
Json
field support to settings management, #6250 by@hramezani
- Fixed literal validator errors for unhashable values, #6188 by
@markus1978
- Fixed bug with generics receiving forward refs, #6130 by
@mark-todd
- Update install method of FastAPI for internal tests in CI, #6117 by
@Kludex
v1.10.9 (2023-06-07)
- Fix trailing zeros not ignored in Decimal validation, #5968 by
@hramezani
- Fix mypy plugin for v1.4.0, #5928 by
@cdce8p
- Add future and past date hypothesis strategies, #5850 by
@bschoenmaeckers
- Discourage usage of Cython 3 with Pydantic 1.x, #5845 by
@lig
v1.10.8 (2023-05-23)
- Fix a bug in
Literal
usage withtyping-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
- update
AnyClassMethod
for changes in python/typeshed#9771, #5505 by@ITProKyle
v1.10.7 (2023-03-22)
- Fix creating schema from model using
ConstrainedStr
withregex
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 version1.1.1
and the custom mypy plugin, #5162 by@cdce8p
8822578
Prepare release 1.10.13 (#7674)59d8f38
[Backport] Add max length check to validate_email
(#7673)69b92b5
Make the v1 mypy plugin work with both v1 and v2 (#6920)87bf417
Update pip commands to install 1.10 (#6930)d9c2af3
Prepare release 1.10.12 (#6825)2aaddf6
Deque's maxlen property dropped on V1 validation (#6586)15c82d9
Prepare for 1.10.11 (#6420)8750c37
no longer tag docs release as latest2c0e2a6
Fix import of create_model in tools.py (#6364)0e8a387
Prepare for 1.10.10 (#6308)