This library implements a deserializer for an efficient, compact-output,
and feature-rich binary protocol called Sereal.
Provides
Requires
License
GPL-1.0-or-later OR Artistic-1.0-Perl
Changelog
* Tue Nov 24 2026 Paul Howarth <paul@city-fan.org> - 7.004-1
- Update to 7.004 (rhbz#2583632)
- Update bundled zstd to 1.6.0, including upstream security fixes
- Update bundled miniz to 3.1.2, including guards against inflate infinite
loops on invalid Huffman codes
- Add invalid-Huffman regression tests that check packet rejection and
decoder reuse; accept decompression errors from older external miniz
libraries without requiring a particular error code
- Correct the documented default key order for validate_sereal_checksum() and
the interaction between no_bless_objects and no_thaw_objects
- Clarify checksum helper arguments, defaults and return values
- Document the helpers as exportable functions after the methods
- Explain when changes to defaults affect functions and objects
* Sun Nov 15 2026 Paul Howarth <paul@city-fan.org> - 7.003-1
- Update to 7.003 (rhbz#2573648)
- Correct a false native long-double declaration test failure on older x86
macOS Perls
* Wed Nov 11 2026 Paul Howarth <paul@city-fan.org> - 7.002-1
- Update to 7.002 (rhbz#2571890)
- 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
* Thu Nov 05 2026 Paul Howarth <paul@city-fan.org> - 7.001-1
- Update to 7.001 (rhbz#2564204)
- Read protocol versions 1 through 7; decode portable little-endian v7
floats, including IEEE binary128 on Perl builds without quadmath,
converting values to the local NV type
- Validate v7 native long-double declarations and reject known format,
byte-order and size mismatches; add allow_unknown_long_double for
explicitly trusted same-build reads of unidentified layouts; storage sizes
must still match
- Preserve native floating-point behavior for protocol v1-v6 input; add
legacy_float_byteorder for older data with a known source byte order
- Include protocol v6 v-string and negative-integer support, keyed SipHash
verification, checksum keys, modes, policies and defaults; add
prepare_checksum_key(), get_sereal_checksum() and validate_sereal_checksum()
- Restore regexp character-set modifiers, /n and /xx, and report the required
Perl version for unsupported modifiers
- Harden malformed-input and object handling; retain Decoder handles across
callbacks, and run output DESTROY callbacks before capturing input on Perl
5.24
- Restore older-Perl builds, avoid read-only regexp buffer corruption on Perl
5.14, and correct 32-bit size handling and allocation diagnostics
- Fix bundled Snappy builds on Haiku and hobodecoder compatibility with
BusyBox od; improve optional-dependency diagnostics
- Extend independent wire-format and stored corpus coverage, including real
Fedora s390x producer captures; add a floating-point corpus collector and
named declarations in diagnostics and hobodecoder (GH#337)
- Ship the shared SECURITY policy and clarify security, checksum and
floating-point interoperability documentation
* Sun Nov 01 2026 Paul Howarth <paul@city-fan.org> - 6.003-1
- Update to 6.003 (rhbz#2564204)
- Fix bundled Snappy builds on Haiku, which has no byteswap.h
- Use portable od arguments in hobodecoder for BusyBox systems and report
signal termination correctly in checksum tests
* Sat Oct 31 2026 Paul Howarth <paul@city-fan.org> - 6.002-1
- Update to 6.002 (rhbz#2564204)
- Read protocol v6 VSTRING extension tags, NEG_VARINT, and keyed SipHash
checksums while retaining support for older packets
- Add checksum_key, checksum_key_v1/v2/v3, checksum_mode, and checksum_policy
options, shared and Decoder-specific defaults, prepare_checksum_key(),
get_sereal_checksum(), and validate_sereal_checksum()
- Restore regexp matching modifiers, including /n and /xx, and report the
required Perl version for unsupported modifiers
- Ship a SECURITY policy in release archives and improve the protocol
specification, build and mixed-version compatibility tests, and general
robustness
- Reported fixes: regexp modifiers
(https://github.com/Sereal/Sereal/issues/180 and
https://github.com/Sereal/Sereal/issues/262)
- Related work: specification (https://github.com/Sereal/Sereal/issues/218)
and packaged security policy (https://github.com/Sereal/Sereal/issues/305)
- Keep the Decoder alive when a callback clears its handle variable,
preventing use-after-free during decoding and clean-up
- Restore builds on older supported Perls without SSize_t_MAX
- Run output DESTROY callbacks before capturing the input buffer on
Perl 5.24, matching other supported Perls
- Avoid corrupting regexp buffers during read-only clean-up on Perl 5.14
- Inspect undef aliases without creating writable slots on older Perls
- Account for Perl 5.14/5.16's regexp-copy lifetime limitation in tests
- Fix huge-size test expectations for 32-bit Perls with 64-bit integers and
format allocation diagnostics with the correct argument types
- Skip only hobodecoder decompression checks when its optional Compress::Zlib
dependency is unavailable, and show child errors
- Report the actual missing dependency when skipping t/400_evil.t
* Wed Oct 21 2026 Paul Howarth <paul@city-fan.org> - 5.011-1
- Update to 5.011 (rhbz#2558321)
- Robustness fixes
- Preserve zstd deprecation warnings when building with IBM XL C on AIX
- Raise the minimum supported Perl version to 5.14
* Wed Aug 05 2026 Paul Howarth <paul@city-fan.org> - 5.010-1
- Update to 5.010 (rhbz#2511545)
- Reset the pending frozen-object state (thaw