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

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

Home / 0.19.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2024-12-27 1.2 kB
Version 0.19.0 source code.tar.gz 2024-12-27 1.3 MB
Version 0.19.0 source code.zip 2024-12-27 1.4 MB
Totals: 3 Items   2.7 MB 0
  • Improve JSON encoding performance by up to 40% (#647).
  • Ensure tuple and frozenset default values are treated identically whether specified by value or default_factory (#653).
  • Fix memory leak of match_args in StructConfig object (#684).
  • Fix memory leak in Raw.copy() (#709).
  • Update decode signatures for PEP 688 (#740).
  • Generate __replace__ method on Struct types, for use with copy.replace (#747).
  • Fix incorrect decoding of certain > 64 bit integers (#751).
  • Call __post_init__ when converting from an object to a Struct (#752).
  • BREAKING: Expand buffer when encode_into is passed a buffer smaller than offset (#753).
  • Support Raw objects as inputs to convert (#754).
  • Error nicely when a dataclass type (instead of an instance) is passed to encode (#755).
  • Drop support for Python 3.8 (#756, [#763]).
  • Add support for Python 3.13 (#711).
  • Remove deprecated from_builtins (#761).
  • Support encoding any Enum type whose .value is a supported type (#757).
  • Don't fail eagerly when processing generic types with unsupported __parameters__ (#772).
  • Use eval_type_backport to backport type annotations to Python 3.9 (#773).
Source: README.md, updated 2024-12-27