Repository navigation
·
9 commits
to main
since this release
Changed
- BREAKING:
TraceReader::openrefuses an archive whose local file headers disagree with its central directory, andTraceErroris now#[non_exhaustive]. Such an archive shows different contents to readers that trust different headers, and a trace is often a file someone else produced. The check iszip'svalidate_header_consistency(), sozip9.0.5 is now the minimum; traces written by the 1.64 driver and by the Python and Node clients pass it. A refused trace returns the newTraceError::InconsistentArchive. Code that matchesTraceErrorexhaustively needs a wildcard arm.