The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.18

  • BREAKING CHANGE: Encode UTF8-flagged hash keys as CBOR text.
  • BUG FIX: Properly decoded hash keys that contain code points 128-255 were previously mangled. This release fixes that.
  • BUG FIX: Decode CBOR text strings as UTF8-flaged Perl strings. This is an admittedly-imperfect attempt to preserve distinctly-typed text strings in Perl (a language that, by design, doesn’t distinguish text vs. binary). The POD has described this behavior for some time; it just was never implemented correctly until now.
  • Add (EXPERIMENTAL) “text_keys” encode mode, which causes all CBOR map keys to be text. This requires proper character decoding!
  • Add native_utf8() decode mode, which skips UTF-8 validation in decoding.
  • Build fix: Require a reasonably recent ExtUtils::MakeMaker.

Modules

Fast CBOR for everyone

Provides

in lib/CBOR/Free/AddOne.pm
in lib/CBOR/Free/X.pm
in lib/CBOR/Free/X/Base.pm
in lib/CBOR/Free/X/CannotDecode64Bit.pm
in lib/CBOR/Free/X/Incomplete.pm
in lib/CBOR/Free/X/InvalidControl.pm
in lib/CBOR/Free/X/InvalidMapKey.pm
in lib/CBOR/Free/X/InvalidUTF8.pm
in lib/CBOR/Free/X/NegativeIntTooLow.pm
in lib/CBOR/Free/X/Recursion.pm
in lib/CBOR/Free/X/Unrecognized.pm