- fields with default values are properly passed to new()/init()
- added support for coercion of tuples for Struct-typed fields
- added support for
__getitem__
and__setitem__
- testing a Struct for equality with itself succeeds quickly
- changed type checking keyword argument names:
opt
->or_none
andnodups
->unique
- improved error messages for constructing Structs
- significant updates to readme and examples
- using
opt=True
onTypedField
no longer implies thatNone
is the default value - made mixin version of
checktype()
andchecktype_seq()
- added
check()
andnormalize()
hooks toTypedField
- accessing fields descriptors from classes is now permissible
- added support for default values in general, and optional values for type-checked fields
- fixed
__repr__()
on recursive Structs
- initial release