Revision history for Data-Histogram-Shared
0.04 2026-08-12
- Recover a file left behind by an interrupted create instead of
leaving the path unopenable.
- Frozen read-only mode: freeze() seals a file-backed structure;
new_readonly() maps it O_RDONLY and queries it lock-free.
- Documentation and test-harness corrections.
- unlink() reports a removal that failed; one already gone is not an
error.
0.03 2026-07-22
- Fix use-after-free in merge() and record_many(): a tied argument,
a tied array, or overloaded elements run Perl that can destroy
the histogram, after which the already-captured handle was still
used. Such a call now croaks.
- On-disk format change (v1 -> v2): an existing 0.02 file is
refused; recreate it.
- Fetch get-magic on optional arguments before testing them.
0.02 2026-07-03
- Security and robustness hardening; backing files now created mode
0600 (pass a file-mode argument to new() for cross-user sharing).
- record() now croaks on a value above highest_trackable_value
(previously such a value was silently bucketed to the top).
0.01 2026-06-25
- Initial release.