- Removed inheritance from FrozenStruct. Token instances are now plain objects.
- Fix hash value of ad-hoc created Token instances
- Fix pydantic type checking and string coercion of tokens
- Raise clear exception message if a token is used in a dataclass and passed to asdict.
- Fix bug where token instance was not a valid value for a pydantic dataclass or model (only string type was allowed).
- TokenContainer is now usable within a pydantic dataclass or model.
- Minor fix of missing reST escape.
- Include tri.struct 4.x as possible requirement
- Upped dependency tri.declarative to 5.x
- Fixed bug with comparison operators and other types
- Fixed pickle support
- Fixed equality check
- Bumped dependency tri.declarative to 4.0.0
- Dropped broken implementation of pickle of Token (Pickled values had broken ordering)
- Optimization for some common cases
- Support Python 3.8
- Changed package name from tri.token to tri_token
- Drop support for python < v3.0 for better type hint analysis in PyCharm
- Added requirement to set __override__=True parameter for token that shadow token from base class.
- Changed metaclass handling to make PyCharm understand it
- First released version on github
- Added documentation
- Cleanup of build machinery
- Added documentation generation sort customisation
- Added python 3 support
- Move dependency tri.cache.memoize from requirements.txt to test_requirements.txt. It is only used for regression testing.