Skip to content

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 01:11
· 2 commits to main since this release
Immutable release. Only release title and notes can be modified.
801f714

Fixed

  • The Zstandard decoder now checks the Content_Checksum (the low 32 bits of XXH64 of the frame's content) when the frame sets the checksum flag. A corrupted frame returned different bytes instead of InvalidData.
  • packkit.decompress and gzip.decode return the new codec.EmptyInput error for empty input with every codec except Identity, instead of InvalidData with a different truncation message per format such as "gzip header truncated". Code that matches every CodecError variant needs an arm for EmptyInput.

Install

gleam add packkit

See HexDocs for the API
reference and
CHANGELOG.md
for the implementation history.