What's Changed
Woaw ! This is a major refactor of the project. It piled up a bunch of features together from v0.0.1 to v0.0.7 and when I added the `Annotation` metaclass I realized how the project should've been properly written in the first place. There are few elements that have been dropped in favor of a overall more solid proposed code, for instance Immutable are not really the first aim of this package and since I didn't have put much mind into it, I didn't want to encourage it's usage.
However, I believe the new `MadType` metaclass should be the correct pythonic way of adding this feature in Python. The code feels way more maintainable now, and I'm really happy to put this release out so early :)
I'm not bumping into a `1.0.0` straight away, i'd like the software to live a little bit longer, it might get to `0.1.0` if a few weeks if the code looks stable.
Enjoy !
* Annotation support for dict by 6r17 in https://github.com/6r17/madtypes/pull/6
- :anger: `Annotation` is renamed `MadType`
- :nerd_face: `MadType` support for `dict`.
- :warning: drop `Immutable` since it's a poor proposal.
- :warning: drop `Schema` in favor of `(dict, metaclass=MadType)`.
- :hammer_and_wrench: refactor of tests which are now organized between integrity and json_schema
- :hammer_and_pick: `__init__` can be safely overwritten and type-check will still apply inside of it
**Full Changelog**: https://github.com/6r17/madtypes/compare/v0.0.7...v0.0.8