Breaking changes
The default -c setting now uses 256:1024:4096 KiB bounds for its 1 MiB average, instead of 128:1024:8192 KiB. This changes default chunk boundaries and compressed bytes. The seekable Zstandard archive format is unchanged.
If identical chunk boundaries do not matter, no command change is needed. To preserve the v0.10.1 behavior:
# v0.10.1: the old bounds were implicit
zstdseek -f input.dat -o input.dat.zst
# v0.10.2: specify the old bounds explicitly
zstdseek -c 128:1024:8192 -f input.dat -o input.dat.zstAll existing flag names remain supported, including numeric -q levels.
Highlights
- Accepts one positional input as an alternative to
-fand rejects ambiguous combinations. - Validates input, chunk, and worker options before opening output files, preventing invalid invocations from truncating output.
- Simplifies
-tverification and reports seek-table finalization, encoder, and file close failures. - Delegates automatic compression worker selection to the library while retaining
-threadsoverrides.
Compatibility
Existing archives remain readable. Both average and min:avg:max forms of -c remain supported.
Install
go install github.com/SaveTheRbtz/zstd-seekable-format-go/cmd/zstdseek@v0.10.2Full changelog: cmd/zstdseek/v0.10.1...cmd/zstdseek/v0.10.2