blob: 234e960accd37d4e7158cf7c1d3da8f9c8f116fb [file] [log] [blame]
Stefan Bodewig48d74702013-03-10 17:10:57 +00001 Apache Commons Compress 1.5 RELEASE NOTES
Sebastian Bazley48882f12010-04-13 21:02:37 +00002
Sebastian Bazley3f696422012-03-31 12:10:43 +00003Apache Commons Compress software defines an API for working with compression and archive formats.
4These include: bzip2, gzip, pack200 and ar, cpio, jar, tar, zip, dump.
Sebastian Bazley48882f12010-04-13 21:02:37 +00005
Stefan Bodewig48d74702013-03-10 17:10:57 +00006Release 1.5
Sebastian Bazley48882f12010-04-13 21:02:37 +00007
8Changes in this version include:
9
Stefan Bodewig48d74702013-03-10 17:10:57 +000010New features:
11
12o CompressorStreamFactory has an option to create decompressing
13 streams that decompress the full input for formats that support
14 multiple concatenated streams.
15 Issue: COMPRESS-220.
16
Sebastian Bazley48882f12010-04-13 21:02:37 +000017Fixed Bugs:
Stefan Bodewigc5674662012-05-23 14:11:38 +000018
Stefan Bodewig48d74702013-03-10 17:10:57 +000019o Typo in CompressorStreamFactory Javadoc
20 Issue: COMPRESS-218.
21 Thanks to Gili.
22o ArchiveStreamFactory's tar stream detection created false positives
23 for AIFF files.
24 Issue: COMPRESS-191.
25 Thanks to Jukka Zitting.
26o XZ for Java didn't provide an OSGi bundle. Compress' dependency on
27 it has now been marked optional so Compress itself can still be used
28 in an OSGi context.
29 Issue: COMPRESS-199.
30 Thanks to Jukka Zitting.
31o When specifying the encoding explicitly TarArchiveOutputStream would
32 write unreadable names in GNU mode or even cause errors in POSIX
33 mode for file names longer than 66 characters.
34 Issue: COMPRESS-200.
35 Thanks to Christian Schlichtherle.
36o Writing TAR PAX headers failed if the generated entry name ended
37 with a "/".
38 Issue: COMPRESS-203.
39o ZipArchiveInputStream sometimes failed to provide input to the
40 Inflater when it needed it, leading to reads returning 0.
41 Issue: COMPRESS-189.
42 Thanks to Daniel Lowe.
43o TarArchiveInputStream ignored the encoding for GNU long name
44 entries.
45 Issue: COMPRESS-212.
46o TarArchiveInputStream could leave the second EOF record inside the
47 stream it had just finished reading.
48 Issue: COMPRESS-206.
49 Thanks to Peter De Maeyer.
50o DumpArchiveInputStream no longer implicitly closes the original
51 input stream when it reaches the end of the archive.
52o ZipArchiveInputStream now consumes the remainder of the archive when
53 getNextZipEntry returns null.
54o Unit tests could fail if the source tree was checked out to a
55 directory tree containign spaces.
56 Issue: COMPRESS-205.
57 Thanks to Daniel Lowe.
58o Fixed a potential ArrayIndexOutOfBoundsException when reading STORED
59 entries from ZipArchiveInputStream.
60 Issue: COMPRESS-219.
61o CompressorStreamFactory can now be used without XZ for Java being
62 available.
63 Issue: COMPRESS-221.
Stefan Bodewigc5674662012-05-23 14:11:38 +000064
Stefan Bodewig48d74702013-03-10 17:10:57 +000065Changes:
66
67o Improved exception message if a zip archive cannot be read because
68 of an unsupported compression method.
69 Issue: COMPRESS-188.
70 Thanks to Harald Kuhn.
71o ArchiveStreamFactory has a setting for file name encoding that sets
72 up encoding for ZIP and TAR streams.
73 Issue: COMPRESS-192.
74 Thanks to Jukka Zitting.
75o TarArchiveEntry now has a method to verify its checksum.
76 Issue: COMPRESS-191.
77 Thanks to Jukka Zitting.
78o Split/spanned ZIP archives are now properly detected by
79 ArchiveStreamFactory but will cause an
80 UnsupportedZipFeatureException when read.
81o ZipArchiveInputStream now reads archives that start with a "PK00"
82 signature. Archives with this signatures are created when the
83 archiver was willing to split the archive but in the end only needed
84 a single segment - so didn't split anything.
85 Issue: COMPRESS-208.
86o TarArchiveEntry has a new constructor that allows setting linkFlag
87 and preserveLeadingSlashes at the same time.
88 Issue: COMPRESS-201.
89o ChangeSetPerformer has a new perform overload that uses a ZipFile
90 instance as input.
91 Issue: COMPRESS-159.
92o Garbage collection pressure has been reduced by reusing temporary
93 byte arrays in classes.
94 Issue: COMPRESS-172.
95 Thanks to Thomas Mair.
96o Can now handle zip extra field 0x5455 - Extended Timestamp.
97 Issue: COMPRESS-210.
98 Thanks to Julius Davies.
99o handle zip extra field 0x7875 - Info Zip New Unix Extra Field.
100 Issue: COMPRESS-211.
101 Thanks to Julius Davies.
102o ZipShort, ZipLong, ZipEightByteInteger should implement Serializable
103 Issue: COMPRESS-213.
104 Thanks to Julius Davies.
105o better support for unix symlinks in ZipFile entries.
106 Issue: COMPRESS-214.
107 Thanks to Julius Davies.
108o ZipFile's initialization has been improved for non-Zip64 archives.
109 Issue: COMPRESS-215.
110 Thanks to Robin Power.
111o Updated XZ for Java dependency to 1.2 as this version provides
112 proper OSGi manifest attributes.
Stefan Bodewigc5674662012-05-23 14:11:38 +0000113
Sebastian Bazley3f696422012-03-31 12:10:43 +0000114For complete information on Commons Compress, including instructions on how to submit bug reports,
115patches, or suggestions for improvement, see the Apache Commons Compress website:
116
Sebastian Bazley48882f12010-04-13 21:02:37 +0000117http://commons.apache.org/compress/