Changes for version 7.002

  • Add an opt-in paranoid preset for authenticated input, bounded decompression and container sizes, UTF-8 validation, restricted object blessing and THAW, and a recursion limit of 2048. Explicit constructor options can override each default.
  • Add allow_classes for ordinary and frozen objects and track_classes for per-class object counts. Permit genuine Regexp objects through refuse_objects unless an allowlist excludes them.
  • Add allow_unsigned as an explicit checksum-policy opt-out. Lower the normal recursion limit from 10000 to 8192, or 4096 on Cygwin. Clarify the trust assumptions and limits of paranoid mode.
  • Balance custom-op argument and result references on Perl builds with PERL_RC_STACK.
  • Fix native floating-point declaration tests on older FreeBSD and macOS Perls. Remove hobodecoder's od dependency and make child tests portable on Windows. Bound randomized test runtime and TAP memory use, and adapt deep-recursion tests to Cygwin's stack.

Documentation

Compare encoder traversal time and peak memory

Modules

Fast, compact, powerful binary deserialization
Getting the most out of the Perl-Sereal implementation

Provides

in lib/Sereal/Decoder/Constants.pm