Skip to content

Version 0.8.0

Choose a tag to compare

@jcrist jcrist released this 02 Aug 03:42
· 442 commits to main since this release
  • Support integer tag values when using tagged unions (#135).
  • Support decoding into typing.TypedDict types (#142).
  • Support encoding/decoding typing.NamedTuple types (#161).
  • Test against CPython 3.11 prelease builds (#146).
  • Add ValidationError (a subclass of DecodeError) to allow differentiating between errors due to a message not matching the schema from those due to the message being invalid JSON (#155).
  • Support encoding subclasses of list/dict (#160).
  • Fix a bug preventing decoding custom types wrapped in a typing.Optional (#162).