v1.2.0
- Allow all types, including special forms such as unions, to have their field type overridden through the
serializer_field_mapping
dictionary. - Also treat unions containing
None
as optional if they consist of three or more members. Previously this was only the case for unions with two members (i.e. only unions of a type withNone
were optional). - Many added and fixed type hints.