blob: 6696393add6224d1e2944302f0ad1e0dae0e9a20 [file] [log] [blame]
Stefan Bodewigc96954d2013-10-14 04:30:05 +00001 Apache Commons Compress 1.6 RELEASE NOTES
Sebastian Bazley48882f12010-04-13 21:02:37 +00002
Stefan Bodewig4a154172013-10-13 04:06:16 +00003The Commons Compress team is pleased to announce the
4commons-compress-1.6 release!
Sebastian Bazley48882f12010-04-13 21:02:37 +00005
Stefan Bodewig4a154172013-10-13 04:06:16 +00006Apache Commons Compress software defines an API for working with
7compression and archive formats. These include: bzip2, gzip, pack200,
Damjan Jovanovicdb52cdc2013-11-30 08:27:56 +00008xz and ar, cpio, jar, tar, zip, dump, 7z, arj, Z.
Sebastian Bazley48882f12010-04-13 21:02:37 +00009
Gary D. Gregory501a15a2013-10-22 16:01:47 +000010Version 1.6 introduces changes to the internal API of the tar package that
11break backwards compatibility in the following rare cases. This version
12removes the package private TarBuffer class along with the protected "buffer"
13members in TarArchiveInputStream and TarArchiveOutputStream. This change will
14only affect you if you have created a subclass of one of the stream classes
Stefan Bodewig36aef0f2013-10-22 14:47:15 +000015and accessed the buffer member or directly used the TarBuffer class.
16
Sebastian Bazley48882f12010-04-13 21:02:37 +000017Changes in this version include:
18
Stefan Bodewig48d74702013-03-10 17:10:57 +000019New features:
Stefan Bodewig4a154172013-10-13 04:06:16 +000020o Added support for 7z archives. Most compression algorithms
21 can be read and written, LZMA and encryption are only
22 supported when reading. Issue: COMPRESS-54. Thanks to Damjan Jovanovic.
23o Added read-only support for ARJ archives that don't use
24 compression. Issue: COMPRESS-226. Thanks to Damjan Jovanovic.
25o DumpArchiveInputStream now supports an encoding parameter that
26 can be used to specify the encoding of file names.
27o The CPIO streams now support an encoding parameter that can be
28 used to specify the encoding of file names.
29o Read-only support for LZMA standalone compression has been added.
30 Issue: COMPRESS-111.
Stefan Bodewig48d74702013-03-10 17:10:57 +000031
Sebastian Bazley48882f12010-04-13 21:02:37 +000032Fixed Bugs:
Stefan Bodewig4a154172013-10-13 04:06:16 +000033o TarBuffer.tryToConsumeSecondEOFRecord could throw a
34 NullPointerException Issue: COMPRESS-223. Thanks to Jeremy Gustie.
35o Parsing of zip64 extra fields has become more lenient in order
36 to be able to read archives created by DotNetZip and maybe
37 other archivers as well. Issue: COMPRESS-228.
38o TAR will now properly read the names of symbolic links with
39 long names that use the GNU variant to specify the long file
40 name. Issue: COMPRESS-229. Thanks to Christoph Gysin.
41o ZipFile#getInputStream could return null if the archive
42 contained duplicate entries.
43 The class now also provides two new methods to obtain all
44 entries of a given name rather than just the first one.
45 Issue: COMPRESS-227.
46o CpioArchiveInputStream failed to read archives created by
47 Redline RPM. Issue: COMPRESS-236. Thanks to Andrew Duffy.
48o TarArchiveOutputStream now properly handles link names that
49 are too long to fit into a traditional TAR header. Issue:
50 COMPRESS-237. Thanks to Emmanuel Bourg.
51o The auto-detecting create*InputStream methods of Archive and
52 CompressorStreamFactory could fail to detect the format of
53 blocking input streams. Issue: COMPRESS-239.
Stefan Bodewigc5674662012-05-23 14:11:38 +000054
Stefan Bodewig48d74702013-03-10 17:10:57 +000055Changes:
Stefan Bodewig4a154172013-10-13 04:06:16 +000056o Readabilty patch to TarArchiveInputStream. Issue:
57 COMPRESS-232. Thanks to BELUGA BEHR.
58o Performance improvements to TarArchiveInputStream, in
59 particular to the skip method. Issue: COMPRESS-234. Thanks to BELUGA BEHR.
Stefan Bodewig48d74702013-03-10 17:10:57 +000060
Stefan Bodewig4a154172013-10-13 04:06:16 +000061For complete information on Commons Compress, including instructions
62on how to submit bug reports, patches, or suggestions for improvement,
63see the Apache Commons Compress website:
Sebastian Bazley3f696422012-03-31 12:10:43 +000064
Sebastian Bazley48882f12010-04-13 21:02:37 +000065http://commons.apache.org/compress/