Skip to content

lstar 0.2.0

Choose a tag to compare

@pkharchenko pkharchenko released this 08 Jul 21:51
· 18 commits to main since this release

Zarr v3 is now the default on-disk format across all surfaces (C++/Python/R/JS). The legacy Zarr v2 layout stays available (format = "v2" / --zarr-format v2), and readers open both transparently — only newly written stores change layout.

Highlights

  • Zstd + sharded writes. Zstd (Zarr v3's standard codec) is supported alongside gzip. A shard_elems option packs many inner chunks into fewer store objects while keeping them byte-range-readable, so a many-chunk array can be hosted without a file-per-chunk explosion.
  • Compressed, range-readable viewer stores by default. extend_for_viewer() compresses the viewer store per field (zstd), and the reader resolves compressed arrays at chunk granularity — a hosted viewer fetches only the chunks it displays instead of whole arrays. Use compress = FALSE for the previous all-raw layout, or compress_primary = TRUE to trade gene-color latency for a smaller store.
  • CLI knobs. convert and viewer gained --zarr-format {auto,v2,v3}, --compression {none,gzip,zstd} (+ --compression-level), --chunk-elems, and --shard-elems; viewer now re-emits in place keeping the store's existing format.

See R/NEWS.md for the full changelog.

Install — Python: pip install lstar-sc==0.2.0 · R package lstar 0.2.0.