v2.8
- Added support for Python 3.10
- PEP 585 compliance
- Added support for
TypedDict
- Added support for typed
NamedTuple
and untypednamedtuple
- Fixed
Tuple
serialization and deserialization. Before 2.8 all values of tuples were deserialized as if they were values of the first type, no matter how many values the tuple was supposed to take. Now the following types are handled correctly:Tuple[int]
,Tuple[int, ...]
,Tuple[int, str]
,Tuple[()]
,Tuple
.