v1.7.0
Added
- Add explicit
__all__
configuration - Add Python 3.10 and 3.11 support
- Support PEP 604 unions through
types.UnionType
Fixed
- Do not suppress
KeyError
in a type hook - Handle tuple as a
Sequence
- Handle a default value for a non-init field within a frozen dataclass
- Run type hooks / cast for
InitVar
fields - Fix optional unions