Skip to content

v1.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Oct 01:43
· 2 commits to main since this release
  • Added: serialise subclasses of float and bytes
  • Added: serialise subclasses of int and str
  • Added: include position and context in str(StructuredFieldError)
  • Changed: report Binary Sequence padding errors at the first rejected byte
  • Changed: report an over-long Decimal fraction at its first excess digit
  • Changed: report Invalid UTF-8 in a Display String at the bad sequence
  • Changed: report a Non-integer Date at the period, not after the number
  • Changed: report Binary Sequence alphabet and Boolean errors at the offending byte
  • Changed: check parse() input type up front
  • Fixed: offending_char is set whenever there is a byte at position
  • Fixed: reject non-str keys in ser_key with TypeError
  • Fixed: serialise Token values wrapping a str subclass from the underlying str
  • Fixed: keep InnerList params across copy(), + and *
  • Fixed: serialise str-subclass parameter keys from their value
  • Fixed: reject Integers longer than 15 characters as RFC 9651 section 4.2.4 requires
  • Fixed: itemise values passed to compat List and InnerList extend and +=
  • Fixed: make Date parsing independent of the platform's C library
  • Fixed: accept unpadded, partially padded and over-padded Byte Sequences
  • Fixed: serialise bare True dictionary members as the key alone
  • Fixed: escape input bytes in error messages