[ANN] Apache Commons Compress 1.15 Released
source link: http://mail-archives.apache.org/mod_mbox/commons-user/201710.mbox/%3C87zi8pu0ac.fsf%40v45346.1blu.de%3E
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
[ANN] Apache Commons Compress 1.15 Released-Apache Mail Archives
[ANN] Apache Commons Compress 1.15 Released
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Apache Commons Team is pleased to announce the release of Apache Commons Compress 1.15. The Apache Commons Compress Library defines an API for working with compression and archive formats. These include: bzip2, gzip, pack200, lzma, xz, Snappy, traditional Unix Compress, DEFLATE, LZ4, Brotli and ar, cpio, jar, tar, zip, dump, 7z, arj. Compress 1.15 contains big fixes and small improvements for the tar and zip formats. In addition the jar's manifest file now contains an Automatic-Module-Name entry that ensures the name will be org.apache.commons.compress when the jar is used as an automatic module in Java9. TarArchiveOutputStream now ensures record size is 512 and block size is a multiple of 512 as any other value would create invalid tar archives. This may break compatibility for code that deliberately wanted to create such files. Source and binary distributions are available for download from the Apache Commons download site: http://commons.apache.org/proper/commons-compress/download_compress.cgi When downloading, please verify signatures using the KEYS file available at the above location when downloading the release. Changes in this version include: New features: o Added magic MANIFEST entry Automatic-Module-Name so the module name will be org.apache.commons.compress when the jar is used as an automatic module in Java9. Issue: COMPRESS-397. o Added a new utility class FixedLengthBlockOutputStream that can be used to ensure writing always happens in blocks of a given size. Issue: COMPRESS-405. Thanks to Simon Spero. o It is now possible to specify/read custom PAX headers when writing/reading tar archives. Issue: COMPRESS-400. Thanks to Simon Spero. Fixed Bugs: o Make sure "version needed to extract" in local file header and central directory of a ZIP archive agree with each other. Also ensure the version is set to 2.0 if DEFLATE is used. Issue: COMPRESS-394. o Don't use a data descriptor in ZIP archives when copying a raw entry that already knows its size and CRC information. Issue: COMPRESS-395. o Travis build redundantly repeats compilation and tests redundantly GitHub Pull Request #43. Thanks to Simon Spero. Issue: COMPRESS-413 o The MANIFEST of 1.14 lacks an OSGi Import-Package for XZ for Java. Issue: COMPRESS-396. o BUILDING.md now passes the RAT check. Issue: COMPRESS-406. Thanks to Simon Spero. o Made sure ChecksumCalculatingInputStream receives valid checksum and input stream instances via the constructor. Issue: COMPRESS-412. Thanks to Michael Hausegger. o TarArchiveOutputStream now verifies the block and record sizes specified at construction time are compatible with the tar specification. In particular 512 is the only record size accepted and the block size must be a multiple of 512. Issue: COMPRESS-407. Thanks to Simon Spero. o Fixed class names of CpioArchiveEntry and CpioArchiveInputStream in various Javadocs. Issue: COMPRESS-415. o The code of the extended timestamp zip extra field incorrectly assumed the time was stored as unsigned 32-bit int and thus created incorrect results for years after 2037. Issue: COMPRESS-416. Thanks to Simon Spero. o Removed ZipEncoding code that became obsolete when we started to require Java 5 as baseline long ago. Issue: COMPRESS-410. Thanks to Simon Spero. o The tar package will no longer try to parse the major and minor device numbers unless the entry represents a character or block special file. Issue: COMPRESS-417. o When reading tar headers with name fields containing embedded NULs, the name will now be terminated at the first NUL byte. Issue: COMPRESS-421. Thanks to Roel Spilker. o Simplified TarArchiveOutputStream by replacing the internal buffering with new class FixedLengthBlockOutputStream. Issue: COMPRESS-409. 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: http://commons.apache.org/compress/ Stefan Bodewig, on behalf of the Apache Commons community -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlnmRAkACgkQohFa4V9ri3L2cwCeLqFLHNuxK2YUuqzbJjXl8mZR JF8AoNO7DXUdIbL3nMs74+kkuVb46T4C =iZYS -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Thank you Stefan for shepherding this release. Gary
On Tue, Oct 17, 2017 at 11:55 AM, Stefan Bodewig <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > The Apache Commons Team is pleased to announce the release of Apache > Commons Compress 1.15. > > The Apache Commons Compress Library defines an API for working with > compression and archive formats. These include: bzip2, gzip, pack200, > lzma, xz, Snappy, traditional Unix Compress, DEFLATE, LZ4, Brotli and > ar, cpio, jar, tar, zip, dump, 7z, arj. > > Compress 1.15 contains big fixes and small improvements for the tar and > zip formats. In addition the jar's manifest file now contains an > Automatic-Module-Name entry that ensures the name will be > org.apache.commons.compress when the jar is used as an automatic module > in Java9. > > TarArchiveOutputStream now ensures record size is 512 and block size is > a multiple of 512 as any other value would create invalid tar > archives. This may break compatibility for code that deliberately > wanted to create such files. > > Source and binary distributions are available for download from the > Apache Commons download site: > > http://commons.apache.org/proper/commons-compress/download_compress.cgi > > When downloading, please verify signatures using the KEYS file available > at the above location when downloading the release. > > Changes in this version include: > > New features: > > o Added magic MANIFEST entry Automatic-Module-Name so the module > name will be org.apache.commons.compress when the jar is used > as an automatic module in Java9. > Issue: COMPRESS-397. > > o Added a new utility class FixedLengthBlockOutputStream that > can be used to ensure writing always happens in blocks of a > given size. > Issue: COMPRESS-405. Thanks to Simon Spero. > > o It is now possible to specify/read custom PAX headers when > writing/reading tar archives. > Issue: COMPRESS-400. Thanks to Simon Spero. > > Fixed Bugs: > > o Make sure "version needed to extract" in local file header and > central directory of a ZIP archive agree with each other. > Also ensure the version is set to 2.0 if DEFLATE is used. > Issue: COMPRESS-394. > > o Don't use a data descriptor in ZIP archives when copying a raw > entry that already knows its size and CRC information. > Issue: COMPRESS-395. > > o Travis build redundantly repeats compilation and tests redundantly > GitHub Pull Request #43. Thanks to Simon Spero. > Issue: COMPRESS-413 > > o The MANIFEST of 1.14 lacks an OSGi Import-Package for XZ for > Java. > Issue: COMPRESS-396. > > o BUILDING.md now passes the RAT check. > Issue: COMPRESS-406. Thanks to Simon Spero. > > o Made sure ChecksumCalculatingInputStream receives valid > checksum and input stream instances via the constructor. > Issue: COMPRESS-412. Thanks to Michael Hausegger. > > o TarArchiveOutputStream now verifies the block and record sizes > specified at construction time are compatible with the tar > specification. In particular 512 is the only record size > accepted and the block size must be a multiple of 512. > Issue: COMPRESS-407. Thanks to Simon Spero. > > o Fixed class names of CpioArchiveEntry and > CpioArchiveInputStream in various Javadocs. > Issue: COMPRESS-415. > > o The code of the extended timestamp zip extra field incorrectly > assumed the time was stored as unsigned 32-bit int and thus > created incorrect results for years after 2037. > Issue: COMPRESS-416. Thanks to Simon Spero. > > o Removed ZipEncoding code that became obsolete when we started > to require Java 5 as baseline long ago. > Issue: COMPRESS-410. Thanks to Simon Spero. > > o The tar package will no longer try to parse the major and > minor device numbers unless the entry represents a character > or block special file. > Issue: COMPRESS-417. > > o When reading tar headers with name fields containing embedded > NULs, the name will now be terminated at the first NUL byte. > Issue: COMPRESS-421. Thanks to Roel Spilker. > > o Simplified TarArchiveOutputStream by replacing the internal > buffering with new class FixedLengthBlockOutputStream. > Issue: COMPRESS-409. > > 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: > > http://commons.apache.org/compress/ > > Stefan Bodewig, on behalf of the Apache Commons community > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > > iEYEARECAAYFAlnmRAkACgkQohFa4V9ri3L2cwCeLqFLHNuxK2YUuqzbJjXl8mZR > JF8AoNO7DXUdIbL3nMs74+kkuVb46T4C > =iZYS > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK