Changes for version 7.002

  • Add an opt-in paranoid preset that requires a checksum key, uses IEEE double output, refuses objects by default, rejects unknown options, and limits recursion to 2048. Explicit constructor options can override each default.
  • Add allow_classes, refuse_objects and track_classes for object policy and per-class counts. Permit genuine Regexp objects through refuse_objects; croak_on_bless still rejects them.
  • Add allow_unsigned as an explicit checksum-policy opt-out. Lower the normal recursion limit from 10000 to 8192, or 4096 on Cygwin. Document the preset's precision and callback implications.
  • Traverse XPerl hash storage through its entry API.
  • Balance custom-op result references on Perl builds with PERL_RC_STACK.
  • Fix native floating-point declaration tests on older FreeBSD and macOS Perls. Make the magical-array child test portable on Windows.

Documentation

Compare encoder traversal time and peak memory

Modules

Fast, compact, powerful binary serialization

Provides

in lib/Sereal/Encoder/Constants.pm