v0.3.0
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 aDecodeError. This is a subclass ofTypeError, which keeps things backwards compatible
for the most part, except when unknown top-level fields are encountered, which used to raise anAttributeError.
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)