Skip to content

v1.0.0

Choose a tag to compare

@mwlon mwlon released this 18 Jan 17:51
· 60 commits to main since this release
  • Started writing new wrapped format version (4.1) and standalone format version 3 by default.
    • Read support for wrapped format 4 was added in v0.4.9.
    • Added minor format version as well, allowing readers to know if new format additions have been made without format modifications.
  • API breaking changes
    • Made simple_compress_into accept any Write impl.
    • Removed NumberTypeOrTerminationByte in favor of Option
    • Removed Copy from Mode and DeltaEncoding, as well as Copy and equality traits from config Specs.
    • Sealed Latent and Number traits and methods.
    • Sealed LatentDescriber trait.
    • Removed SplitLatents from API.
    • wrapped::PageDecompressors now have keep a mutable reference and lifetime to the ChunkDecompressor that created them.
    • The new associated function for metadata enums now returns non-optional values.
    • Lumped in Compatibility errors with Corruption.
    • Renamed DeltaEncoding::None to NoOp and MaybeChunkCompressor::Some to Chunk.
    • Made ChunkMeta and ChunkLatentVarMeta non-exhaustive.
    • Renamed PageDecompressor.decompress into .read,
    • Renamed wrapped::ChunkCompressor.write_chunk_meta and .chunk_meta_size_hint to write_meta and meta_size_hint; renamed standalone::ChunkCompressor.write_chunk to .write.
  • API additions
    • Added Dict mode, Conv1 delta encoding, and the corresponding TryDict and TryConv1 spec options.
    • Added support for 8-bit integers.
    • Removed simpler_compress function in favor of simple_compress.
  • Improvements
    • Made ChunkCompressor::write_page take a mutable reference, benefiting multi-page performance
    • Greatly reduced overhead when reading multiple pages from a single chunk.
  • Other
    • Due to internal refactors needed for Dict mode, decompression performance may be slightly improved for ARM and slightly degraded for some x86_64 CPUs.