2018-02-06 05:10:47 UTC
The Apache Commons Team is pleased to announce the release of Apache
Commons Compress 1.16.
Apache Commons Compress software defines an API for working with
compression and archive formats. These include: bzip2, gzip, pack200,
lzma, xz, Snappy, traditional Unix Compress, DEFLATE, DEFLATE64, LZ4,
Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj.
In addition to bug fixes Compress 1.16 adds support for the Zstandard
compression algorithm based on the zstd-jni library and read-only
support for the DEFLATE64 algorithm as stand-alone algorithm as well as
as method in zio and 7z archives.
Source and binary distributions are available for download from the
Apache Commons download site:
When downloading, please verify signatures using the KEYS file available
at the above location when downloading the release.
Changes in this version include:
o Add read-only support for Zstandard compression based on the
Issue: COMPRESS-423. Thanks to Andre F de Miranda.
o Added auto-detection for Zstandard compressed streams.
o Added write-support for Zstandard compression.
o Added read-only DEFLATE64 support to ZIP archives and as
Issue: COMPRESS-380. Thanks to Christian Marquez Grabia.
o Added read-only DEFLATE64 support to 7z archives.
o Synchronized iteration over a synchronizedList in
Issue: COMPRESS-430. Thanks to Bruno P. Kinoshita.
o ZipFile could get stuck in an infinite loop when parsing ZIP
archives with certain strong encryption headers.
o Added improved checks to detect corrupted bzip2 streams and
throw the expected IOException rather than obscure
o Replaces instanceof checks with a type marker in LZ77 support code.
Issue: COMPRESS-435. Thanks to BELUGA BEHR.
o Updated XZ for Java dependency to 1.8 in order to pick up bug fix
to LZMA2InputStream's available method.
o ZipArchiveEntry now exposes how the name or comment have been
determined when the entry was read.
Issue: COMPRESS-429. Thanks to Damiano Albani.
o ZipFile.getInputStream will now always buffer the stream
internally in order to improve read performance.
o Speed improvement for DEFLATE64 decompression.
Issue: COMPRESS-440. Thanks to Dawid Weiss.
o Added a few extra sanity checks for the rarer compression
methods used in ZIP archives.
o Simplified the special handling for the dummy byte required by
zlib when using java.util.zip.Inflater.
o Various code cleanups.
Github Pull Request #61. Thanks to Shahab Kondri.
o TarArchiveEntry's preserveLeadingSlashes constructor argument
has been renamed and can now also be used to preserve the
drive letter on Windows.
For complete information on Commons Compress, including instructions
on how to submit bug reports, patches, or suggestions for improvement,
see the Apache Commons Compress website:
Stefan Bodewig, on behalf of the Apache Commons community
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
-----END PGP SIGNATURE-----
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org