zxc breaking changes
Updated December 4, 2026
On this page
Latest version 1.0.3, released December 2, 2026. Source repository
Its 1.0.0 release requires Node.js 20.17.0 or later. Node.js end of life dates.
- From 0.15.0 to 1.0.0: 72 breaking changes in 1 version.
- From 0.8.0 to 1.0.0: 114 breaking changes in 9 versions.
zxc 1.0.0 breaking changes
- Removed
The Go module moves to github.com/hellobertrand/zxc/bindings/go, so users must update their imports. github.com - Removed
LICENSE
The rapidhash MIT notice moved from LICENSE to THIRD_PARTY_NOTICES; LICENSE is now BSD-3-Clause alone. github.com - Removed
without_checksum
Rust without_checksum() is deprecated; use with_checksum() to request checksums. github.com - Removed
zxc_compress_bound
Option structs are replaced by context parameters, so code using them must move to the parameter API. github.com - Removed
zxc_compress_opts_size
Removes zxc_compress_opts_size in zxc 1.0.0 github.com - Removed
zxc_decompress_opts_size
Removes zxc_decompress_opts_size in zxc 1.0.0 github.com - Renamed
GHI
The GHI block type is renamed to PAK in code, docs and test vectors; on-disk bytes are unchanged. github.com - Renamed
GLO
The GLO block type is renamed to SPL in code, docs and test vectors; on-disk bytes are unchanged. github.com - Renamed
wrappers.go
Update imports to github.com/hellobertrand/zxc/bindings/go. github.com - Renamed
zxc_dict_get_id
zxc_dict_get_id is renamed to zxc_dict_read_id. github.com - Renamed
zxc_dict_id
zxc_dict_id is renamed to zxc_dict_compute_id. github.com - Renamed
ZXC_FILE_FOOTER_SIZE
Replaces ZXC_FILE_FOOTER_SIZE with min and max sizes in zxc 1.0.0 github.com - Renamed
zxc_train_dict
zxc_train_dict is renamed to zxc_dict_train_content. github.com - Renamed
zxc_train_dict_huf
zxc_train_dict_huf is renamed to zxc_dict_train_huf. github.com - Behavior changed
A bad checksum is now an error when decoding; opt out with checksum settings in each binding. github.com - Behavior changed
File, block and dictionary headers with non-zero reserved bits or bytes are now rejected as corrupt. github.com - Behavior changed
Check the return value of each setter, since a bad value is now an error and leaves the setting unchanged. github.com - Behavior changed
Go and Rust file functions now refuse an output that is the same as the input. github.com - Behavior changed
Without -m, zxc -z with more than two operands now fails instead of silently overwriting the last file. github.com - Behavior changed
The shared library file is now named with the soname number, such as libzxc.so.6.0.0, instead of the release number. github.com - Behavior changed
Read error on input now fails instead of exiting 0 in zxc 1.0.0 github.com - Behavior changed
Files with non-zero reserved bits, block or dictionary header bytes now fail to decode. github.com - Behavior changed
The package now needs Node.js ^20.17.0 or >=22.9.0. github.com - Behavior changed
zxc no longer removes input files after compressing or decompressing; scripts relying on removal must add --rm. github.com - Behavior changed
Programs linked against libzxc.so.5 must be rebuilt against the new soname, and C callers must update their source. github.com - Behavior changed
Go returns ErrBadLevel, Python raises RuntimeError, and Node.js and WASM throw. github.com - Behavior changed
The Node.js package now needs Node.js ^20.17.0 or >=22.9.0. github.com - Behavior changed
--rm
When given a symbolic link, --rm removes the link itself rather than the file it points to. github.com - Behavior changed
-f
-f now replaces the output only after the new one is complete, instead of destroying it on failure. github.com - Behavior changed
-m
CLI rejects more than two file operands without -m in zxc 1.0.0 github.com - Behavior changed
-r
-r now skips .zxc files when compressing and selects only them when decompressing or testing; links are ignored. github.com - Behavior changed
-t
-c and -t now treat every operand as an input, so a missing file makes -t fail. github.com - Behavior changed
-T
-T N now means N encode or decode workers, with reader and writer threads on top of that. github.com - Behavior changed
-V
The -V output now names the release and build in a new format. github.com - Behavior changed
zxc_cctx_set_dict
Dictionaries are copied on attach, so the caller's buffer may be freed on return. github.com - Behavior changed
zxc_cctx_set_param
Settings stay until set again, so set each one once rather than passing a fresh struct per call. github.com - Behavior changed
zxc_compress
An out-of-range level now returns ZXC_ERROR_BAD_LEVEL rather than being clamped to a valid level. github.com - Behavior changed
zxc_decompress
zxc_decompress() no longer verifies checksums. To keep the check, decode through a zxc_dctx with ZXC_D_CHECKSUM set. github.com - Behavior changed
zxc_decompress_block_bound
zxc_decompress_block_bound() changes its result to follow the new 2084-byte tail pad. github.com - Behavior changed
zxc_decompress_inplace
zxc_decompress_inplace() no longer verifies checksums; decode through a zxc_dctx with ZXC_D_CHECKSUM set to keep the check. github.com - Behavior changed
ZXC_DECOMPRESS_TAIL_PAD
ZXC_DECOMPRESS_TAIL_PAD is now 2084 bytes instead of 2112, and zxc_decompress_block_bound() follows. github.com - Behavior changed
zxc_dstream_create
zxc_dstream_create(NULL) no longer verifies checksums; pass a zxc_dctx with ZXC_D_CHECKSUM set to keep the check. github.com - Behavior changed
zxc_init_static_cctx
Static contexts refuse changed block size, level or dictionary in zxc 1.0.0 github.com - Behavior changed
zxc_stream_decompress
zxc_stream_decompress(fin, fout, NULL) no longer verifies checksums; pass a context with ZXC_D_CHECKSUM set. github.com - Behavior changed
zxc.WithMaxOutputSize
An out-of-range level is now an error in Go, Python, Node.js and WASM bindings. github.com - Default changed
Top-level CMake projects with no build type now build as Release. github.com - Default changed
--no-preserve
Permissions, times, group and owner are copied; pass --no-preserve to turn this off. github.com - Default changed
--rm
Use --rm to remove input files after processing. github.com - Default changed
checksum
Python, Node.js and WASM bindings now verify checksums on decode by default; opt out with checksum=False or checksum: false. github.com - Default changed
with_checksum
Rust no longer writes checksums by default; call with_checksum() to request them. github.com
And 22 more in this version. Sign up to see every change
zxc 0.15.0 breaking changes
- Removed
Windows archives no longer ship the MSVC static library; MSVC users must build an import library from libzxc.def or build from source. github.com - Removed
ZXC_FILE_FOOTER_SIZE
The footer is now variable-length, so code using ZXC_FILE_FOOTER_SIZE must use ZXC_FILE_FOOTER_MIN_SIZE or ZXC_FILE_FOOTER_MAX_SIZE. github.com - Renamed
checksum_method
Scripts parsing zxc -l -j or zxc -t -j must read the checksum key, which now holds enabled, disabled or mixed. github.com - Renamed
zxc.dll
MSVC CMake builds produce libzxc.dll rather than zxc.dll, so projects referencing the old DLL name must be updated. github.com - Behavior changed
Concatenated archives are now read as one stream by default; code needing single-frame reads must opt out with Multistream(false), .multistream(false) or multistream=False. github.com - Behavior changed
Programs linked against libzxc.so.4 must be rebuilt against the new library because of the 64-bit seekable block count change. github.com - Behavior changed
Archives written by v0.14.x must be transcoded with the old build before v0.15 can read them. Version-1 dictionaries must be retrained or converted to version 2. github.com - Behavior changed
-f
With -f, input that is not a ZXC archive is copied unchanged to standard output instead of being treated as an archive. github.com - Behavior changed
zxc -r
zxc -r now reports and skips symbolic links, junctions and mount points, and exits non-zero when a directory cannot be read. github.com - Default changed
Builds that relied on LTO must pass -DZXC_ENABLE_LTO=ON to enable it again. github.com
And 3 more in this version. Sign up to see every change
zxc 0.14.0 breaking changes
- Renamed
enc_litlen
The block field formerly called enc_litlen is now enc_tok, since it always described the token section. github.com - Behavior changed
Compressing with a NULL output now counts the file header and seek table, so reported sizes grow by 16 bytes (52 with a seek table). github.com - Behavior changed
A forged footer caught during in-place decompression now returns ZXC_ERROR_CORRUPT_DATA instead of a vaguer code; code checking the old error must change. github.com - Behavior changed
Archives written by v0.14.0 are format v8, which v0.13.x and earlier decoders reject and v0.14.0 cannot read v7 or older. Keep an old build until stored archives are transcoded. github.com - Behavior changed
Stream errors that used to share one generic I/O error code now return distinct codes, so error handling keyed on the generic code may need updating. github.com - Behavior changed
A truncated stream whose footer agrees used to decompress as a clean short read; an unreadable block header is now reported as corruption. github.com - Behavior changed
Decoders now reject blocks that leave fewer than 32 readable bytes after the literal section and reject unknown enc_lit, enc_tok and enc_off values instead of defaulting. github.com - Configuration changed
The vendored rapidhash copy is used unless the build passes -DZXC_USE_SYSTEM_RAPIDHASH=ON; stripping the vendored copy without that flag fails the build. github.com
zxc 0.13.0 breaking changes
- Behavior changed
Huffman-coded literal sections now place their bits in the PivCo layout, so v6 and v7 Huffman blocks cannot be mixed. Re-encode stored data to read it with v7 tools. github.com - Behavior changed
Release 0.13.0 writes v7 archives that 0.12.0 and earlier decoders reject, and cannot read v6 or v5 archives. Keep an old build to read old data, and transcode stored archives to v7 before relying on them. github.com
zxc 0.12.0 breaking changes
- Removed
v0.12.0 cannot read v5 archives written by earlier versions, so convert stored archives with a v5 build before upgrading. github.com - Removed
These APIs are now internal, so code that uses them must stop using them. github.com - Renamed
--train-dict
Use --train instead of the former --train-dict PATH option. github.com - Behavior changed
Inputs that were previously accepted may now be rejected as malformed. github.com - Behavior changed
Callers that supply output buffers may need to allow different tail padding. github.com - Behavior changed
On Windows the CLI now expands wildcards such as zxc *.log instead of relying on the shell. github.com - Behavior changed
The ABI changed, so applications must be re-linked against libzxc.so.4. github.com
zxc 0.11.0 breaking changes
- Behavior changed
zxc_compress_block
When no explicit block_size is given, zxc_compress_block rounds the effective block size up to the next power of two that fits the source. Code that relies on the exact block size must pass it explicitly. github.com - Default changed
The default block size is now 512 KB instead of 256 KB. Code that depends on the old default output or memory size should set the block size explicitly. github.com
Older versions
4 older versions, each with its first changes. Sign up to see every change
Show 4 older versions
zxc 0.10.0 breaking changes
- Behavior changed
Consumers of the shared library must rebuild against the ABI-breaking release; static library users are unaffected. github.com - Default changed
zxc
Compressed files now use the .zxc extension instead of .xc. Update any tooling that expects the .xc suffix. github.com
zxc 0.9.0 breaking changes
- Removed
zxc_compress
zxc_compress() and zxc_decompress() now take options struct pointers instead of positional parameters; pass NULL for defaults. Existing calls must be updated. github.com - Behavior changed
The file header now stores block size as a log2 exponent in [12..21] instead of the previous dual-scale encoding; legacy value 64 is still accepted. github.com
And 5 more in this version.
zxc 0.8.1 breaking changes
- Behavior changed
The shared library file name changes from libzxc.so.0 to libzxc.so.1. Software linked against the old soname must be relinked or rebuilt. github.com
zxc 0.8.0 breaking changes
- Behavior changed
The Python wrapper now exposes C error constants and reports errors differently, which may affect code that handles errors. github.com - Behavior changed
The file format changed, so data written by v0.8.0 is not compatible with older versions. Existing compressed files may need to be regenerated. github.com
And 2 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.