v2.5.2 2023-11-22
v2.5.2 (2023-11-22)
What's Changed
Packaging
- uprev
pydantic-core
to 2.14.5
New Features
- Add
ConfigDict.ser_json_inf_nan
by @davidhewitt in #8159
Fixes
- Fix validation of
Literal
from JSON keys when used asdict
key by @sydney-runkle in pydantic/pydantic-core#1075 - Fix bug re
custom_init
on members ofUnion
by @sydney-runkle in pydantic/pydantic-core#1076 - Fix
JsonValue
bool
serialization by @sydney-runkle in #8190 - Fix handling of unhashable inputs with
Literal
inUnion
s by @sydney-runkle in pydantic/pydantic-core#1089