Skip to content

Version 0.15.0

Choose a tag to compare

@jcrist jcrist released this 10 May 17:18
· 188 commits to main since this release
  • Add support for Generic Struct types (#386, #393).
  • Add support for Generic dataclasses and attrs types (#396).
  • Add support for Generic typing.TypedDict and typing.NamedTuple types (#398).
  • BREAKING: No longer normalize timezones to UTC when decoding datetime objects from JSON (#391).
  • Support decoding unhyphenated UUIDs (#392).
  • A few type annotation fixups (#383, #387).
  • Dedent docstrings for descriptions when generating JSON schemas (#397).
  • Use a variant of __qualname__ when auto-generating Struct tags rather than __name__ (#399).
  • Fix bug when handling typing.Literal types containing a literal None (#400).
  • Make all Encoder/Decoder methods threadsafe (#402).
  • BREAKING: Drop the write_buffer_size kwarg to Encoder (#402).