v2.22.0 2024-08-15
What's Changed
- Expose
AnySerializervia core schema by @BoxyUwU in #1394 - Don't embed
RUSTFLAGSin final binary by @BoxyUwU in #1396 - Validate
base64standard 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
strictmode by @sydney-runkle in #1400 - For missing fields, we don't warn on
exclude_, so don't warn onexcludeby @sydney-runkle in #1403 - Use
typing_extensions.TypedDicton Python < 3.12 by @candleindark in #1404 - Support
complexnumbers by @changhc in #1331 - Adding tagged union serializer 🚀 by @sydney-runkle in #1397
- Introduce
exactnessintoDecimalvalidation 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