Download Latest Version Version 0.20.0 source code.tar.gz (1.3 MB)
Email in envelope

Get an email when there's a new version of msgspec

Home / 0.18.5
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2023-12-13 1.1 kB
Version 0.18.5 source code.tar.gz 2023-12-13 1.3 MB
Version 0.18.5 source code.zip 2023-12-13 1.3 MB
Totals: 3 Items   2.6 MB 0
  • Support unhashable Annotated metadata in msgspec.inspect.type_info (#566).
  • Fix bug preventing decoding dataclasses/attrs types with default values and slots=True, frozen=True (#569).
  • Support passing parametrized generic struct types to msgspec.structs.fields (#571).
  • Validate str constraints on dict keys when decoding msgpack (#577).
  • Support UUID subclasses as inputs to msgspec.convert (#592).
  • Call __eq__ from generated __ne__ if user defines manual __eq__ method on a Struct type (#593).
  • Include the Struct type in the generated hash (#595).
  • Add a cache_hash struct option (#596).
  • Fix a bug around caching of dataclass type info when dealing with subclasses of dataclasses (#599).
  • Add msgspec.structs.force_setattr (#600).
  • Support custom dict key types in JSON encoder and decoder (#602).
  • Include dict key constraints in generated JSON schema via the propertyNames field (#604).
  • Add a schema_hook for generating JSON schemas for custom types (#605).
  • Add support for Python 3.12's type aliases (#606).
Source: README.md, updated 2023-12-13