Releases: Fatal1ty/mashumaro
Releases · Fatal1ty/mashumaro
v1.7
Features
- Ignore ClassVars and InitVars
v1.6.2
Features
- Fix type hints for DataClassJSONMixin, DataClassMessagePackMixin, DataClassYAMLMixin classes
v1.6.1
Features
- Fix installation on platforms with encoding other than utf8 (closes #5)
v1.6
Features
- Add support for user defined classes using
SerializableType
and SerializationStrategy
interfaces located in the new mashumaro.types
module
- Add new
RoundedDecimal
class for the decimals with specified precision
Other changes
- Change base class of
MissingField
from Exception
to LookupError
- Change base class of
UnserializableDataError
from Exception
to TypeError
- Raise
UnserializableDataError
exception for weird types of fields
- Speed
to_dict
and from_dict
methods up to 40% in some cases
v1.5
Features
- Add support for
Decimal
class instances
- Add support for
Fraction
class instances
v1.4
Other changes
- Security fix for pyyaml (see #3)
v1.3
Features
- Add ability to use external json encoder/decoder
v1.2
Features
- Add support for empty dataclasses
Other changes
- Add type annotations for
from_dict
method
- Several additions and fixes for README
v1.1
Other changes
- Remove default_packer in msgpack serialization
- Fix
to_yaml
method
- Add new tests
- Remove unused code
v1.0
First stable version
Other changes
- Add more tests
- Refactor some things