# XZ Utils v5.7.1alpha — XZ Utils 5.7.1alpha (unstable) - Product: XZ Utils (https://whatsnew.fyi/product/xz-utils) - Vendor: XZ Utils - Date: 2025-01-23 - Version: v5.7.1alpha - Original notes: https://github.com/tukaani-project/xz/releases/tag/v5.7.1alpha - Permalink: https://whatsnew.fyi/product/xz-utils/releases/v5.7.1alpha - Labels: Pre-release What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: release facts (products, versions, dates, links, CVE ids and flags) are open data under CC BY 4.0, from the API at https://whatsnew.fyi/api/v1 or the nightly dataset at https://github.com/whatsnew-fyi/dataset. The summaries, labels and curation are © What's New: quote freely with attribution and a link back; wholesale republication of them is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **changed** — Improve LZMA/LZMA2 encoder speed on 64-bit PowerPC and 64-bit RISC-V processors with fast unaligned access support - **changed** — Rewrite x86/x86-64/E2K CLMUL CRC code for improved performance and to eliminate false positives from sanitizers - **changed** — Add runtime detection for 32-bit x86 to co-exist CLMUL CRC and assembly versions with automatic handling in Autotools and CMake - **changed** — Use CRC32 instructions on LoongArch to accelerate CRC32 calculation - **added** — Add low-level APIs for RISC-V, ARM64, and x86 BCJ filters to lzma/bcj.h - **changed** — Synchronize output file and its directory before deleting the input file using fsync() to reduce probability of data loss after system crash - **added** — Add --no-sync option to disable sync-before-delete behavior - **changed** — Make --single-stream imply --keep - **changed** — Use automatic word wrapping for text in --help and similar situations - **changed** — Replace non-printable characters with question marks when printing messages to prevent malicious filenames from sending escape sequences to terminals - **changed** — Apply non-printable character replacement to filenames shown in xz --robot --list - **added** — Add support for Landlock ABI versions 5 and 6 on xz and xzdec on Linux - **changed** — Increase minimum required CMake version to 3.20 - **changed** — Revise CMake configuration variables and their options - **changed** — Attempt to produce liblzma.pc with paths based on ${prefix} for easier path overrides - **changed** — Require gettext-tools to enable translations in CMake build - **changed** — Use Mach-O shared library versioning compatible with GNU Libtool on Apple - **removed** — Remove support for building liblzma with Visual Studio 2013 - **added** — Add preliminary Georgian translation ``` 5.7.1alpha (2025-01-23) * All fixes from 5.6.4. * liblzma: - Improve LZMA/LZMA2 encoder speed on 64-bit PowerPC (both endiannesses) and those 64-bit RISC-V processors that support fast unaligned access. - x86/x86-64/E2K CLMUL CRC code was rewritten. It's faster and doesn't cause false positives from sanitizers. Attributes like __attribute__((__no_sanitize_address__)) are no longer present. - On 32-bit x86, CLMUL CRC and the old (but still good) assembly versions now co-exist with runtime detection. Both Autotools and CMake build systems handle this automatically now. - Use the CRC32 instructions on LoongArch to make CRC32 calculation faster. - Add low-level APIs for RISC-V, ARM64, and x86 BCJ filters to lzma/bcj.h. These are primarily for erofs-utils. - Minor tweaks to ARM64 CRC32 code and BCJ filters were made. * xz: - Synchronize the output file and its directory before deleting the input file using fsync(). This reduces the probability of data loss after a system crash. However, it can be a major performance hit if processing many small files. NOTE: No syncing is done when xz isn't going to delete the input file. - Add a new option --no-sync to disable the sync-before-delete behavior. It's useful when compressing many small files and one doesn't worry about data loss in case of a system crash. - Make --single-stream imply --keep. - Use automatic word wrapping for the text in --help and similar situations to hopefully make the strings easier for majority of translators (no need to count spaces anymore). * xz, xzdec, lzmainfo: When printing messages, replace non-printable characters with question marks. This way malicious filenames cannot be used to send escape sequences to a terminal. This change is also applied to filenames shown in "xz --robot --list". * xz and xzdec on Linux: Add support for Landlock ABI versions 5 and 6. * CMake updates: - Increase the minimum required CMake version to 3.20. - Revise the configuration variables and some of their options. Document them in the file INSTALL. - Attempt to produce liblzma.pc so that the paths are based on ${prefix}, which makes it simpler to override the paths if the liblzma files have been moved. - To enable translations, gettext-tools is now required. The CMake build no longer supports installing pre-compiled message catalog binary files (po/*.gmo). - Apple: Use Mach-O shared library versioning that is compatible with GNU Libtool. This should make it easier to switch between the build systems on Apple OSes that enforce the correct compatibility_version (macOS >= 12 doesn't?). This change is backward compatible: binaries linked against old CMake-built liblzma will run with liblzma that uses Libtool style versioning. - Windows (not Cygwin): Document CMAKE_DLL_NAME_WITH_SOVERSION (CMake >= 3.27) in the file INSTALL. This option should usually be left to its default value (OFF). It can be set to ON if the liblzma DLL filename must be compatible with the versioned filename produced by GNU Libtool. For example, binaries distributed in MSYS2 use a versioned DLL filename. - CMake support is no longer experimental. (It was already not experimental when building for native Windows.) * Windows: Building liblzma with Visual Studio 2013 is no longer supported. Visual Studio 2015 or later (with CMake) can be used _[Truncated at 4000 characters — full notes: https://github.com/tukaani-project/xz/releases/tag/v5.7.1alpha]_