v2.6.1
版本发布时间: 2024-02-05 21:48:26
pydantic/pydantic最新发布版本:v2.9.2(2024-09-17 22:59:21)
v2.6.1 (2024-02-05)
What's Changed
Packaging
- Upgrade to
pydantic-core
2.16.2 by @sydney-runkle in #8717
Fixes
- Fix bug with
mypy
plugin andno_strict_optional = True
by @dmontagu in #8666 - Fix
ByteSize
errortype
change by @sydney-runkle in #8681 - Fix inheriting
Field
annotations in dataclasses by @sydney-runkle in #8679 - Fix regression in core schema generation for indirect definition references by @dmontagu in #8702
- Fix unsupported types bug with
PlainValidator
by @sydney-runkle in #8710 - Reverting problematic fix from 2.6 release, fixing schema building bug by @sydney-runkle in #8718
- Fix warning for tuple of wrong size in
Union
by @davidhewitt in pydantic/pydantic-core#1174 - Fix
computed_field
JSON serializerexclude_none
behavior by @sydney-runkle in pydantic/pydantic-core#1187
Full Changelog: https://github.com/pydantic/pydantic/compare/v2.6.0...v2.6.1/