Mashumaro

Latest version: v3.14

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 11 of 12

1.8

Features
--------
* Support Python 3.8

1.7

Features
--------
* Ignore ClassVars and InitVars

1.6.2

Features
--------
* Fix type hints for DataClassJSONMixin, DataClassMessagePackMixin, DataClassYAMLMixin classes

1.6.1

Features
--------
* Fix installation on platforms with encoding other than utf8 (closes https://github.com/Fatal1ty/mashumaro/issues/5)

1.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

1.5

Features
--------
* Add support for `Decimal` class instances
* Add support for `Fraction` class instances

Page 11 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.