Skip to content

v0.2.4

Choose a tag to compare

@Mnwa Mnwa released this 13 Nov 20:41
· 55 commits to main since this release
e7fddd7

Fixes

  • GraphBuilder::clustering and clustering_with_codecs no longer panic in
    debug builds, or wrap in release builds, on a ClusteringConfig decoded
    from CBOR whose successor or codec index is usize::MAX. The index is now
    rejected like any other out-of-range codec index. Found by ClusterFuzzLite
    (graph_configs).
  • ClusterFuzzLite now builds the C oracle without the image's
    -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION. With that define, the
    vendored OpenZL skips checksums and caps LZ match lengths at 1024, which
    produced false decompress, decompress_typed and node_roundtrip
    findings. openzl-ffi's build script now refuses to compile with the
    define.

Documentation

  • Reorganize the documentation website and the README for readers, matching
    the mbrotli and mzstd books. The sidebar has six parts in reading order
    (Start here, Graphs and codecs, Guides, Performance and correctness, How it
    works, Contributing) and folds nested chapters: the per-graph benchmark
    pages and the architecture specifications open under their parent.
    architecture/README.md groups its specifications into sections with
    reading paths and shorter scopes, and each section gets a generated landing
    page. The catch-all user guide is split into docs/configuration.md,
    docs/memory.md, docs/decompression.md and docs/streaming.md;
    docs/README.md becomes the API chooser, and output compatibility moves
    into docs/correctness.md. The landing page leads with a round trip, a
    typed-input example and a graph chooser. The theme has its own light and
    dark palette and a dialog that shows a Mermaid diagram at its natural size.
    The README drops from 528 to 387 lines: quick start first, then typed data
    and custom graphs, one API table, and links into the site. Its memory-reuse
    and Read/Write examples move to the memory and streaming guides; its
    dictionary example is dropped in favour of the dictionary guide.
    tests/docs_examples.rs is regenerated for the new pages (31 examples
    before, 30 after). The book build now also checks every README link into the
    published site. Documentation only; the crate is unchanged.