v2.22.0 2024-08-15
What's Changed
- Expose
AnySerializer
via core schema by @BoxyUwU in #1394 - Don't embed
RUSTFLAGS
in final binary by @BoxyUwU in #1396 - Validate
base64
standard encoding by @josh-newman in #1395 - Show value of wrongly typed in serialization warning by @BoxyUwU in #1377
- Try each option in union serializer before inference by @sydney-runkle in #1398
- Stop clone-ing serializers by @davidhewitt in #1402
- Fix float serialization behavior in
strict
mode by @sydney-runkle in #1400 - For missing fields, we don't warn on
exclude_
, so don't warn onexclude
by @sydney-runkle in #1403 - Use
typing_extensions.TypedDict
on Python < 3.12 by @candleindark in #1404 - Support
complex
numbers by @changhc in #1331 - Adding tagged union serializer 🚀 by @sydney-runkle in #1397
- Introduce
exactness
intoDecimal
validation logic by @sydney-runkle in #1405
New Contributors
- @candleindark made their first contribution in #1404
- @changhc made their first contribution in #1331
Full Changelog: v2.21.0...v2.22.0