Download and execute aqr-20261126-win-install.exe if you have no other reason.
User-facing Changes
- Self-extracting programs (
--format sfx) can be configured with.aqr/sfx/sfx.tomlat the input's root:- Destination:
{temp},{here},{cwd}or{programs}, optionally asked at run time (extract.ask, with a folder picker). Overwrite policy:ask,always,neverornewer. - A program to run afterwards: its arguments and environment (
[run.env]), with{dest}standing for where the files went; optional cleanup of the extracted files. The program's exit code is passed on. - A license to accept, a banner image, and a title, prompt and finish text, each per language and picked by the user's UI language (
AQR_SFX_LANGoverrides it). - Shortcuts on the desktop or in the Start menu, for the current user or for all users (
all-users = true, which needs an administrator manifest). - Icon,
VERSIONINFO, manifest (execution level, DPI, supported OS) and subsystem of the program. - The stub's own dialogs use the system's message-box font and buttons, and its few messages are localized (English, Korean).
- Started from Explorer, the stub no longer leaves an empty console window behind.
- Command line of the program:
[-y] [--noexec] [--keep] [DIR]. - The settings and their files go in a first segment of their own, so they are read without decoding the rest.
- Destination:
- Signed self-extracting programs: an SFX signed after it was made (Authenticode) can still be read by
aqr -t/-d/-l. aqr warns when an SFX it made is not signed, both on standard error and to frontends as a newnoticeevent of--ipc/--session; aqr-win shows it in a dialog. --run-before CMD/--run-after CMD: commands run around each archive written by-c,-a,--delete,--moveor--compact. The archive's path is inAQR_OUTPUTand the moment inAQR_HOOK. A command that fails fails aqr. The intended first use is signing an SFX.--convert:- Writes an Aqueous archive again with encryption (
-P/--no-passphrase) and mirroring (-A/--no-archival) put on, taken off or changed, without recompressing anything. A damaged input is repaired along the way, and the conversion fails if any file would be lost. - Converts ZIP, 7z, RAR, ALZ, EGG, tar (and its compressed forms) and single-file streams into Aqueous archives, without going through the disk. Comments and GNU tar's volume labels are carried over.
- Shows progress on the terminal and to frontends.
--passphrase-from SOURCE;SOURCEsupplies the input's passphrase and the new one.
- Writes an Aqueous archive again with encryption (
--lossy=CLASSES: equivalent lossy compression. A file is archived as a different file that its readers treat as the same; only the encoder's choices and unused bytes are lost. The entry is marked with the original size and SHA-512/256 (shown by-t --json, flagged~by-t).coding: DEFLATE in ZIP and gzip, LZMA in.lzma,.xzand 7z, all made again by an encoder that aqr reproduces exactly.slack: free space zeroed in SQLite databases, disk images (FAT, exFAT, NTFS, ext2/3/4, HFS+, OLE), asar archives, PDB files and Minecraft region files.- Files whose digests (MD5 to SHA-512, BLAKE2b) or OpenPGP/minisign signatures appear among the other files archived are kept as they are. So is any file that the rewrite would not make smaller.
- Hints by path:
.aqr/attributes,.gitattributesand--attributes FILEuse gitattributes' syntax, and>steps into containers (a.zip>*.bin).aqr-format,aqr-kindandaqr-notsteer format detection.aqr-format=tensorstakes headerless tensors, givenaqr-dtypeoraqr-layout.aqr-format=deflatetakes raw DEFLATE streams, andaqr-format=rawtakes headerless PCM (aqr-bits,aqr-channels,aqr-endian,aqr-sign).aqr-offset=Nsays where the data starts.- What happened to each hint is reported with
-vand--stats.
- Levels 3, 6 and 7 are now significantly distinguished from their neighbours:
- At
-3, DEFLATE streams are rebuilt. - At
-6, aqr-flate's adaptive profile is used. - At
-7, code and text are compressed with zstd at level 12.
- At
-tshows the archive's label and comment;--jsonaddslabel,commentand each entry'scomment.- Appending to or editing an archive that does not start its file (an SFX, or an archive behind a stub) is refused. Such an archive can still be read.
-Z interpretprints an archive's archive value as EDN.
Specification Changes
- Locating an archive: a new step finds an archive before a PE certificate table, i.e. in a signed executable.
archive-label(-5) inaqr-opt-metadata: a name for the whole archive, taken from tar's volume labels.- The archive value's
extramay have text keys. - Module execution: the tables an instance defines count toward its memory limit (16 bytes per element after the first 4096). A
table.growpast the limit is a resource failure. - Appending to an archive that has bytes before it is advised against (non-normative).
- The conformance suite is now in development, allowing easier third-party verification.
Performance Optimizations
-0and-1has been greatly improved: below level 2, batches are written straight to the archive instead of going through the spill.- Without
-B, batches are sized to the input: a quarter of its bytes, at least 128 MiB, and still 512 MiB at most for large inputs. - Each file's checksums and format detection now run on the threads that read the batch. Detection of CSV and OBJ stops as soon as a file cannot match.
- Archives are written to disk at most 8 MiB at a time, which is much faster on Windows NTFS.
- Extracting or testing a few paths of a large archive: data blocks are decoded only as far as needed, and only the entries on the way to the paths are built.
- Every archive using the
flate-setmodule is 13 KB smaller (module 387 → 145 KB), and its Wasm decoding is 4% faster. - DEFLATE streams that zlib's emulation predicts exactly decode about 9% faster, by the emulator alone.
- Tensors:
- A tensor stored twice, such as tied embeddings, is coded once.
- Shards of a model that share a tensor are batched together.
- New float coding for zeros, subnormals and rows each with their own scale; PP-OCR's F16 weights are now smaller than with
xz -6.
- A file recompressed alone that would come out no smaller is archived as it is, e.g.
.tar.xzfiles whose members together compress worse than the original. - WebAssembly: the WAH replaces Wasmtime as the default engine. It is (somehow) slightly faster than Wasmtime in practice and has much smaller binary footprint.
- Module blobs for SFXs are smaller: the C runtime's DLL startup code, which never ran, is no longer linked in.
- zlib's compression can run on multiple threads with byte-identical output.
--lossyuses it.
Bug Fixes
- Decoding could hang: a WebAssembly task dropped while the executor was locked deadlocked its thread.
- WebAssembly modules not known to aqr could use any amount of memory through their tables, despite the memory limit.
- Corrupt or crafted input no longer aborts or exhausts memory:
- Repairing a truncated archive: a forged gap of 2^50 bytes aborted on allocation, and a block restored after an odd-sized block was placed a byte early.
- Zstandard data declaring more bytes than its blocks can produce now fails at once, instead of reserving terabytes.
- Bundles in self-extracting programs declaring huge sizes no longer crash the stub.
- Deeply nested CBOR maps in metadata or SFX settings took minutes to check; they take moments now.
- A footer pointing to a metadata block before the archive's start was accepted when the archive was opened whole.
- An archive opened for some paths, then evaluated whole, was wrongly reported as invalid.
- When segments are merged, an entry replacing another of the same name keeps the original's place, as the spec says. Before, it moved to the end.
- A failure to unlock an encrypted archive other than a wrong passphrase (a bad header MAC, say) now exits with code 3 (invalid), not 1.
- ZIP: a long data descriptor with a signature was read as a short one, leaving an 8-byte gap.
- Reading other formats: files left out of the tree (a file with a directory's name, say) were still decoded for nothing.
-dand-Kof a self-extracting program whose modules are named only by hash failed.- Compressing a single file as a tree (with
-a's options, or with--lossy) did not count the module blocks in its size. It could choose formulas that lost to the plain data. - Dependencies: libzstd 1.6.0 (memory-safety fixes, CVE-2026-124851) and Wasmtime 51.