v2.21.0 2024-08-05
What's Changed
Packaging
- Bump
idna
from 0.5.0 to 1.0.1 by @dependabot in #1358 - Bump
pyo3
from 0.22.0 to 0.22.2 by @dependabot in #1383 - Bump
serde_json
from 1.0.118 to 1.0.121 by @dependabot in #1384 - Bump
serde
from 1.0.203 to 1.0.204 by @dependabot in #1385 - Bump
base64
from 0.21.7 to 0.22.1 by @dependabot in #1386
Fixes
- Fixes discriminated union bug regression when using enums by @kfreezen in #1286
- string: Use 're.Pattern.search' instead of 're.Pattern.match' by @tinez in #1368
- Fix model
field_serializer
with computed field by @nix010 in #1349 - Clean up some string handling cases by @davidhewitt in #1381
Features
- Validate bytes based on
ser_json_bytes
by @josh-newman in #1308 - Support
allow_partial='trailing-strings'
by @sydney-runkle in #1390
Performance
New Contributors
- @kfreezen made their first contribution in #1286
- @tinez made their first contribution in #1368
- @fft001 made their first contribution in #1362
- @nix010 made their first contribution in #1349
- @BoxyUwU made their first contribution in #1379
Full Changelog: v2.20.1...v2.21.0