Skip to content

6.1.5

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Oct 18:07
· 1 commit to master since this release
  • Fixed CBORSimpleValue hashing inconsistently with the integer it compares equal to (#334; PR by @sahvx655-wq)
  • Fixed canonical encoding with value sharing enabled emitting shared references to container keys that were never written to the stream, because the throwaway encoding used to sort the keys registered them as shared values; the output then failed to decode, or decoded with the wrong keys substituted in (#339; PR by @sahvx655-wq)
  • Fixed shared references (tag 29) to a map or an unhandled tag resolving to the raw dict or CBORTag instead of the value returned by object_hook or tag_hook, a regression from 5.x (#343; PR by @sahvx655-wq)
  • Fixed the encoder not giving a nested stringref namespace (tag 256) its own index space (#335; PR by @dylanpulver)
  • Fixed the decoder returning its internal break marker as a value when a break stop code appeared where a data item was expected (#305; PR by @sahvx655-wq)
  • Fixed a PanicException when trying to decode an epoch-form date (tag 100) with a payload near i32::MAX which then overflowed the addition instead of raising a clean decode error (#340; PR by @sahvx655-wq)
  • Fixed the decoder accepting a string-form datetime (tag 0) without a UTC offset and returning a naive ~datetime.datetime instead of rejecting it (#347; PR by @sahvx655-wq)
  • Fixed a reused CBOREncoder no longer flushing its output or resetting its shared container and string reference tracking after an encode() call had raised an exception (#348; PR by @sahvx655-wq)