Skip to content

v1.9.3

Latest

Choose a tag to compare

@konradhalas konradhalas released this 24 Nov 08:43
04e1b80

Fixed

  • Fix converting a list of values to a tuple with mixed member types (#227)
  • Support PEP 604 unions (X | Y) in generic data classes (#282)
  • Fix the order of Union members being lost: Union[int, float] and Union[float, int] share a cache entry, so
    type_hooks and cast could be tried in the wrong order (#300)
  • Fix cast and type_hooks being skipped for Union[None, X] (a two-member Optional with None first) (#311)
  • Fix strict=True rejecting every key when convert_key is set (#295)
  • Fix from_dict overwriting the value of an init=False field with its default after __post_init__ set it (#301)