blob: 6b1144466315e47be1fbb156a5408d2df2b07cd1 [file] [log] [blame]
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +00001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements. See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership. The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
18 under the License.
19-->
Sebastian Bazley48882f12010-04-13 21:02:37 +000020
21<!--
22This file is also used by the maven-changes-plugin to generate the release notes.
23Useful ways of finding items to add to this file are:
24
Sebastian Bazley27dea242010-05-10 17:42:37 +0000251. Add items when you fix a bug or add a feature (this makes the
Sebastian Bazley48882f12010-04-13 21:02:37 +000026release process easy :-).
27
282. Do a JIRA search for tickets closed since the previous release.
29
303. Use the report generated by the maven-changelog-plugin to see all
31SVN commits. TBA how to use this with SVN.
32
33To generate the release notes from this file:
34
Sebastian Bazley7badf0e2012-03-31 12:06:33 +000035mvn changes:announcement-generate -Prelease-notes [-Dchanges.version=m.n]
Sebastian Bazley48882f12010-04-13 21:02:37 +000036
37The <action> type attribute can be add,update,fix,remove.
38-->
39
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +000040<document>
41 <properties>
42 <title>commons-compress</title>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +000043 </properties>
44 <body>
Stefan Bodewig9bdacbf2012-07-07 05:30:40 +000045 <release version="1.5" date="not released, yet"
46 description="Release 1.5">
Sebastian Bazley853576a2013-02-19 17:18:57 +000047 <action type="fix" date="2012-02-19" issue="COMPRESS-218"
48 due-to="Gili">
49 Typo in CompressorStreamFactory Javadoc
50 </action>
Stefan Bodewigc96b2e22012-07-08 18:55:06 +000051 <action type="update" date="2012-07-08" issue="COMPRESS-188"
52 due-to="Harald Kuhn">
53 Improved exception message if a zip archive cannot be read
54 because of an unsupported compression method.
55 </action>
Stefan Bodewig2ab43b02012-07-07 19:34:11 +000056 <action type="update" date="2012-07-07" issue="COMPRESS-192"
57 due-to="Jukka Zitting">
58 ArchiveStreamFactory has a setting for file name encoding that
59 sets up encoding for ZIP and TAR streams.
60 </action>
Stefan Bodewig9bdacbf2012-07-07 05:30:40 +000061 <action type="fix" date="2012-07-07" issue="COMPRESS-191"
62 due-to="Jukka Zitting">
63 ArchiveStreamFactory's tar stream detection created false
64 positives for AIFF files.
65 </action>
66 <action type="update" date="2012-07-07" issue="COMPRESS-191"
67 due-to="Jukka Zitting">
68 TarArchiveEntry now has a method to verify its checksum.
69 </action>
Stefan Bodewig73603cd2012-12-27 18:28:24 +000070 <action type="fix" date="2012-12-27" issue="COMPRESS-199"
71 due-to="Jukka Zitting">
Stefan Bodewigb19fe702013-01-31 14:20:14 +000072 XZ for Java didn't provide an OSGi bundle. Compress'
Stefan Bodewig73603cd2012-12-27 18:28:24 +000073 dependency on it has now been marked optional so Compress
74 itself can still be used in an OSGi context.
75 </action>
Stefan Bodewigca5721d2012-12-28 17:34:54 +000076 <action type="fix" date="2012-12-27" issue="COMPRESS-200"
77 due-to="Christian Schlichtherle">
Stefan Bodewige9d7bcf2012-12-27 20:54:42 +000078 When specifying the encoding explicitly TarArchiveOutputStream
79 would write unreadable names in GNU mode or even cause errors
80 in POSIX mode for file names longer than 66 characters.
81 </action>
Stefan Bodewig09b8f6d2012-12-27 21:34:35 +000082 <action type="fix" date="2012-12-27" issue="COMPRESS-203">
83 Writing TAR PAX headers failed if the generated entry name
84 ended with a "/".
85 </action>
Stefan Bodewigca5721d2012-12-28 17:34:54 +000086 <action type="fix" date="2012-12-28" issue="COMPRESS-189"
87 due-to="Daniel Lowe">
Stefan Bodewige2cf4122012-12-28 06:53:21 +000088 ZipArchiveInputStream sometimes failed to provide input to the
89 Inflater when it needed it, leading to reads returning 0.
90 </action>
Stefan Bodewig376f7d62013-01-01 11:11:26 +000091 <action type="update" date="2013-01-01">
92 Split/spanned ZIP archives are now properly detected by
93 ArchiveStreamFactory but will cause an
94 UnsupportedZipFeatureException when read.
95 </action>
96 <action type="update" date="2013-01-01" issue="COMPRESS-208">
97 ZipArchiveInputStream now reads archives that start with a
98 "PK00" signature. Archives with this signatures are created
99 when the archiver was willing to split the archive but in the
100 end only needed a single segment - so didn't split anything.
101 </action>
Stefan Bodewig65837142013-01-01 17:30:48 +0000102 <action type="update" date="2013-01-01" issue="COMPRESS-201">
103 TarArchiveEntry has a new constructor that allows setting
104 linkFlag and preserveLeadingSlashes at the same time.
105 </action>
Stefan Bodewigec0f5852013-01-01 18:33:33 +0000106 <action type="update" date="2013-01-01" issue="COMPRESS-159">
107 ChangeSetPerformer has a new perform overload that uses a
108 ZipFile instance as input.
109 </action>
Stefan Bodewigf4044dd2013-01-04 15:59:38 +0000110 <action type="fix" date="2013-01-04" issue="COMPRESS-212">
111 TarArchiveInputStream ignored the encoding for GNU long name
112 entries.
113 </action>
Stefan Bodewiga2f978e2013-01-05 19:28:42 +0000114 <action type="update" date="2013-01-05" issue="COMPRESS-172"
115 due-to="Thomas Mair">
116 Garbage collection pressure has been reduced by reusing
117 temporary byte arrays in classes.
118 </action>
Julius Davies2a2c5fc2013-01-08 22:16:17 +0000119 <action type="update" date="2013-01-08" issue="COMPRESS-210"
120 due-to="Julius Davies">
121 Can now handle zip extra field 0x5455 - Extended Timestamp.
122 </action>
123 <action type="update" date="2013-01-07" issue="COMPRESS-211"
124 due-to="Julius Davies">
125 handle zip extra field 0x7875 - Info Zip New Unix Extra Field.
126 </action>
127 <action type="update" date="2013-01-07" issue="COMPRESS-213"
128 due-to="Julius Davies">
129 ZipShort, ZipLong, ZipEightByteInteger should implement Serializable
130 </action>
Stefan Bodewigdf4c4792013-01-19 14:02:01 +0000131 <action type="update" date="2013-01-14" issue="COMPRESS-214"
132 due-to="Julius Davies">
133 better support for unix symlinks in ZipFile entries
134 </action>
135 <action type="update" date="2013-01-19" issue="COMPRESS-215"
136 due-to="Robin Power">
137 ZipFile's initialization has been improved for non-Zip64
138 archives.
Julius Davies8f398dd2013-01-14 21:47:51 +0000139 </action>
Stefan Bodewig79a7d822013-01-20 19:10:24 +0000140 <action type="fix" date="2013-01-20" issue="COMPRESS-206"
141 due-to="Peter De Maeyer">
142 TarArchiveInputStream could leave the second EOF record
143 inside the stream it had just finished reading.
144 </action>
Stefan Bodewig31610932013-01-20 19:32:30 +0000145 <action type="fix" date="2013-01-20">
146 DumpArchiveInputStream no longer implicitly closes the
147 original input stream when it reaches the end of the
148 archive.
149 </action>
Stefan Bodewig7181d542013-01-22 12:45:24 +0000150 <action type="fix" date="2013-01-22">
151 ZipArchiveInputStream now consumes the remainder of the
152 archive when getNextZipEntry returns null.
153 </action>
Stefan Bodewigbb74f0c2013-01-27 09:45:53 +0000154 <action type="fix" date="2013-01-27" issue="COMPRESS-205"
155 due-to="Daniel Lowe">
156 Unit tests could fail if the source tree was checked out to
157 a directory tree containign spaces.
158 </action>
Stefan Bodewig6caf54d2013-01-31 14:19:04 +0000159 <action type="update" date="2013-01-31">
160 Updated XZ for Java dependency to 1.2 as this version
161 provides proper OSGi manifest attributes.
162 </action>
Stefan Bodewigd9b55962013-02-20 19:22:39 +0000163 <action type="fix" date="2013-02-20" issue="COMPRESS-219">
164 Fixed a potential ArrayIndexOutOfBoundsException when
165 reading STORED entries from ZipArchiveInputStream.
166 </action>
Stefan Bodewig62200b42013-03-07 16:16:32 +0000167 <action type="fix" date="2013-03-07" issue="COMPRESS-221">
168 CompressorStreamFactory can now be used without XZ for Java
169 being available.
170 </action>
Stefan Bodewig01c3fe92013-03-07 16:24:37 +0000171 <action type="add" date="2013-03-07" issue="COMPRESS-220">
172 CompressorStreamFactory has an option to create
173 decompressing streams that decompress the full input for
174 formats that support multiple concatenated streams.
175 </action>
Stefan Bodewig9bdacbf2012-07-07 05:30:40 +0000176 </release>
Stefan Bodewigc5674662012-05-23 14:11:38 +0000177 <release version="1.4.1" date="2012-05-23"
Stefan Bodewig15883a62012-05-20 18:44:25 +0000178 description="Release 1.4.1">
179 <action type="fix" date="2012-05-20">
180 Ported libbzip2's fallback sort algorithm to
181 BZip2CompressorOutputStream to speed up compression in certain
182 edge cases.
Stefan Bodewigc5674662012-05-23 14:11:38 +0000183 Using specially crafted inputs this can be used as a denial
184 of service attack. See the security reports page for details.
Stefan Bodewig15883a62012-05-20 18:44:25 +0000185 </action>
Stefan Bodewigbbb461e2012-04-11 05:00:20 +0000186 </release>
187 <release version="1.4" date="2012-04-11"
Stefan Bodewig3447a362011-11-01 06:16:11 +0000188 description="Release 1.4">
Stefan Bodewig96292652012-03-24 05:32:31 +0000189 <action issue="COMPRESS-183" type="fix" date="2012-03-24">
190 The tar package now allows the encoding of file names to be
191 specified and can optionally use PAX extension headers to
192 write non-ASCII file names.
193 The stream classes now write (or expect to read) archives that
194 use the platform's native encoding for file names. Apache
195 Commons Compress 1.3 used to strip everything but the lower
196 eight bits of each character which effectively only worked for
197 ASCII and ISO-8859-1 file names.
198 This new default behavior is a breaking change.
199 </action>
Stefan Bodewig4f42b002012-03-23 13:58:04 +0000200 <action issue="COMPRESS-184" type="fix" date="2012-03-23">
Stefan Bodewigc2bc7a42012-03-23 13:47:59 +0000201 TarArchiveInputStream failed to parse PAX headers that
202 contained non-ASCII characters.
203 </action>
Stefan Bodewig42398712012-03-10 06:45:36 +0000204 <action issue="COMPRESS-182" type="update" date="2012-03-02">
205 The tar package can now write archives that use star/GNU/BSD
206 extensions or use the POSIX/PAX variant to store numeric
207 values that don't fit into the traditional header fields.
208 </action>
Stefan Bodewig40f2e632012-03-02 19:59:50 +0000209 <action issue="COMPRESS-181" type="update" date="2012-03-02">
210 Added a workaround for a Bug some tar implementations that add
211 a NUL byte as first byte in numeric header fields.
212 </action>
Stefan Bodewigc75c10f2012-02-28 05:00:26 +0000213 <action issue="COMPRESS-176" type="update" date="2012-02-28">
214 Added a workaround for a Bug in WinZIP which uses backslashes
215 as path separators in Unicode Extra Fields.
216 </action>
Sebastian Bazley432543d2012-02-23 01:30:56 +0000217 <action issue="COMPRESS-131" type="update" date="2012-02-23">
218 ArrayOutOfBounds while decompressing bz2. Added test case - code already seems to have been fixed.
219 </action>
Sebastian Bazleybc84d202012-02-23 01:03:01 +0000220 <action issue="COMPRESS-178" type="fix" date="2012-02-23">
221 TarArchiveInputStream throws IllegalArgumentException instead of IOException
222 </action>
Sebastian Bazley915e8ef2012-02-23 00:36:15 +0000223 <action issue="COMPRESS-179" type="fix" date="2012-02-23">
224 TarUtils.formatLongOctalOrBinaryBytes() assumes the field will be 12 bytes long
225 </action>
Sebastian Bazley7ee6b672012-02-22 23:42:49 +0000226 <action issue="COMPRESS-175" type="fix" date="2012-02-22">
227 GNU Tar sometimes uses binary encoding for UID and GID
228 </action>
Stefan Bodewiga9331732012-01-29 20:56:50 +0000229 <action issue="COMPRESS-171" type="fix" date="2012-01-29">
230 ArchiveStreamFactory.createArchiveInputStream would claim
231 short text files were TAR archives.
232 </action>
Stefan Bodewige166fa72011-11-03 06:32:25 +0000233 <action issue="COMPRESS-156" type="add" date="2011-11-02">
234 Support for the XZ format has been added.
235 </action>
Stefan Bodewig20fd83a2011-11-07 16:36:51 +0000236 <action issue="COMPRESS-146" type="update" date="2011-11-07">
237 BZip2CompressorInputStream now optionally supports reading of
238 concatenated .bz2 files.
239 </action>
Stefan Bodewigfa237cc2011-11-09 16:18:05 +0000240 <action issue="COMPRESS-154" type="update" date="2011-11-09">
241 GZipCompressorInputStream now optionally supports reading of
242 concatenated .gz files.
243 </action>
Stefan Bodewig34766062011-12-05 15:39:52 +0000244 <action issue="COMPRESS-164" type="fix" date="2011-12-05">
245 ZipFile didn't work properly for archives using unicode extra
246 fields rather than UTF-8 filenames and the EFS-Flag.
247 </action>
Stefan Bodewigc4704be2011-12-07 12:14:59 +0000248 <action issue="COMPRESS-16" type="update" date="2011-12-07">
249 The tar package can now read archives that use star/GNU/BSD
250 extensions for files that are longer than 8 GByte as well as
251 archives that use the POSIX/PAX variant.
252 </action>
Stefan Bodewigf90c1cb2011-12-08 16:43:50 +0000253 <action issue="COMPRESS-165" type="update" date="2011-12-08">
254 The tar package can now write archives that use star/GNU/BSD
255 extensions for files that are longer than 8 GByte as well as
256 archives that use the POSIX/PAX variant.
257 </action>
258 <action issue="COMPRESS-166" type="update" date="2011-12-08">
259 The tar package can now use the POSIX/PAX variant for writing
260 entries with names longer than 100 characters.
261 </action>
Stefan Bodewig00cc49e2011-12-22 17:22:19 +0000262 <action issue="COMPRESS-169" type="fix" date="2011-12-22">
263 For corrupt archives ZipFile would throw a RuntimeException in
264 some cases and an IOException in others. It will now
265 consistently throw an IOException.
266 </action>
Stefan Bodewig3447a362011-11-01 06:16:11 +0000267 </release>
268 <release version="1.3" date="2011-11-01"
Stefan Bodewig7df24262011-07-31 05:43:43 +0000269 description="Release 1.3 - API compatible to 1.2 but requires Java5 at runtime">
Stefan Bodewigf4ff2002011-09-14 15:03:35 +0000270 <action issue="COMPRESS-142" type="add" date="2011-09-14">
271 Support for the Pack200 format has been added.
272 </action>
Stefan Bodewig67248f02011-08-22 05:47:26 +0000273 <action issue="COMPRESS-132" type="add" date="2011-08-17">
274 Read-only support for the format used by the Unix dump(8) tool
275 has been added.
276 </action>
Stefan Bodewig3ae0c502011-08-15 04:13:10 +0000277 <action issue="COMPRESS-36" type="update" date="2011-08-15">
278 The ZIP package now supports Zip64 extensions.
279 </action>
Stefan Bodewig1b915c72011-08-08 11:39:41 +0000280 <action issue="COMPRESS-144" type="update" date="2011-08-08">
281 The AR package now supports the BSD dialect of storing file
282 names longer than 16 chars (both reading and writing).
283 </action>
Stefan Bodewig02991912011-08-08 04:41:15 +0000284 <action type="fix" date="2011-08-08">
Stefan Bodewigc84526b2011-08-08 05:09:25 +0000285 BZip2CompressorInputStream's getBytesRead method always
Stefan Bodewig02991912011-08-08 04:41:15 +0000286 returned 0.
287 </action>
Stefan Bodewigd48f1062011-08-03 13:36:01 +0000288 <action issue="COMPRESS-152" type="fix" date="2011-08-03">
289 ZipArchiveInputStream and ZipArchiveOutputStream could leak
290 resources on some JDKs.
291 </action>
Stefan Bodewigfdac1472011-10-23 12:15:13 +0000292 <action issue="COMPRESS-160" type="fix" date="2011-10-23">
293 TarArchiveOutputStream's getBytesWritten method didn't count
294 correctly.
295 </action>
Stefan Bodewig7df24262011-07-31 05:43:43 +0000296 </release>
297 <release version="1.2" date="2011-07-31"
Stefan Bodewig947e9832011-07-27 03:53:35 +0000298 description="Release 1.2 - a bugfix release, the last release expected to be compatible with Java 1.4">
Stefan Bodewiga9bd2e22011-07-26 14:12:44 +0000299 <action issue="COMPRESS-129" type="fix" date="2011-07-26">
300 ZipArchiveInputStream could fail with a "Truncated ZIP" error
301 message for entries between 2 GByte and 4 GByte in size.
302 </action>
Stefan Bodewigeedeff92011-07-23 04:57:17 +0000303 <action issue="COMPRESS-145" type="fix" date="2011-07-23"
304 due-tue="Patrick Dreyer">
Stefan Bodewig2b90da62011-07-25 05:54:45 +0000305 TarArchiveInputStream now detects sparse entries using the
306 oldgnu format and properly reports it cannot extract their
307 contents.
Stefan Bodewigeedeff92011-07-23 04:57:17 +0000308 </action>
309 <action issue="COMPRESS-123" type="add" date="2011-07-23">
Stefan Bodewig934a96e2011-07-23 04:33:44 +0000310 ZipArchiveEntry has a new method getRawName that provides the
311 original bytes that made up the name. This may allow user
312 code to detect the encoding.
313 </action>
Stefan Bodewig7a76c472011-07-20 14:55:50 +0000314 <action issue="COMPRESS-130" type="fix" date="2011-07-20">
315 The Javadoc for ZipArchiveInputStream#skip now matches the
316 implementation, the code has been made more defensive.
317 </action>
Stefan Bodewig541898f2011-07-20 14:23:20 +0000318 <action issue="COMPRESS-140" type="fix" date="2011-07-20"
319 due-to="Trejkaz">
320 ArArchiveInputStream fails if entries contain only blanks for
321 userId or groupId.
322 </action>
Stefan Bodewigb4d75052011-07-13 13:53:18 +0000323 <action issue="COMPRESS-139" type="fix" date="2011-07-13">
324 ZipFile may leak resources on some JDKs.
325 </action>
Stefan Bodewig8c2e5e62011-04-18 04:28:14 +0000326 <action type="update" date="2011-04-18">
327 ZipFile now implements finalize which closes the underlying
328 file.
329 </action>
Sebastian Bazley60d6b6a2011-03-23 12:50:15 +0000330 <action issue="COMPRESS-117" type="update" date="2011-03-23">
331 Certain tar files not recognised by ArchiveStreamFactory.
332 </action>
Sebastian Bazley9f68b5d2011-03-23 11:17:25 +0000333 <action issue="COMPRESS-125" type="fix" date="2011-03-23">
334 BZip2CompressorInputStream throws IOException if underlying stream returns available() == 0.
335 Removed the check.
336 </action>
Sebastian Bazley8376ecf2011-03-23 11:06:43 +0000337 <action issue="COMPRESS-127" type="fix" date="2011-03-23">
338 Calling close() on inputStream returned by CompressorStreamFactory.createCompressorInputStream()
339 does not close the underlying input stream.
340 </action>
Stefan Bodewig86aaf842010-10-29 15:03:49 +0000341 <action issue="COMPRESS-122" type="add" date="2010-10-29">
342 TarArchiveEntry provides access to the flags that determine
343 whether it is an archived symbolic link, pipe or other
344 "uncommon" file system object.
345 </action>
Stefan Bodewig1eb9dbb2010-10-26 09:44:59 +0000346 <action issue="COMPRESS-119" type="fix" date="2010-10-26">
Sebastian Bazley7dd43012010-10-28 14:15:27 +0000347 TarArchiveOutputStream#finish now writes all buffered data to the stream
Stefan Bodewig1eb9dbb2010-10-26 09:44:59 +0000348 </action>
349 </release>
350 <release version="1.1" date="2010-08-13" description="Release 1.1">
Sebastian Bazley75c87112010-06-02 11:15:23 +0000351 <action issue="COMPRESS-72" type="fix" date="2010-06-02">
352 Move acknowledgements from NOTICE to README
353 </action>
Sebastian Bazley35e4e4f2010-06-02 11:00:25 +0000354 <action issue="COMPRESS-113" type="fix" date="2010-06-02">
355 TarArchiveEntry.parseTarHeader() includes the trailing space/NUL when parsing the octal size
356 </action>
357 <action issue="COMPRESS-108" type="add" date="2010-05-23">
Sebastian Bazleydfc66382010-05-23 11:53:07 +0000358 Command-line interface to list archive contents.
359 Usage: java -jar commons-compress-n.m.jar archive-name [zip|tar|etc]
360 </action>
Sebastian Bazley050db3d2010-05-17 15:09:29 +0000361 <action issue="COMPRESS-118" type="fix" date="2010-05-17">
362 TarUtils.parseName does not properly handle characters outside the range 0-127
363 </action>
Sebastian Bazleyc83d9f72010-05-13 10:25:15 +0000364 <action issue="COMPRESS-112" type="update" date="2010-05-13">
365 ArArchiveInputStream does not handle GNU extended filename records (//)
366 </action>
Sebastian Bazley35e4e4f2010-06-02 11:00:25 +0000367 <action issue="COMPRESS-109" type="add" date="2010-05-10">
Sebastian Bazley23bfa662010-05-10 15:10:27 +0000368 Tar implementation does not support Pax headers
369 Added support for reading pax headers.
370 Note: does not support global pax headers
Sebastian Bazley27dea242010-05-10 17:42:37 +0000371 </action>
Sebastian Bazley23bfa662010-05-10 15:10:27 +0000372 <action issue="COMPRESS-107" type="fix" date="2010-05-10">
373 ArchiveStreamFactory does not recognise tar files created by Ant
Sebastian Bazley27dea242010-05-10 17:42:37 +0000374 </action>
Sebastian Bazley8fcd06e2010-05-09 20:46:59 +0000375 <action issue="COMPRESS-110" type="fix" date="2010-05-09">
376 Support "ustar" prefix field, which is used when file paths are longer
377 than 100 characters.
Sebastian Bazley27dea242010-05-10 17:42:37 +0000378 </action>
Sebastian Bazley69f6d062010-05-05 10:59:58 +0000379 <action type="update" date="2010-04-19" issue="COMPRESS-105">
380 Document that the name of an ZipArchiveEntry determines whether
Sebastian Bazley27dea242010-05-10 17:42:37 +0000381 an entry is considered a directory or not.
Sebastian Bazley69f6d062010-05-05 10:59:58 +0000382 If you don't use the constructor with the File argument the entry's
383 name must end in a "/" in order for the entry to be known as a directory.
384 </action>
Stefan Bodewig03e94a42010-03-19 15:08:23 +0000385 <action type="add" date="2010-03-19" issue="COMPRESS-103">
386 ZipArchiveInputStream can optionally extract data that used
387 the STORED compression method and a data descriptor.
388 Doing so in a stream is not safe in general, so you have to
389 explicitly enable the feature. By default the stream will
390 throw an exception if it encounters such an entry.
391 </action>
Stefan Bodewig62cb9c42010-03-12 16:06:20 +0000392 <action type="fix" date="2010-03-12" issue="COMPRESS-100">
393 ZipArchiveInputStream will throw an exception if it detects an
394 entry that uses a data descriptor for a STORED entry since it
395 cannot reliably find the end of data for this "compression"
396 method.
397 </action>
Stefan Bodewigd7ea9ff2010-03-12 15:35:44 +0000398 <action type="fix" date="2010-03-12" issue="COMPRESS-101">
399 ZipArchiveInputStream should now properly read archives that
400 use data descriptors but without the "unofficial" signature.
401 </action>
Stefan Bodewig30e1cc82010-03-09 11:23:41 +0000402 <action type="add" date="2010-03-09" issue="COMPRESS-98">
403 The ZIP classes will throw specialized exceptions if any
404 attempt is made to read or write data that uses zip features
405 not supported (yet).
406 </action>
Stefan Bodewigade93792010-03-08 12:00:25 +0000407 <action type="add" date="2010-03-08" issue="COMPRESS-99">
408 ZipFile#getEntries returns entries in a predictable order -
409 the order they appear inside the central directory.
410 A new method getEntriesInPhysicalOrder returns entries in
411 order of the entry data, i.e. the order ZipArchiveInputStream
412 would see.
413 </action>
Stefan Bodewige0ffbc12010-02-19 10:59:01 +0000414 <action type="add" date="2010-02-19">
Stefan Bodewige0692ec2010-02-24 15:35:47 +0000415 The Archive*Stream and ZipFile classes now have
416 can(Read|Write)EntryData methods that can be used to check
417 whether a given entry's data can be read/written.
Stefan Bodewiga33505b2010-02-19 12:23:27 +0000418 The method currently returns false for ZIP archives if an
419 entry uses an unsupported compression method or encryption.
Stefan Bodewige0ffbc12010-02-19 10:59:01 +0000420 </action>
421 <action type="add" date="2010-02-19" issue="COMPRESS-89">
422 The ZIP classes now detect encrypted entries.
423 </action>
Sebastian Bazley886f71b2010-04-13 21:21:03 +0000424 <action type="update" date="2010-02-18" issue="COMPRESS-79">
425 Move DOS/Java time conversions into Zip utility class.
426 </action>
Stefan Bodewiga1015f32010-02-18 16:11:13 +0000427 <action type="fix" date="2010-02-18" issue="COMPRESS-74">
428 ZipArchiveInputStream failed to update the number of bytes
429 read properly.
430 </action>
431 <action type="fix" date="2010-02-18">
432 ArchiveInputStream has a new method getBytesRead that should
433 be preferred over getCount since the later may truncate the
434 number of bytes read for big archives.
435 </action>
Stefan Bodewig315b9472010-02-18 14:56:03 +0000436 <action type="fix" date="2010-02-18" issue="COMPRESS-85">
437 The cpio archives created by CpioArchiveOutputStream couldn't
438 be read by many existing native implementations because the
439 archives contained multiple entries with the same inode/device
440 combinations and weren't padded to a blocksize of 512 bytes.
441 </action>
Stefan Bodewig91695e42010-02-16 13:59:03 +0000442 <action type="fix" date="2010-02-16" issue="COMPRESS-73">
443 ZipArchiveEntry, ZipFile and ZipArchiveInputStream are now
444 more lenient when parsing extra fields.
445 </action>
Sebastian Bazley78e0f2c2010-06-01 16:38:13 +0000446 <action issue="COMPRESS-75" type="update" date="2010-02-12">
447 ZipArchiveInputStream does not show location in file where a problem occurred.
448 </action>
Sebastian Bazley886f71b2010-04-13 21:21:03 +0000449 <action type="fix" date="2010-02-12" issue="COMPRESS-82">
450 cpio is terribly slow.
451 Documented that buffered streams are needed for performance
452 </action>
Stefan Bodewig292e1852010-03-04 15:54:09 +0000453 <action type="add" date="2010-02-12" issue="COMPRESS-97">
454 Added autodetection of compression format to
455 CompressorStreamFactory.
456 </action>
Stefan Bodewig124f97c2010-02-12 11:35:14 +0000457 <action type="fix" date="2010-02-12">
458 Improved exception message if the extra field data in ZIP
459 archives cannot be parsed.
460 </action>
Sebastian Bazley886f71b2010-04-13 21:21:03 +0000461 <action type="fix" date="2010-02-11" issue="COMPRESS-17">
462 Tar format unspecified - current support documented.
463 </action>
Stefan Bodewig124f97c2010-02-12 11:35:14 +0000464 <action type="add" issue="COMPRESS-95" date="2010-01-29"
Christian Grobmeiere7517b82010-01-29 07:47:21 +0000465 due-to="Joerg Bellmann">
466 Improve ExceptionMessages in ArchiveStreamFactory
467 </action>
Stefan Bodewig5066e9a2010-01-07 09:34:55 +0000468 <action type="fix" issue="COMPRESS-94" date="2010-01-07"
469 due-to="Anon Devs">
470 ZipArchiveEntry's equals method was broken for entries created
471 with the String-arg constructor. This lead to broken ZIP
472 archives if two different entries had the same hash code.
473 </action>
Stefan Bodewigdc3fc472009-10-30 05:29:17 +0000474 <action type="fix" issue="COMPRESS-87" date="2009-10-30"
475 due-to="Antoni Mylka">
476 ZipArchiveInputStream could repeatedly return 0 on read() when
477 the archive was truncated.
478 </action>
Stefan Bodewig7bb5d882009-10-08 12:07:19 +0000479 <action type="fix" issue="COMPRESS-86" date="2009-10-08">
480 Tar archive entries holding the file name for names longer
481 than 100 characters in GNU longfile mode didn't properly
482 specify they'd be using the "oldgnu" extension.
483 </action>
Stefan Bodewig3e2ddad2009-08-25 08:11:44 +0000484 <action type="add" date="2009-08-25">
485 A new constructor of TarArchiveEntry can create entries with
486 names that start with slashes - the default is to strip
487 leading slashes in order to create relative path names.
488 </action>
Stefan Bodewig7be8ef62009-08-01 20:25:13 +0000489 <action issue="COMPRESS-83" type="fix" date="2009-08-01">
490 Delegate all read and write methods in GZip stream in order to
491 speed up operations.
492 </action>
493 <action type="add" date="2009-08-01">
494 ArchiveEntry now has a getLastModifiedDate method.
495 </action>
496 <action type="fix" date="2009-08-01">
497 The ar and cpio streams now properly read and write last
498 modified times.
499 </action>
Stefan Bodewig2318ba32009-06-30 07:25:44 +0000500 <action issue="COMPRESS-81" type="fix" date="2009-06-30">
501 TarOutputStream can leave garbage at the end of the archive
502 </action>
Stefan Bodewig47b706e2009-06-30 08:23:08 +0000503 <action issue="COMPRESS-78" type="add" date="2009-06-30"
504 due-to="Jukka Zitting">
505 Add a BZip2Utils class modelled after GZipUtils
506 </action>
Stefan Bodewig2318ba32009-06-30 07:25:44 +0000507 </release>
508 <release version="1.0" date="2009-05-21" description="First Public Release">
509 <action dev="all" type="add" date="2009-05-21">
Christian Grobmeier35ac05e2009-05-10 17:32:20 +0000510 Initial release
511 </action>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000512 <action dev="sgoeschl" type="fix">
513 Updating the pom.xml for preparing a move to commons-proper
514 </action>
515 </release>
516 </body>
517</document>