Releases: Fatal1ty/mashumaro
Releases · Fatal1ty/mashumaro
v3.22
v3.21
Changes
- Added support for recursive dataclasses in JSON Schema (#308)
- Fixed building JSON Schema for dataclasses with slots (#307)
- Fixed issue with deferred evaluation of annotations for serialization strategies and serializable types that include PEP 695 generic type parameters (#310)
- Fixed errors for PEP 695 type aliases with generic arguments or cyclic references (#311, #312)
- Code coverage report tool coveralls.io was replaced by codecov.io (#309)
- Fixed propagation of
lazy_compilationconfig value in generic dataclasses with inheritance (#319) - Added ability for serialization strategies to match subclasses (#298, #317)
- Dropped support for Python 3.9 (#314)
v3.20
v3.19
v3.18
v3.17
Changes
- Added support for Python 3.14 (#285)
- Improved generating JSON Schema references and titles for generic dataclasses (#291)
- Fixed JSON Schema for a generic dataclass with a field type
T(#290) - Fixed ignoring
NotRequiredwhen usingfrom __future__ import annotations(#292) - Added support for user extra args in
field_optionsfunction (#286) - Improved packaging by switching from setup.py to pyproject.toml (#284)
v3.16
v3.15
Changes
- Improved
Unionand basic types deserialization (#256), highlighted changes:- Expected
int | floatorfloat | intvalue can now be passed through without coercion and losing precision - Expected
strvalue will be guaranteed to be a string version of the input value (#42) - Expected
boolvalue will be guaranteed to be a boolean using standard truth testing procedure for the input value - Expected
NoneTypewill be guaranteed to beNoneregardless of the input value
- Expected
- Introduced JSON Schema plugin system (#265), see updated documentation
- Added built-in
DocstringDescriptionPluginto use a docstring as a description (#222)
- Added built-in
- Added support for recursive
Uniontypes (#206) - Configured MANIFEST.in to include tests folder in the sdist (#262)
- Dropped support for Python 3.8 (#258)