- Add support for Generic
Struct
types (#386, #393). - Add support for Generic
dataclasses
andattrs
types (#396). - Add support for Generic
typing.TypedDict
andtyping.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 literalNone
(#400). - Make all
Encoder
/Decoder
methods threadsafe (#402). - BREAKING: Drop the
write_buffer_size
kwarg toEncoder
(#402).