blob: bb22ff5752ca716db37f928770942cf969f316fb [file] [log] [blame]
Sebastian Bazley48882f12010-04-13 21:02:37 +00001
2
3 Apache Commons Compress 1.1-SNAPSHOT RELEASE NOTES
4
5Release 1.1
6
7Changes in this version include:
8
9New features:
10o COMPRESS-103: ZipArchiveInputStream can optionally extract data that used
11 the STORED compression method and a data descriptor.
12 Doing so in a stream is not safe in general, so you have to
13 explicitly enable the feature. By default the stream will
14 throw an exception if it encounters such an entry.
15o COMPRESS-98: The ZIP classes will throw specialized exceptions if any
16 attempt is made to read or write data that uses zip features
17 not supported (yet).
18o COMPRESS-99: ZipFile#getEntries returns entries in a predictable order -
19 the order they appear inside the central directory.
20 A new method getEntriesInPhysicalOrder returns entries in
21 order of the entry data, i.e. the order ZipArchiveInputStream
22 would see.
23o The Archive*Stream and ZipFile classes now have
24 can(Read|Write)EntryData methods that can be used to check
25 whether a given entry's data can be read/written.
26 The method currently returns false for ZIP archives if an
27 entry uses an unsupported compression method or encryption.
28o COMPRESS-89: The ZIP classes now detect encrypted entries.
29o COMPRESS-97: Added autodetection of compression format to
30 CompressorStreamFactory.
31o COMPRESS-95: Improve ExceptionMessages in ArchiveStreamFactory Thanks to Joerg Bellmann.
32o A new constructor of TarArchiveEntry can create entries with
33 names that start with slashes - the default is to strip
34 leading slashes in order to create relative path names.
35o ArchiveEntry now has a getLastModifiedDate method.
36o COMPRESS-78: Add a BZip2Utils class modelled after GZipUtils Thanks to Jukka Zitting.
37
38Fixed Bugs:
39o COMPRESS-100: ZipArchiveInputStream will throw an exception if it detects an
40 entry that uses a data descriptor for a STORED entry since it
41 cannot reliably find the end of data for this "compression"
42 method.
43o COMPRESS-101: ZipArchiveInputStream should now properly read archives that
44 use data descriptors but without the "unofficial" signature.
45o COMPRESS-74: ZipArchiveInputStream failed to update the number of bytes
46 read properly.
47o ArchiveInputStream has a new method getBytesRead that should
48 be preferred over getCount since the later may truncate the
49 number of bytes read for big archives.
50o COMPRESS-85: The cpio archives created by CpioArchiveOutputStream couldn't
51 be read by many existing native implementations because the
52 archives contained multiple entries with the same inode/device
53 combinations and weren't padded to a blocksize of 512 bytes.
54o COMPRESS-73: ZipArchiveEntry, ZipFile and ZipArchiveInputStream are now
55 more lenient when parsing extra fields.
56o Improved exception message if the extra field data in ZIP
57 archives cannot be parsed.
58o COMPRESS-94: ZipArchiveEntry's equals method was broken for entries created
59 with the String-arg constructor. This lead to broken ZIP
60 archives if two different entries had the same hash code. Thanks to Anon Devs.
61o COMPRESS-87: ZipArchiveInputStream could repeatedly return 0 on read() when
62 the archive was truncated. Thanks to Antoni Mylka.
63o COMPRESS-86: Tar archive entries holding the file name for names longer
64 than 100 characters in GNU longfile mode didn't properly
65 specify they'd be using the "oldgnu" extension.
66o COMPRESS-83: Delegate all read and write methods in GZip stream in order to
67 speed up operations.
68o The ar and cpio streams now properly read and write last
69 modified times.
70o COMPRESS-81: TarOutputStream can leave garbage at the end of the archive
71
72
73
74For complete information on Commons Compress, including instructions on how to submit bug reports,
75patches, or suggestions for improvement, see the Apache Commons Compress website:
76
77http://commons.apache.org/compress/
78
79