Skip to content

Releases: Fatal1ty/mashumaro

v1.9

04 Nov 21:06
Compare
Choose a tag to compare

Features

  • Add support for timezone class instances

v1.8

27 Oct 13:42
Compare
Choose a tag to compare

Features

  • Support Python 3.8

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