v2.6.1 2024-02-05
What's Changed
Packaging
- Upgrade to
pydantic-core2.16.2 by @sydney-runkle in #8717
Fixes
- Fix bug with
mypyplugin andno_strict_optional = Trueby @dmontagu in #8666 - Fix
ByteSizeerrortypechange by @sydney-runkle in #8681 - Fix inheriting
Fieldannotations 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
PlainValidatorby @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
Unionby @davidhewitt in pydantic/pydantic-core#1174 - Fix
computed_fieldJSON serializerexclude_nonebehavior by @sydney-runkle in pydantic/pydantic-core#1187
Full Changelog: v2.6.0...v2.6.1/