Download and execute aqr-20261202-win-install.exe if you have no other reason.
Download aqr-20261202-win-mount.zip as well if you want to mount archives as drives (needs WinFsp; GPL-3.0, released separately).
Newly Supported Formats
- XML documents --- split into a skeleton of tags and containers of values by context (an element's text by its parent, an attribute's value by its element), each container recompressed on its own (aqr-wrt for prose, aqr-log or aqr-xsv for columns of numbers and times)
- Chosen per file by a sample; HTML and rows of attributes one per line stay with the existing coders
Changes to Existing Formats
- Text (aqr-wrt)
- A word missing from the dictionary is coded by its longest prefix that has an entry
- The dictionary is stored with entries sharing the bytes of the previous one
Breaking Changes
- Archives made by this release cannot be decoded by earlier releases
- Mirror blocks written by earlier releases are no longer recognized, as mirror blocks now carry chunk checksums; such archives are still read, but cannot be repaired from them
--ipcspeaks a new protocol (version 2), now documented in aqripc(7):--sessionis folded into it, and frontends of version 1 are refused
User-facing Changes
- Recovery sets:
--recovery PCT(up to 25) adds Reed-Solomon parity of the archive's bytes, in ranges closed as segments are. A damaged archive is restored from them as it is read, up to as many damaged slices of a range as it has parity slices, in plain and encrypted archives alike. - Windows Explorer browses archives as folders (aqr-shell.dll, installed and registered by the installer):
- Double-clicking an .aqr file opens it as a folder; ZIP, 7z, RAR, ALZ, EGG, tar (and its compressed forms) and single compressed files too, where Aqueous is their default program
- Files can be opened (with "Open with the files beside it" for a
.cueand its.bin, a video and its subtitles, a saved page and its_filesfolder), copied, dragged out to folders and to other programs (uploads, mail attachments), previewed and shown as thumbnails - Columns and Properties show everything
aqr -t -vtells of an entry (data and overhead bytes, ratio, segment, owner, permissions, flags, all times, comment, formula); other formats show their compressed sizes and ratios - Encrypted archives ask for their passphrase once; a changed archive file refreshes its open windows
- Files dropped or pasted into an archive's folder, or dropped onto the archive file, are added to it
- Named versions: a "Versions" menu in the view's background and command bar browses the archive as of each journal point; a "Versions" tab in the Properties of .aqr files opens, extracts, names, or deletes the versions after one (or saves that version as a new archive)
- Mounting archives as drives:
aqr-mount ARCHIVE [MOUNTPOINT]on Windows (WinFsp, separate download) andaqr-mount ARCHIVE MOUNTPOINTon Linux (FUSE, in the release archive), read-only, for every format Explorer browses- Explorer gets "Mount as a drive" for archives and "Eject" for such drives (eject warns where files are still open)
aqr-mount --installcopies the program beside aqr-win
- Explorer's menu: only "Extract here", "Extract to…" (new; into a folder picked) and "Compress with Aqueous" stay at the top; the rest moved into an "Aqueous" submenu that shows only what applies to the selection. "Open with" names Aqueous for archives.
- The installer ends by showing what the menus look like, drawn as the running Windows draws them (
aqr-win-install --tourshows it alone) - Appending (-a, -s) imports files the archive already holds (moved, renamed, copied or merely touched, 1 KiB or larger, compared byte for byte) instead of archiving them again
--moveappends a small segment instead of rewriting the archive, where the move can be told so--rollback SPEC ARCHIVEcuts an archive back in place to a journal point, leaving the file byte for byte as it was there--convert --keep-until SPECwrites the archive as of a journal point into another file-d --into DIRextracts the top of every archive given into DIR as it is, asking (or failing without -f) where files would be replaced- Manual pages: aqrsfx(5) for self-extracting programs' settings, aqrattributes(5) for hints by path, aqripc(7) for the frontend protocol, besides aqr(1)
- Published at the project site, carried in the Mac app, the Linux archives and (as one HTML file) the Windows installation
aqr --help -vshows the manual
- Overlay archives are read as far as possible without a base, then fail with the new exit code 8 (base failure)
Specification Changes
- The specification is split into a core and three documents extending it: Recovery (mirror blocks, recovery sets, repair and salvage), Optional Metadata (timestamps, comments, extended attributes, platform metadata, conversion from ZIP and tar) and Shorthand Blocks (types 50 and 60 and their registries)
- Block kinds are separated from the block types encoding them; IANA registries of block types and of metadata keys are added
- The optional metadata of a metadata block is now the extensible metadata; a decompressor not recognizing a registered key carries it as it is
- The Modules Registry is now initially empty: a decompressor knows modules by their hash, from the registry or from the program around it (a self-extracting program's)
- Every requirement has a number (F, M, K, C, S, A, D, O, E, X, G, R), and the conformance suite cites them: every requirement of interpreting an archive is covered by a case or waived with a reason. aqr passes every case.
- New and changed blocks and instructions:
- Data pointer blocks (68) stand for a non-leaf data block of an earlier segment, for patches against earlier versions
- Drop (0Eh) discards a value
- Mirror and recovery blocks have a header checksum and a checksum per 256 bytes, so that scanning a damaged archive takes linear time
- Recovery sets of an archive cover disjoint ranges (R91, R92)
- Bounds on what an archive can make a decompressor do:
- Formula work: a decompressor may refuse a formula block whose work exceeds 32 times its basis plus 64 KiB (F57); compressors don't write one (F58)
- Non-leaf blocks hold at most 128 MiB decoded (D39, S79) and 256 MiB of block data (S80); their u64-size types are reserved
- An import and a data pointer appear at most once per segment (O25, D37); a data pointer declares its size (D38); an import block has nothing after its imports (O24)
- Tasks: a unit holds its task slot until its tasks are taken (M154, M155), and a class's spawns not yet taken are fewer than its task slots (M156)
- Bytes lost in salvaging are a hole needing no memory (R93)
- Guaranteed limits: what a decompressor must not refuse as a resource failure (G9: Window_Size, formula work, 16 MiB modules, 2^20 entries a metadata block, depth 1024, paths of 32 KiB, CBOR nesting 64, lg_work_factor 22), and what compressors keep within (G10)
- Only a module an Apply instruction references has to be valid WebAssembly (M153)
- A link target followed through more than 40 links escapes the destination (X18)
- Mirror types C00-C9F are reserved for mirror blocks of block types defined later
Compression Optimizations
- Files already in an archive are imported rather than stored again when appending (see above);
--moveadds under 2 KB in place of a rewrite - The Windows installer is about 10% smaller (solid LZMA2 in place of zstd per stream)
Performance Optimizations
- Tasks of WebAssembly modules (clip, flate-set, PNG, lossless JPEG, ProRes, PCM, FLAC, SQLite) start from the memory they read rather than a copy of their instance's, so a typical spawn copies kilobytes instead of megabytes; tasks' memory limits are smaller accordingly
- Salvaging an archive with a far-off mirror target no longer reserves memory for the gap (a 64 GiB hole salvages in 5 MB)
Bug Fixes
- An archive of more than about a million entries (directories, links and other entries without content included) could not be written: segments are now split by entries and by metadata size
- A recompression whose formula exceeds the floor of formula work falls back to storing the data, instead of failing the whole compression
- A passphrase piped to -P is read as bytes, not as UTF-8 text
- WebAssembly modules with a 64-bit table were accepted
- An unknown key in
segment-statuswas accepted - A WebAssembly module without task classes could end with a channel never given to a gang
- A shorthand dictionary block is an unsupported failure, not a resource failure
- Dependencies: reed-solomon-simd 3.1.0 (new), fuser 0.19 (aqr-mount on Linux), winfsp 0.13.2 (aqr-mount on Windows)