Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 20 Feb 21:09
· 11 commits to main since this release

What's new

Added 🎉

  • Added support for decoding recursive types, i.e. classes that take arguments which are or contain instances of the same class.

Changed ⚠️

  • decode() failures now raise a DecodeError. This is a subclass of TypeError, which keeps things backwards compatible
    for the most part, except when unknown top-level fields are encountered, which used to raise an AttributeError.

Fixed ✅

  • Fixed decoding a union of different dataclass types, and unions of collections.
  • Improved decoding error messages.

Commits

818aee6 (chore) prepare for release v0.3.0
44129fa support recursive types and unions of containers, improve error messages (#4)