In this release we significantly increased the performance of pydantic
workflows by introducing PydanticFastSerializer.
No breaking changes in this release.
Features
- Added
PydanticFastSerializerto serialize and deserializejson
objects directly, #830 - Added support for complex
pydanticfields inside
TypedDict,@dataclass, etc models, when usingPydanticSerializer
andmsgspecparsers / renderers, #842 - Introduced official
to_json_kwargsandto_model_kwargsclass-level API
formsgspecandpydanticserializers, #842 - Added "Problem Details" or RFC-9457 support, #78
- Added customizable
json_moduleparameter toJsonParserandJsonRenderer
to support alternative JSON backends likeorjson, #857
Fixes
- Fixed package metadata, #824
- Fixed missing
style,phone,colorformats fromOpenAPIFormat, #842 - Fixes Django 5.2.13+ compat in
DMRAsyncRequestFactory, #853
New Contributors
- @kodsurfer made their first contribution in #832
- @subnix made their first contribution in #834
- @Nikolay-Chillev made their first contribution in #848
- @muratclk made their first contribution in #859
Full Changelog: 0.5.0...0.6.0