Skip to content

Releases: Fatal1ty/mashumaro

v1.7

22 Jun 14:45
Compare
Choose a tag to compare

Features

  • Ignore ClassVars and InitVars

v1.6.2

16 Mar 17:16
Compare
Choose a tag to compare

Features

  • Fix type hints for DataClassJSONMixin, DataClassMessagePackMixin, DataClassYAMLMixin classes

v1.6.1

28 Feb 15:57
Compare
Choose a tag to compare

Features

  • Fix installation on platforms with encoding other than utf8 (closes #5)

v1.6

24 Feb 15:27
Compare
Choose a tag to compare

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

24 Feb 15:46
Compare
Choose a tag to compare

Features

  • Add support for Decimal class instances
  • Add support for Fraction class instances

v1.4

24 Feb 15:48
Compare
Choose a tag to compare

Other changes

  • Security fix for pyyaml (see #3)

v1.3

24 Feb 15:50
Compare
Choose a tag to compare

Features

  • Add ability to use external json encoder/decoder

v1.2

24 Feb 15:53
Compare
Choose a tag to compare

Features

  • Add support for empty dataclasses

Other changes

  • Add type annotations for from_dict method
  • Several additions and fixes for README

v1.1

24 Feb 15:56
Compare
Choose a tag to compare

Other changes

  • Remove default_packer in msgpack serialization
  • Fix to_yaml method
  • Add new tests
  • Remove unused code

v1.0

24 Feb 16:04
Compare
Choose a tag to compare

First stable version

Other changes

  • Add more tests
  • Refactor some things