blob: d9929f6f4909591f0c1ba485db3192ade596d51a [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 Bodewigb1e2a022015-08-18 17:49:15 +000045 <release version="1.11" date="not released, yet"
46 description="Release 1.11">
Stefan Bodewig9ff83342016-03-20 21:11:36 +010047 <action issue="COMPRESS-341" type="add" date="2016-03-20">
48 New method SevenZFile.getEntries can be used to list the
49 contents of a 7z archive.
50 </action>
Stefan Bodewig6e9acfa2016-03-17 10:32:00 +010051 <action issue="COMPRESS-343" type="fix" date="2016-03-17"
52 due-to="Rene Preissel">
53 Native Memory Leak in Sevenz-DeflateDecoder.
54 </action>
Stefan Bodewig687b3602016-03-05 21:57:21 +010055 <action type="add" date="2016-03-05"
56 due-to="Matt Hovey">
57 When using Zip64Mode.Always also use ZIP64 extensions inside
58 the central directory.
59 GitHub Pull Request #10
60 </action>
Stefan Bodewigc02b2d52016-03-15 21:32:36 +010061 <action issue="COMPRESS-340" type="fix" date="2016-02-24"
Stefan Bodewig1d66f122016-02-24 15:53:21 +010062 due-to="Dawid Weiss">
63 SevenZFile will now only try to drain an entry's content when
64 moving on to the next entry if data is read from the next
65 entry. This should improve performance for applications that
66 try to skip over entries.
67 </action>
Stefan Bodewig32633c32016-02-14 12:03:15 +010068 <action issue="COMPRESS-336" type="fix" date="2016-02-14">
69 file names of tar archives using the xstar format are now
70 parsed properly.
71 </action>
Stefan Bodewig7250daa2016-02-05 21:20:19 +010072 <action issue="COMPRESS-335" type="fix" date="2016-02-05">
73 checksums of tars that pad the checksum field to the left are
74 now calculated properly.
75 </action>
Stefan Bodewig36335e32016-02-05 18:30:46 +010076 <action issue="COMPRESS-334" type="fix" date="2016-02-05"
77 due-to="Jeremy Gustie">
78 ArArchiveInputStream failed to read past the first entry when
79 BSD long names have been used.
80 </action>
Torsten Curdtb67a1462016-02-03 15:32:11 +010081 <action issue="COMPRESS-333" type="fix" date="2016-02-03" due-to="Dawid Weiss">
82 Added buffering for random access which speeds up 7Z support.
83 </action>
Stefan Bodewig1fb42982016-01-31 13:12:31 +010084 <action issue="COMPRESS-331" type="fix" date="2016-01-31">
85 The checksum validation of TararchiveEntry is now as strict as
86 the validation of GNU tar, which eliminates a few cases of
87 false positives of ArchiveStreamFactory.
88 This behavior is a breaking change since the check has become
89 more strict but any archive that fails the checksum test now
90 would also fail it when extracted with other tools and must be
91 considered an invalid archive.
92 </action>
Stefan Bodewig7a6e5072016-01-29 21:58:12 +010093 <action issue="COMPRESS-323" type="add" date="2016-01-29">
94 ZipFile.getRawInputStream() is now part of the public API
95 </action>
Stefan Bodewig30f1ac12016-01-29 21:33:45 +010096 <action issue="COMPRESS-332" type="fix" date="2016-01-29">
97 SnappyCompressorInputStream and
98 FramedSnappyCompressorInputStream returned 0 at the end of the
99 stream under certain circumstances.
100 </action>
Stefan Bodewige0a76ac2016-01-29 21:43:35 +0100101 <action type="add" date="2016-01-27" due-to="Jason van Zyl">
102 Allow byte-for-byte replication of Zip entries.
103 GitHub Pull Request #6.
104 </action>
105 <action issue="COMPRESS-328" type="add" date="2016-01-15">
106 TarArchiveEntry's preserveLeadingSlashes is now a property and used
107 on later calls to setName, too.
108 This behavior is a breaking change.
109 </action>
Stefan Bodewiga2cda302015-10-24 08:18:59 +0200110 <action issue="COMPRESS-326" type="fix" date="2015-10-24">
111 Adjusted unit test to updates in Java8 and later that change
112 the logic of ZipEntry#getTime.
113 </action>
Stefan Bodewig1930eed2015-10-06 05:37:28 +0200114 <action issue="COMPRESS-324" type="fix" date="2015-10-06">
115 TarArchiveOutputStream will now recognize GNU long name and
116 link entries even if the special entry has a different name
Kristian Rosenvoldaf72adb2015-11-14 10:20:16 +0100117 than GNU tar uses itself. This seems to be the case for
Stefan Bodewig1e592b52015-10-11 10:13:57 +0200118 archives created by star.
Stefan Bodewig1930eed2015-10-06 05:37:28 +0200119 </action>
Stefan Bodewige6e24762015-08-22 19:01:32 +0000120 <action issue="COMPRESS-321" type="fix" date="2015-08-22">
121 ArrayIndexOutOfBoundsException when InfoZIP type 7875 extra
122 fields are read from the central directory.
123 </action>
Stefan Bodewiga184b3a2015-11-11 06:21:25 +0100124 <action type="add" date="2015-11-11" due-to="Sören Glimm">
125 Added read-only support for bzip2 compression used inside of
126 ZIP archives.
127 GitHub Pull Request #4.
128 </action>
Stefan Bodewigb1e2a022015-08-18 17:49:15 +0000129 </release>
130
131 <release version="1.10" date="2015-08-18"
Torsten Curdtb67a1462016-02-03 15:32:11 +0100132 description="Release 1.10
Sebastian Bazleye0c0a102015-02-04 19:05:30 +0000133------------
134
135
136
Torsten Curdtb67a1462016-02-03 15:32:11 +0100137Release 1.10 moves the former
138org.apache.commons.compress.compressors.z._internal_ package which
139breaks backwards compatibility for code which used the old package.
140This also changes the superclass of ZCompressorInputStream.
Sebastian Bazleye0c0a102015-02-04 19:05:30 +0000141">
Kristian Rosenvold70900a32015-01-20 16:20:26 +0000142
Stefan Bodewig8682c8d2015-06-09 04:18:23 +0000143 <action issue="COMPRESS-317" type="fix" date="2015-06-09"
144 due-to="Lucas Werkmeister">
145 ArrayIndexOutOfBoundsException when ZIP extra fields are read
146 and the entry contains an UnparseableExtraField.
147 </action>
Stefan Bodewigb72b5c72015-05-23 15:05:43 +0000148 <action issue="COMPRESS-316" type="add" date="2015-05-23"
Stefan Bodewig8682c8d2015-06-09 04:18:23 +0000149 due-to="Nick Burch">
Stefan Bodewigb72b5c72015-05-23 15:05:43 +0000150 CompressorStreamFactory can now auto-detect DEFLATE streams
151 with ZLIB header.
152 </action>
Stefan Bodewig3c4a09b2015-05-08 19:11:27 +0000153 <action issue="COMPRESS-314" type="fix" date="2015-05-08">
154 TarArchiveInputStream can now read entries with group or
155 user ids &gt; 0x80000000.
156 </action>
157 <action issue="COMPRESS-315" type="fix" date="2015-05-06">
Stefan Bodewig24a31002015-05-06 04:32:48 +0000158 TarArchiveOutputStream can now write entries with group or
159 user ids &gt; 0x80000000.
160 </action>
Stefan Bodewig6e8bb882015-03-30 15:59:17 +0000161 <action issue="COMPRESS-313" type="add" date="2015-03-30">
162 CompressorStreamFactory can now auto-detect LZMA streams.
163 </action>
Stefan Bodewig31b546a2015-03-28 18:58:16 +0000164 <action issue="COMPRESS-312" type="fix" date="2015-03-28">
165 TarArchiveEntry's constructor with a File and a String arg
166 didn't normalize the name.
167 </action>
Stefan Bodewigaf1f8162015-02-20 16:44:36 +0000168 <action issue="COMPRESS-308" type="fix" date="2015-02-20">
169 ZipEncodingHelper no longer reads system properties directly
170 to determine the default charset.
171 </action>
172 <action issue="COMPRESS-309" type="fix" date="2015-02-20">
Stefan Bodewig5cf68bd2015-02-20 16:18:00 +0000173 BZip2CompressorInputStream#read would return -1 when asked to
174 read 0 bytes.
175 </action>
Stefan Bodewig4355c0d2015-02-20 16:21:26 +0000176 <action issue="COMPRESS-306" type="fix" date="2015-02-17">
Sebastian Bazleyd50feb62015-02-16 23:13:01 +0000177 ArchiveStreamFactory fails to pass on the encoding when creating some streams.
178 * ArjArchiveInputStream
179 * CpioArchiveInputStream
180 * DumpArchiveInputStream
181 * JarArchiveInputStream
182 * TarArchiveInputStream
183 * JarArchiveOutputStream
184 </action>
Stefan Bodewig4355c0d2015-02-20 16:21:26 +0000185 <action issue="COMPRESS-302" type="fix" date="2015-02-16">
Sebastian Bazley0b33b142015-02-15 23:09:26 +0000186 Restore immutability/thread-safety to ArchiveStreamFactory.
187 The class is now immutable provided that the method setEntryEncoding is not used.
188 The class is thread-safe.
189 </action>
Stefan Bodewig4355c0d2015-02-20 16:21:26 +0000190 <action issue="COMPRESS-303" type="fix" date="2015-02-16">
Sebastian Bazley121cae72015-02-15 22:49:01 +0000191 Restore immutability/thread-safety to CompressorStreamFactory.
192 The class is now immutable provided that the method setDecompressConcatenated is not used.
193 The class is thread-safe.
194 </action>
Stefan Bodewigf24b9fd2015-03-28 19:00:01 +0000195 <action issue="COMPRESS-298" type="fix" date="2015-01-20">
196 SevenZFile now throws the specific PasswordRequiredException
197 when it encounters an encrypted stream but no password has
198 been specified.
199 </action>
200 <action issue="COMPRESS-290" type="fix" date="2015-01-13"
201 due-to="Kristian Rosenvold">
202 Improved error message when tar encounters a groupId that is
203 too big to write without using the STAR or POSIX format.
204 </action>
Stefan Bodewig4355c0d2015-02-20 16:21:26 +0000205 <action issue="COMPRESS-296" type="add" date="2015-01-10"
Kristian Rosenvold70900a32015-01-20 16:20:26 +0000206 due-to="Kristian Rosenvold">
207 Added support for parallel compression. This low-level API allows
208 a client to build a zip/jar file by using the class
209 org.apache.commons.compress.archivers.zip.ParallelScatterZipCreator.
210
211 Zip documentation updated with further notes about parallel features.
212
213 Please note that some aspects of jar creation need to be
Sebastian Bazleye0c0a102015-02-04 19:05:30 +0000214 handled by client code and is not part of commons-compress for this
215 release.
Kristian Rosenvold70900a32015-01-20 16:20:26 +0000216 </action>
Kristian Rosenvold14187052014-12-24 14:00:44 +0000217 <action type="add" date="2014-12-24"
218 due-to="Kristian Rosenvold">
219 Cut overall object instantiation in half by changing file
220 header generation algorithm, for a 10-15 percent performance
221 improvement.
222
223 Also extracted two private methods createLocalFileHeader
224 and createCentralFileHeader in ZipArchiveOutputStream.
225 These may have some interesting additional usages in the
226 near future.
227 </action>
Stefan Bodewigf24b9fd2015-03-28 19:00:01 +0000228 <action issue="COMPRESS-297" type="fix" date="2014-12-22">
229 ZipFile logs a warning in its finalizer when its constructor
230 has thrown an exception reading the file - for example if the
231 file doesn't exist.
Stefan Bodewig7ac9b8e2014-11-01 11:31:32 +0000232 </action>
Sebastian Bazley8e7d71f2015-02-15 22:42:13 +0000233 <action issue="COMPRESS-295" type="add" date="2014-12-18"
Stefan Bodewigbc685792014-12-23 17:48:03 +0000234 due-to="Kristian Rosenvold">
235 New methods in ZipArchiveOutputStream and ZipFile allows
236 entries to be copied from one archive to another without
237 having to re-compress them.
238 </action>
Stefan Bodewigf24b9fd2015-03-28 19:00:01 +0000239 <action type="update" date="2014-10-28"
240 due-to="Damjan Jovanovic">
241 Moved the package
242 org.apache.commons.compress.compressors.z._internal_ to
243 org.apache.commons.compress.compressors.lzw and made it part
244 of the API that is officially supported. This will break
245 existing code that uses the old package.
Stefan Bodewige707c822015-01-20 14:24:34 +0000246 </action>
Stefan Bodewigde633062014-10-09 12:00:48 +0000247 </release>
248
249 <release version="1.9" date="2014-10-09"
Stefan Bodewigb7b5e5e2014-05-14 12:38:21 +0000250 description="Release 1.9">
Stefan Bodewig5c0f2b22014-06-14 05:22:42 +0000251 <action type="add" date="2014-06-14" issue="COMPRESS-263"
252 due-to="Matthias Stevens">
253 Added support for DEFLATE streams without any gzip framing.
254 </action>
Stefan Bodewig7e6c7132014-08-14 05:41:40 +0000255 <action type="fix" date="2014-08-14" issue="COMPRESS-287">
256 When reading 7z files unknown file properties and properties
257 of type kDummy are now ignored.
258 </action>
Stefan Bodewigf86a4982014-08-21 18:39:19 +0000259 <action type="fix" date="2014-08-21" issue="COMPRESS-286">
260 Expanding 7z archives using LZMA compression could cause an
261 EOFException.
262 </action>
Stefan Bodewig8d547ca2014-08-31 19:14:28 +0000263 <action type="update" date="2014-08-31" issue="COMPRESS-285">
264 Checking for XZ for Java may be expensive. The result will
265 now be cached outside of an OSGi environment. You can use the
266 new XZUtils#setCacheXZAvailability to overrride this default
267 behavior.
268 </action>
Stefan Bodewig99dfe902014-09-19 17:49:27 +0000269 <action type="fix" date="2014-09-19" issue="COMPRESS-289"
270 due-to="Bob Robertson">
Stefan Bodewig23d15f62014-09-19 18:08:41 +0000271 Long-Name and -link or PAX-header entries in TAR archives
272 always had the current time as last modfication time, creating
Stefan Bodewig2ebeef52014-09-21 09:09:12 +0000273 archives that are different at the byte level each time an
Stefan Bodewig23d15f62014-09-19 18:08:41 +0000274 archive was built.
Stefan Bodewig99dfe902014-09-19 17:49:27 +0000275 </action>
Stefan Bodewigb7b5e5e2014-05-14 12:38:21 +0000276 </release>
277
278 <release version="1.8.1" date="2014-05-14"
Stefan Bodewigb32018e2014-05-09 04:24:48 +0000279 description="Release 1.8.1">
Emmanuel Bourg61792c92014-03-19 12:28:16 +0000280 <action type="update" date="2014-03-19">
281 The dependency on org.tukaani:xz is now marked as optional.
282 </action>
Stefan Bodewig627e1bb2014-03-28 16:29:24 +0000283 <action type="fix" date="2014-03-28" issue="COMPRESS-270">
284 The snappy, ar and tar inputstreams might fail to read from a
285 non-buffered stream in certain cases.
286 </action>
Stefan Bodewigc5f9ceb2014-04-12 16:16:53 +0000287 <action type="add" date="2014-04-12" issue="COMPRESS-272">
288 CompressorStreamFactory can now auto-detect Unix compress
289 (".Z") streams.
290 </action>
Stefan Bodewigc28a1c02014-04-13 08:34:35 +0000291 <action type="fix" date="2014-04-12" issue="COMPRESS-277">
Stefan Bodewig557800a2014-04-12 17:05:57 +0000292 IOUtils#skip might skip fewer bytes than requested even though
293 more could be read from the stream.
294 </action>
Stefan Bodewigc28a1c02014-04-13 08:34:35 +0000295 <action type="fix" date="2014-04-13" issue="COMPRESS-276">
Stefan Bodewigaa0c7052014-04-13 08:32:47 +0000296 ArchiveStreams now validate there is a current entry before
Stefan Bodewigc42e4912014-05-12 06:25:10 +0000297 reading or writing entry data.
Stefan Bodewigaa0c7052014-04-13 08:32:47 +0000298 </action>
Stefan Bodewiga1379c02014-04-13 08:38:31 +0000299 <action type="fix" date="2014-04-13">
300 ArjArchiveInputStream#canReadEntryData tested the current
301 entry of the stream rather than its argument.
302 </action>
Stefan Bodewig8e5f6652014-04-13 08:56:31 +0000303 <action type="fix" date="2014-04-13" issue="COMPRESS-274">
304 ChangeSet#delete and deleteDir now properly deal with unnamed
305 entries.
306 </action>
Stefan Bodewig383d9032014-04-18 14:29:36 +0000307 <action type="fix" date="2014-04-18" issue="COMPRESS-273">
Stefan Bodewig5ab06da2014-04-18 14:13:44 +0000308 Added a few null checks to improve robustness.
309 </action>
Stefan Bodewig1ea7e012014-04-19 06:00:19 +0000310 <action type="fix" date="2014-04-19" issue="COMPRESS-278">
311 TarArchiveInputStream failed to read archives with empty
312 gid/uid fields.
313 </action>
Stefan Bodewigddb5fd62014-04-27 09:15:33 +0000314 <action type="fix" date="2014-04-27" issue="COMPRESS-279">
315 TarArchiveInputStream now again throws an exception when it
316 encounters a truncated archive while reading from the last
317 entry.
318 </action>
Stefan Bodewigc9c15652014-05-02 04:28:04 +0000319 <action type="fix" date="2014-05-02" issue="COMPRESS-280"
320 due-to="BELUGA BEHR">
321 Adapted TarArchiveInputStream#skip to the modified
322 IOUtils#skip method.
323 </action>
Stefan Bodewiga0a8f3c2014-03-12 22:40:31 +0000324 </release>
325 <release version="1.8" date="2014-03-12"
Stefan Bodewigad634c02014-01-20 05:20:29 +0000326 description="Release 1.8">
Stefan Bodewig71e4eea2014-01-20 13:26:08 +0000327 <action issue="COMPRESS-253" type="fix" date="2014-01-20">
328 BZip2CompressorInputStream read fewer bytes than possible from
329 a truncated stream.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100330 </action>
Stefan Bodewigcbb5a1a2014-01-22 05:13:34 +0000331 <action issue="COMPRESS-253" type="fix" date="2014-01-22">
332 SevenZFile failed claiming the dictionary was too large when
333 archives used LZMA compression for headers and content and
Stefan Bodewigd3cbe222014-02-22 19:42:23 +0000334 certain non-default dictionary sizes.
Stefan Bodewigcbb5a1a2014-01-22 05:13:34 +0000335 </action>
Stefan Bodewig07b15a12014-01-24 14:41:14 +0000336 <action issue="COMPRESS-259" type="fix" date="2014-01-24">
337 CompressorStreamFactory.createCompressorInputStream with
338 explicit compression did not honor decompressConcatenated
339 </action>
Stefan Bodewig7c068db2014-02-20 16:03:23 +0000340 <action issue="COMPRESS-260" type="add" date="2014-02-20">
341 GzipCompressorInputStream now provides access to the same
342 metadata that can be provided via GzipParameters when writing
343 a gzip stream.
344 </action>
Stefan Bodewig8da37722014-02-21 05:20:08 +0000345 <action issue="COMPRESS-262" type="fix" date="2014-02-21">
346 TarArchiveInputStream will now read archives created by tar
347 implementations that encode big numbers by not adding a
348 trailing NUL.
349 </action>
Stefan Bodewigaed56112014-02-21 14:21:12 +0000350 <action issue="COMPRESS-264" type="fix" date="2014-02-21">
351 ZipArchiveInputStream would return NUL bytes for the first 512
352 bytes of a STORED entry if it was the very first entry of the
353 archive.
354 </action>
Stefan Bodewigc608c332014-02-22 07:00:42 +0000355 <action issue="COMPRESS-265" type="fix" date="2014-02-22">
356 When writing PAX/POSIX headers for TAR entries with
357 backslashes or certain non-ASCII characters in their name
358 TarArchiveOutputStream could fail.
359 </action>
Stefan Bodewiga99d1e32014-02-22 19:19:30 +0000360 <action issue="COMPRESS-267" type="fix" date="2014-02-22">
361 ArchiveStreamFactory now throws a StreamingNotSupported - a
362 new subclass of ArchiveException - if it is asked to read from
363 or write to a stream and Commons Compress doesn't support
364 streaming for the format. This currently only applies to the
365 7z format.
366 </action>
Stefan Bodewig1144ed72014-02-25 12:10:43 +0000367 <action issue="COMPRESS-266" type="add" date="2014-02-25">
368 SevenZOutputFile now supports chaining multiple
369 compression/encryption/filter methods and passing options to
370 the methods.
371 </action>
Stefan Bodewig845b3702014-02-26 05:05:53 +0000372 <action issue="COMPRESS-261" type="add" date="2014-02-26">
373 The (compression) method(s) can now be specified per entry in
374 SevenZOutputFile.
375 </action>
Stefan Bodewig891f0562014-02-26 20:33:05 +0000376 <action issue="COMPRESS-258" type="add" date="2014-02-26">
377 SevenZArchiveEntry "knows" which method(s) have been used to
378 write it to the archive.
379 </action>
Stefan Bodewige9364362014-02-28 16:05:02 +0000380 <action type="add" date="2014-02-28">
381 The 7z package now supports the delta filter as method.
382 </action>
Stefan Bodewig59c17802014-03-03 11:17:59 +0000383 <action issue="COMPRESS-257" type="add" date="2014-03-03">
384 The 7z package now supports BCJ filters for several platforms.
Stefan Bodewig2db47812014-03-08 17:18:24 +0000385 You will need a version &gt;= 1.5 of XZ for Java to read archives
Stefan Bodewig59c17802014-03-03 11:17:59 +0000386 using BCJ, though.
387 </action>
Stefan Bodewigad634c02014-01-20 05:20:29 +0000388 </release>
389 <release version="1.7" date="2014-01-20"
Stefan Bodewig61741ad2013-10-26 05:19:05 +0000390 description="Release 1.7">
Stefan Bodewigb3302332013-12-06 05:26:38 +0000391 <action issue="COMPRESS-241" type="fix" date="2013-10-27">
Stefan Bodewig46600212013-10-27 17:43:14 +0000392 SevenZOutputFile#closeArchiveEntry throws an exception when
393 using LZMA2 compression on Java8.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100394 </action>
Stefan Bodewigb0cd9d42013-12-06 05:33:38 +0000395 <action issue="COMPRESS-147" type="add" date="2013-11-07"
396 due-to="BELUGA BEHR">
397 Read-Only support for Snappy compression.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100398 </action>
Stefan Bodewigdb0ea952013-11-27 05:35:26 +0000399 <action issue="COMPRESS-244" type="fix" date="2013-11-27"
400 due-to="Nico Kruber">
401 7z reading of big 64bit values could be wrong.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100402 </action>
Stefan Bodewigb0cd9d42013-12-06 05:33:38 +0000403 <action issue="COMPRESS-243" type="add" date="2013-11-30"
404 due-to="Damjan Jovanovic">
405 Read-Only support for .Z compressed files.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100406 </action>
Stefan Bodewig408b4a52013-12-15 14:03:43 +0000407 <action type="add" date="2013-12-06" due-to="Damjan Jovanovic">
Emmanuel Bourg1b47ffe2013-12-19 12:30:01 +0000408 ZipFile and ZipArchiveInputStream now support reading entries compressed using the
Stefan Bodewig408b4a52013-12-15 14:03:43 +0000409 SHRINKING method.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100410 </action>
Stefan Bodewig2221ee82013-12-06 05:22:12 +0000411 <action issue="COMPRESS-245" type="fix" date="2013-12-06">
412 TarArchiveInputStream could fail to read an archive completely.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100413 </action>
Stefan Bodewig09a41992013-12-08 19:14:25 +0000414 <action issue="COMPRESS-242" type="fix" date="2013-12-08">
415 The time-setters in X5455_ExtendedTimestamp now set the
416 corresponding flags explicitly - i.e. they set the bit if the
417 valus is not-null and reset it otherwise. This may cause
418 incompatibilities if you use setFlags to unset a bit and later
419 set the time to a non-null value - the flag will now be set.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100420 </action>
Stefan Bodewigd3cbe222014-02-22 19:42:23 +0000421 <action issue="COMPRESS-250" type="add" date="2013-12-16" due-to="Emmanuel Bourg">
Stefan Bodewig30e3ded2013-12-18 14:58:23 +0000422 GzipCompressorOutputStream now supports setting the compression level and the header metadata
423 (filename, comment, modification time, operating system and extra flags)
424 </action>
Stefan Bodewigd3cbe222014-02-22 19:42:23 +0000425 <action issue="COMPRESS-115" type="add" date="2013-12-19" due-to="Emmanuel Bourg">
Emmanuel Bourgf9487ac2013-12-19 16:09:54 +0000426 ZipFile and ZipArchiveInputStream now support reading entries compressed using the IMPLODE method.
427 </action>
Stefan Bodewigd3cbe222014-02-22 19:42:23 +0000428 <action issue="COMPRESS-252" type="fix" date="2013-12-20">
Stefan Bodewig96947342014-01-08 05:18:49 +0000429 SevenZOutputFile would create invalid archives if more than
430 six empty files or directories were included.
431 </action>
Stefan Bodewig34ad7f32013-12-20 14:52:13 +0000432 <action type="add" date="2013-12-20">
433 ZipFile and the 7z file classes now implement Closeable and
434 can be used in try-with-resources constructs.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100435 </action>
Stefan Bodewig61741ad2013-10-26 05:19:05 +0000436 </release>
437 <release version="1.6" date="2013-10-26"
Stefan Bodewiga7be29e2013-03-14 08:37:14 +0000438 description="Release 1.6">
Stefan Bodewigd4baeb12013-04-25 13:36:09 +0000439 <action type="fix" date="2013-04-25" issue="COMPRESS-223"
440 due-to="Jeremy Gustie">
441 TarBuffer.tryToConsumeSecondEOFRecord could throw a
442 NullPointerException
443 </action>
Stefan Bodewig026afc52013-06-04 04:26:51 +0000444 <action type="add" date="2013-05-07" issue="COMPRESS-54"
445 due-to="Damjan Jovanovic">
Stefan Bodewig40e16cc2013-09-29 06:35:11 +0000446 Added support for 7z archives. Most compression algorithms
Stefan Bodewigc90c2df2013-10-11 14:27:59 +0000447 can be read and written, LZMA and encryption are only
448 supported when reading.
Stefan Bodewig026afc52013-06-04 04:26:51 +0000449 </action>
450 <action type="add" date="2013-05-19" issue="COMPRESS-226"
451 due-to="Damjan Jovanovic">
452 Added read-only support for ARJ archives that don't use
453 compression.
454 </action>
Stefan Bodewige860d2f2013-05-26 17:36:35 +0000455 <action type="fix" date="2013-05-26" issue="COMPRESS-228">
456 Parsing of zip64 extra fields has become more lenient in order
457 to be able to read archives created by DotNetZip and maybe
458 other archivers as well.
459 </action>
Stefan Bodewig601e4d72013-06-03 09:20:30 +0000460 <action type="fix" date="2013-06-03" issue="COMPRESS-229"
461 due-to="Christoph Gysin">
462 TAR will now properly read the names of symbolic links with
463 long names that use the GNU variant to specify the long file
464 name.
465 </action>
Stefan Bodewig026afc52013-06-04 04:26:51 +0000466 <action type="fix" date="2013-06-04" issue="COMPRESS-227">
Stefan Bodewig866f6d22013-08-09 07:13:06 +0000467 ZipFile#getInputStream could return null if the archive
Stefan Bodewig026afc52013-06-04 04:26:51 +0000468 contained duplicate entries.
469 The class now also provides two new methods to obtain all
470 entries of a given name rather than just the first one.
471 </action>
Stefan Bodewigd57a6622013-07-08 14:25:37 +0000472 <action type="update" date="2013-07-08" issue="COMPRESS-232"
473 due-to="BELUGA BEHR">
474 Readabilty patch to TarArchiveInputStream.
475 </action>
Stefan Bodewig040e42d2013-08-08 16:18:45 +0000476 <action type="update" date="2013-08-08" issue="COMPRESS-234"
Stefan Bodewigd2bcb032013-07-08 15:09:16 +0000477 due-to="BELUGA BEHR">
Stefan Bodewiga671a702013-08-08 15:57:55 +0000478 Performance improvements to TarArchiveInputStream, in
479 particular to the skip method.
Stefan Bodewigd2bcb032013-07-08 15:09:16 +0000480 </action>
Stefan Bodewig040e42d2013-08-08 16:18:45 +0000481 <action type="fix" date="2013-08-08" issue="COMPRESS-236"
482 due-to="Andrew Duffy">
483 CpioArchiveInputStream failed to read archives created by
484 Redline RPM.
485 </action>
Stefan Bodewig2ba22032013-08-09 06:51:18 +0000486 <action type="fix" date="2013-08-09" issue="COMPRESS-237"
487 due-to="Emmanuel Bourg">
488 TarArchiveOutputStream now properly handles link names that
489 are too long to fit into a traditional TAR header.
490 </action>
Stefan Bodewig5972cab2013-08-10 16:22:49 +0000491 <action type="add" date="2013-08-10">
492 DumpArchiveInputStream now supports an encoding parameter that
Stefan Bodewig90b73bf2013-08-10 17:04:41 +0000493 can be used to specify the encoding of file names.
494 </action>
495 <action type="add" date="2013-08-10">
496 The CPIO streams now support an encoding parameter that can be
497 used to specify the encoding of file names.
Stefan Bodewig5972cab2013-08-10 16:22:49 +0000498 </action>
Stefan Bodewig4a154172013-10-13 04:06:16 +0000499 <action type="add" date="2013-09-22" issue="COMPRESS-111">
Stefan Bodewig40e16cc2013-09-29 06:35:11 +0000500 Read-only support for LZMA standalone compression has been added.
501 </action>
Stefan Bodewigf3d34aa2013-10-04 13:25:44 +0000502 <action type="fix" date="2013-10-04" issue="COMPRESS-239">
503 The auto-detecting create*InputStream methods of Archive and
504 CompressorStreamFactory could fail to detect the format of
Stefan Bodewigc90c2df2013-10-11 14:27:59 +0000505 blocking input streams.
Stefan Bodewigf3d34aa2013-10-04 13:25:44 +0000506 </action>
Stefan Bodewig61741ad2013-10-26 05:19:05 +0000507 <action type="fix" date="2013-10-21" issue="COMPRESS-240"
508 due-to="Gary Gregory">
509 ZipEncodingHelper.isUTF8(String) does not check all UTF-8 aliases.
510 </action>
Stefan Bodewiga7be29e2013-03-14 08:37:14 +0000511 </release>
512 <release version="1.5" date="2013-03-14"
Stefan Bodewig9bdacbf2012-07-07 05:30:40 +0000513 description="Release 1.5">
Sebastian Bazley853576a2013-02-19 17:18:57 +0000514 <action type="fix" date="2012-02-19" issue="COMPRESS-218"
515 due-to="Gili">
516 Typo in CompressorStreamFactory Javadoc
517 </action>
Stefan Bodewigc96b2e22012-07-08 18:55:06 +0000518 <action type="update" date="2012-07-08" issue="COMPRESS-188"
519 due-to="Harald Kuhn">
520 Improved exception message if a zip archive cannot be read
521 because of an unsupported compression method.
522 </action>
Stefan Bodewig2ab43b02012-07-07 19:34:11 +0000523 <action type="update" date="2012-07-07" issue="COMPRESS-192"
524 due-to="Jukka Zitting">
525 ArchiveStreamFactory has a setting for file name encoding that
526 sets up encoding for ZIP and TAR streams.
527 </action>
Stefan Bodewig9bdacbf2012-07-07 05:30:40 +0000528 <action type="fix" date="2012-07-07" issue="COMPRESS-191"
529 due-to="Jukka Zitting">
530 ArchiveStreamFactory's tar stream detection created false
531 positives for AIFF files.
532 </action>
533 <action type="update" date="2012-07-07" issue="COMPRESS-191"
534 due-to="Jukka Zitting">
535 TarArchiveEntry now has a method to verify its checksum.
536 </action>
Stefan Bodewig73603cd2012-12-27 18:28:24 +0000537 <action type="fix" date="2012-12-27" issue="COMPRESS-199"
538 due-to="Jukka Zitting">
Stefan Bodewigb19fe702013-01-31 14:20:14 +0000539 XZ for Java didn't provide an OSGi bundle. Compress'
Stefan Bodewig73603cd2012-12-27 18:28:24 +0000540 dependency on it has now been marked optional so Compress
541 itself can still be used in an OSGi context.
542 </action>
Stefan Bodewigca5721d2012-12-28 17:34:54 +0000543 <action type="fix" date="2012-12-27" issue="COMPRESS-200"
544 due-to="Christian Schlichtherle">
Stefan Bodewige9d7bcf2012-12-27 20:54:42 +0000545 When specifying the encoding explicitly TarArchiveOutputStream
546 would write unreadable names in GNU mode or even cause errors
547 in POSIX mode for file names longer than 66 characters.
548 </action>
Stefan Bodewig09b8f6d2012-12-27 21:34:35 +0000549 <action type="fix" date="2012-12-27" issue="COMPRESS-203">
550 Writing TAR PAX headers failed if the generated entry name
551 ended with a "/".
552 </action>
Stefan Bodewigca5721d2012-12-28 17:34:54 +0000553 <action type="fix" date="2012-12-28" issue="COMPRESS-189"
554 due-to="Daniel Lowe">
Stefan Bodewige2cf4122012-12-28 06:53:21 +0000555 ZipArchiveInputStream sometimes failed to provide input to the
556 Inflater when it needed it, leading to reads returning 0.
557 </action>
Stefan Bodewig376f7d62013-01-01 11:11:26 +0000558 <action type="update" date="2013-01-01">
559 Split/spanned ZIP archives are now properly detected by
560 ArchiveStreamFactory but will cause an
561 UnsupportedZipFeatureException when read.
562 </action>
563 <action type="update" date="2013-01-01" issue="COMPRESS-208">
564 ZipArchiveInputStream now reads archives that start with a
565 "PK00" signature. Archives with this signatures are created
566 when the archiver was willing to split the archive but in the
Torsten Curdtb67a1462016-02-03 15:32:11 +0100567 end only needed a single segment - so didn't split anything.
Stefan Bodewig376f7d62013-01-01 11:11:26 +0000568 </action>
Stefan Bodewig65837142013-01-01 17:30:48 +0000569 <action type="update" date="2013-01-01" issue="COMPRESS-201">
570 TarArchiveEntry has a new constructor that allows setting
571 linkFlag and preserveLeadingSlashes at the same time.
572 </action>
Stefan Bodewigec0f5852013-01-01 18:33:33 +0000573 <action type="update" date="2013-01-01" issue="COMPRESS-159">
574 ChangeSetPerformer has a new perform overload that uses a
575 ZipFile instance as input.
576 </action>
Stefan Bodewigf4044dd2013-01-04 15:59:38 +0000577 <action type="fix" date="2013-01-04" issue="COMPRESS-212">
578 TarArchiveInputStream ignored the encoding for GNU long name
579 entries.
580 </action>
Stefan Bodewiga2f978e2013-01-05 19:28:42 +0000581 <action type="update" date="2013-01-05" issue="COMPRESS-172"
582 due-to="Thomas Mair">
583 Garbage collection pressure has been reduced by reusing
584 temporary byte arrays in classes.
585 </action>
Julius Davies2a2c5fc2013-01-08 22:16:17 +0000586 <action type="update" date="2013-01-08" issue="COMPRESS-210"
587 due-to="Julius Davies">
588 Can now handle zip extra field 0x5455 - Extended Timestamp.
589 </action>
590 <action type="update" date="2013-01-07" issue="COMPRESS-211"
591 due-to="Julius Davies">
592 handle zip extra field 0x7875 - Info Zip New Unix Extra Field.
593 </action>
594 <action type="update" date="2013-01-07" issue="COMPRESS-213"
595 due-to="Julius Davies">
596 ZipShort, ZipLong, ZipEightByteInteger should implement Serializable
597 </action>
Stefan Bodewigdf4c4792013-01-19 14:02:01 +0000598 <action type="update" date="2013-01-14" issue="COMPRESS-214"
599 due-to="Julius Davies">
600 better support for unix symlinks in ZipFile entries
601 </action>
602 <action type="update" date="2013-01-19" issue="COMPRESS-215"
603 due-to="Robin Power">
604 ZipFile's initialization has been improved for non-Zip64
605 archives.
Julius Davies8f398dd2013-01-14 21:47:51 +0000606 </action>
Stefan Bodewig79a7d822013-01-20 19:10:24 +0000607 <action type="fix" date="2013-01-20" issue="COMPRESS-206"
608 due-to="Peter De Maeyer">
609 TarArchiveInputStream could leave the second EOF record
610 inside the stream it had just finished reading.
611 </action>
Stefan Bodewig31610932013-01-20 19:32:30 +0000612 <action type="fix" date="2013-01-20">
613 DumpArchiveInputStream no longer implicitly closes the
614 original input stream when it reaches the end of the
615 archive.
616 </action>
Stefan Bodewig7181d542013-01-22 12:45:24 +0000617 <action type="fix" date="2013-01-22">
618 ZipArchiveInputStream now consumes the remainder of the
619 archive when getNextZipEntry returns null.
620 </action>
Stefan Bodewigbb74f0c2013-01-27 09:45:53 +0000621 <action type="fix" date="2013-01-27" issue="COMPRESS-205"
622 due-to="Daniel Lowe">
623 Unit tests could fail if the source tree was checked out to
624 a directory tree containign spaces.
625 </action>
Stefan Bodewig6caf54d2013-01-31 14:19:04 +0000626 <action type="update" date="2013-01-31">
627 Updated XZ for Java dependency to 1.2 as this version
628 provides proper OSGi manifest attributes.
629 </action>
Stefan Bodewigd9b55962013-02-20 19:22:39 +0000630 <action type="fix" date="2013-02-20" issue="COMPRESS-219">
631 Fixed a potential ArrayIndexOutOfBoundsException when
632 reading STORED entries from ZipArchiveInputStream.
633 </action>
Stefan Bodewig62200b42013-03-07 16:16:32 +0000634 <action type="fix" date="2013-03-07" issue="COMPRESS-221">
635 CompressorStreamFactory can now be used without XZ for Java
636 being available.
637 </action>
Stefan Bodewig01c3fe92013-03-07 16:24:37 +0000638 <action type="add" date="2013-03-07" issue="COMPRESS-220">
639 CompressorStreamFactory has an option to create
640 decompressing streams that decompress the full input for
641 formats that support multiple concatenated streams.
642 </action>
Stefan Bodewig9bdacbf2012-07-07 05:30:40 +0000643 </release>
Stefan Bodewigc5674662012-05-23 14:11:38 +0000644 <release version="1.4.1" date="2012-05-23"
Stefan Bodewig15883a62012-05-20 18:44:25 +0000645 description="Release 1.4.1">
646 <action type="fix" date="2012-05-20">
647 Ported libbzip2's fallback sort algorithm to
648 BZip2CompressorOutputStream to speed up compression in certain
649 edge cases.
Stefan Bodewigc5674662012-05-23 14:11:38 +0000650 Using specially crafted inputs this can be used as a denial
651 of service attack. See the security reports page for details.
Stefan Bodewig15883a62012-05-20 18:44:25 +0000652 </action>
Stefan Bodewigbbb461e2012-04-11 05:00:20 +0000653 </release>
654 <release version="1.4" date="2012-04-11"
Stefan Bodewig3447a362011-11-01 06:16:11 +0000655 description="Release 1.4">
Stefan Bodewig96292652012-03-24 05:32:31 +0000656 <action issue="COMPRESS-183" type="fix" date="2012-03-24">
657 The tar package now allows the encoding of file names to be
658 specified and can optionally use PAX extension headers to
659 write non-ASCII file names.
660 The stream classes now write (or expect to read) archives that
661 use the platform's native encoding for file names. Apache
662 Commons Compress 1.3 used to strip everything but the lower
663 eight bits of each character which effectively only worked for
664 ASCII and ISO-8859-1 file names.
665 This new default behavior is a breaking change.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100666 </action>
Stefan Bodewig4f42b002012-03-23 13:58:04 +0000667 <action issue="COMPRESS-184" type="fix" date="2012-03-23">
Stefan Bodewigc2bc7a42012-03-23 13:47:59 +0000668 TarArchiveInputStream failed to parse PAX headers that
669 contained non-ASCII characters.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100670 </action>
Stefan Bodewig42398712012-03-10 06:45:36 +0000671 <action issue="COMPRESS-182" type="update" date="2012-03-02">
672 The tar package can now write archives that use star/GNU/BSD
673 extensions or use the POSIX/PAX variant to store numeric
674 values that don't fit into the traditional header fields.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100675 </action>
Stefan Bodewig40f2e632012-03-02 19:59:50 +0000676 <action issue="COMPRESS-181" type="update" date="2012-03-02">
677 Added a workaround for a Bug some tar implementations that add
678 a NUL byte as first byte in numeric header fields.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100679 </action>
Stefan Bodewigc75c10f2012-02-28 05:00:26 +0000680 <action issue="COMPRESS-176" type="update" date="2012-02-28">
681 Added a workaround for a Bug in WinZIP which uses backslashes
682 as path separators in Unicode Extra Fields.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100683 </action>
Sebastian Bazley432543d2012-02-23 01:30:56 +0000684 <action issue="COMPRESS-131" type="update" date="2012-02-23">
685 ArrayOutOfBounds while decompressing bz2. Added test case - code already seems to have been fixed.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100686 </action>
Sebastian Bazleybc84d202012-02-23 01:03:01 +0000687 <action issue="COMPRESS-178" type="fix" date="2012-02-23">
688 TarArchiveInputStream throws IllegalArgumentException instead of IOException
Torsten Curdtb67a1462016-02-03 15:32:11 +0100689 </action>
Sebastian Bazley915e8ef2012-02-23 00:36:15 +0000690 <action issue="COMPRESS-179" type="fix" date="2012-02-23">
691 TarUtils.formatLongOctalOrBinaryBytes() assumes the field will be 12 bytes long
Torsten Curdtb67a1462016-02-03 15:32:11 +0100692 </action>
Sebastian Bazley7ee6b672012-02-22 23:42:49 +0000693 <action issue="COMPRESS-175" type="fix" date="2012-02-22">
694 GNU Tar sometimes uses binary encoding for UID and GID
Torsten Curdtb67a1462016-02-03 15:32:11 +0100695 </action>
Stefan Bodewiga9331732012-01-29 20:56:50 +0000696 <action issue="COMPRESS-171" type="fix" date="2012-01-29">
697 ArchiveStreamFactory.createArchiveInputStream would claim
698 short text files were TAR archives.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100699 </action>
Stefan Bodewige166fa72011-11-03 06:32:25 +0000700 <action issue="COMPRESS-156" type="add" date="2011-11-02">
701 Support for the XZ format has been added.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100702 </action>
Stefan Bodewig20fd83a2011-11-07 16:36:51 +0000703 <action issue="COMPRESS-146" type="update" date="2011-11-07">
704 BZip2CompressorInputStream now optionally supports reading of
705 concatenated .bz2 files.
706 </action>
Stefan Bodewigfa237cc2011-11-09 16:18:05 +0000707 <action issue="COMPRESS-154" type="update" date="2011-11-09">
708 GZipCompressorInputStream now optionally supports reading of
709 concatenated .gz files.
710 </action>
Stefan Bodewig34766062011-12-05 15:39:52 +0000711 <action issue="COMPRESS-164" type="fix" date="2011-12-05">
712 ZipFile didn't work properly for archives using unicode extra
713 fields rather than UTF-8 filenames and the EFS-Flag.
714 </action>
Stefan Bodewigc4704be2011-12-07 12:14:59 +0000715 <action issue="COMPRESS-16" type="update" date="2011-12-07">
716 The tar package can now read archives that use star/GNU/BSD
717 extensions for files that are longer than 8 GByte as well as
718 archives that use the POSIX/PAX variant.
719 </action>
Stefan Bodewigf90c1cb2011-12-08 16:43:50 +0000720 <action issue="COMPRESS-165" type="update" date="2011-12-08">
721 The tar package can now write archives that use star/GNU/BSD
722 extensions for files that are longer than 8 GByte as well as
723 archives that use the POSIX/PAX variant.
724 </action>
725 <action issue="COMPRESS-166" type="update" date="2011-12-08">
726 The tar package can now use the POSIX/PAX variant for writing
727 entries with names longer than 100 characters.
728 </action>
Stefan Bodewig00cc49e2011-12-22 17:22:19 +0000729 <action issue="COMPRESS-169" type="fix" date="2011-12-22">
730 For corrupt archives ZipFile would throw a RuntimeException in
731 some cases and an IOException in others. It will now
732 consistently throw an IOException.
733 </action>
Stefan Bodewig3447a362011-11-01 06:16:11 +0000734 </release>
735 <release version="1.3" date="2011-11-01"
Stefan Bodewig7df24262011-07-31 05:43:43 +0000736 description="Release 1.3 - API compatible to 1.2 but requires Java5 at runtime">
Stefan Bodewigf4ff2002011-09-14 15:03:35 +0000737 <action issue="COMPRESS-142" type="add" date="2011-09-14">
738 Support for the Pack200 format has been added.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100739 </action>
Stefan Bodewig67248f02011-08-22 05:47:26 +0000740 <action issue="COMPRESS-132" type="add" date="2011-08-17">
741 Read-only support for the format used by the Unix dump(8) tool
742 has been added.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100743 </action>
Stefan Bodewig3ae0c502011-08-15 04:13:10 +0000744 <action issue="COMPRESS-36" type="update" date="2011-08-15">
745 The ZIP package now supports Zip64 extensions.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100746 </action>
Stefan Bodewig1b915c72011-08-08 11:39:41 +0000747 <action issue="COMPRESS-144" type="update" date="2011-08-08">
748 The AR package now supports the BSD dialect of storing file
749 names longer than 16 chars (both reading and writing).
Torsten Curdtb67a1462016-02-03 15:32:11 +0100750 </action>
Stefan Bodewig02991912011-08-08 04:41:15 +0000751 <action type="fix" date="2011-08-08">
Stefan Bodewigc84526b2011-08-08 05:09:25 +0000752 BZip2CompressorInputStream's getBytesRead method always
Stefan Bodewig02991912011-08-08 04:41:15 +0000753 returned 0.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100754 </action>
Stefan Bodewigd48f1062011-08-03 13:36:01 +0000755 <action issue="COMPRESS-152" type="fix" date="2011-08-03">
756 ZipArchiveInputStream and ZipArchiveOutputStream could leak
757 resources on some JDKs.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100758 </action>
Stefan Bodewigfdac1472011-10-23 12:15:13 +0000759 <action issue="COMPRESS-160" type="fix" date="2011-10-23">
760 TarArchiveOutputStream's getBytesWritten method didn't count
761 correctly.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100762 </action>
Stefan Bodewig7df24262011-07-31 05:43:43 +0000763 </release>
764 <release version="1.2" date="2011-07-31"
Stefan Bodewig947e9832011-07-27 03:53:35 +0000765 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 +0000766 <action issue="COMPRESS-129" type="fix" date="2011-07-26">
767 ZipArchiveInputStream could fail with a "Truncated ZIP" error
768 message for entries between 2 GByte and 4 GByte in size.
769 </action>
Stefan Bodewigeedeff92011-07-23 04:57:17 +0000770 <action issue="COMPRESS-145" type="fix" date="2011-07-23"
771 due-tue="Patrick Dreyer">
Stefan Bodewig2b90da62011-07-25 05:54:45 +0000772 TarArchiveInputStream now detects sparse entries using the
773 oldgnu format and properly reports it cannot extract their
774 contents.
Stefan Bodewigeedeff92011-07-23 04:57:17 +0000775 </action>
776 <action issue="COMPRESS-123" type="add" date="2011-07-23">
Stefan Bodewig934a96e2011-07-23 04:33:44 +0000777 ZipArchiveEntry has a new method getRawName that provides the
778 original bytes that made up the name. This may allow user
779 code to detect the encoding.
780 </action>
Stefan Bodewig7a76c472011-07-20 14:55:50 +0000781 <action issue="COMPRESS-130" type="fix" date="2011-07-20">
782 The Javadoc for ZipArchiveInputStream#skip now matches the
783 implementation, the code has been made more defensive.
784 </action>
Stefan Bodewig541898f2011-07-20 14:23:20 +0000785 <action issue="COMPRESS-140" type="fix" date="2011-07-20"
786 due-to="Trejkaz">
787 ArArchiveInputStream fails if entries contain only blanks for
788 userId or groupId.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100789 </action>
Stefan Bodewigb4d75052011-07-13 13:53:18 +0000790 <action issue="COMPRESS-139" type="fix" date="2011-07-13">
791 ZipFile may leak resources on some JDKs.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100792 </action>
Stefan Bodewig8c2e5e62011-04-18 04:28:14 +0000793 <action type="update" date="2011-04-18">
794 ZipFile now implements finalize which closes the underlying
795 file.
796 </action>
Sebastian Bazley60d6b6a2011-03-23 12:50:15 +0000797 <action issue="COMPRESS-117" type="update" date="2011-03-23">
798 Certain tar files not recognised by ArchiveStreamFactory.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100799 </action>
Sebastian Bazley9f68b5d2011-03-23 11:17:25 +0000800 <action issue="COMPRESS-125" type="fix" date="2011-03-23">
801 BZip2CompressorInputStream throws IOException if underlying stream returns available() == 0.
802 Removed the check.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100803 </action>
Sebastian Bazley8376ecf2011-03-23 11:06:43 +0000804 <action issue="COMPRESS-127" type="fix" date="2011-03-23">
805 Calling close() on inputStream returned by CompressorStreamFactory.createCompressorInputStream()
806 does not close the underlying input stream.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100807 </action>
Stefan Bodewig86aaf842010-10-29 15:03:49 +0000808 <action issue="COMPRESS-122" type="add" date="2010-10-29">
809 TarArchiveEntry provides access to the flags that determine
810 whether it is an archived symbolic link, pipe or other
811 "uncommon" file system object.
Torsten Curdtb67a1462016-02-03 15:32:11 +0100812 </action>
Stefan Bodewig1eb9dbb2010-10-26 09:44:59 +0000813 <action issue="COMPRESS-119" type="fix" date="2010-10-26">
Sebastian Bazley7dd43012010-10-28 14:15:27 +0000814 TarArchiveOutputStream#finish now writes all buffered data to the stream
Torsten Curdtb67a1462016-02-03 15:32:11 +0100815 </action>
Stefan Bodewig1eb9dbb2010-10-26 09:44:59 +0000816 </release>
817 <release version="1.1" date="2010-08-13" description="Release 1.1">
Sebastian Bazley75c87112010-06-02 11:15:23 +0000818 <action issue="COMPRESS-72" type="fix" date="2010-06-02">
819 Move acknowledgements from NOTICE to README
Torsten Curdtb67a1462016-02-03 15:32:11 +0100820 </action>
Sebastian Bazley35e4e4f2010-06-02 11:00:25 +0000821 <action issue="COMPRESS-113" type="fix" date="2010-06-02">
822 TarArchiveEntry.parseTarHeader() includes the trailing space/NUL when parsing the octal size
Torsten Curdtb67a1462016-02-03 15:32:11 +0100823 </action>
Sebastian Bazley35e4e4f2010-06-02 11:00:25 +0000824 <action issue="COMPRESS-108" type="add" date="2010-05-23">
Sebastian Bazleydfc66382010-05-23 11:53:07 +0000825 Command-line interface to list archive contents.
826 Usage: java -jar commons-compress-n.m.jar archive-name [zip|tar|etc]
827 </action>
Sebastian Bazley050db3d2010-05-17 15:09:29 +0000828 <action issue="COMPRESS-118" type="fix" date="2010-05-17">
829 TarUtils.parseName does not properly handle characters outside the range 0-127
830 </action>
Sebastian Bazleyc83d9f72010-05-13 10:25:15 +0000831 <action issue="COMPRESS-112" type="update" date="2010-05-13">
832 ArArchiveInputStream does not handle GNU extended filename records (//)
833 </action>
Sebastian Bazley35e4e4f2010-06-02 11:00:25 +0000834 <action issue="COMPRESS-109" type="add" date="2010-05-10">
Sebastian Bazley23bfa662010-05-10 15:10:27 +0000835 Tar implementation does not support Pax headers
836 Added support for reading pax headers.
837 Note: does not support global pax headers
Sebastian Bazley27dea242010-05-10 17:42:37 +0000838 </action>
Sebastian Bazley23bfa662010-05-10 15:10:27 +0000839 <action issue="COMPRESS-107" type="fix" date="2010-05-10">
840 ArchiveStreamFactory does not recognise tar files created by Ant
Sebastian Bazley27dea242010-05-10 17:42:37 +0000841 </action>
Sebastian Bazley8fcd06e2010-05-09 20:46:59 +0000842 <action issue="COMPRESS-110" type="fix" date="2010-05-09">
843 Support "ustar" prefix field, which is used when file paths are longer
844 than 100 characters.
Sebastian Bazley27dea242010-05-10 17:42:37 +0000845 </action>
Sebastian Bazley69f6d062010-05-05 10:59:58 +0000846 <action type="update" date="2010-04-19" issue="COMPRESS-105">
847 Document that the name of an ZipArchiveEntry determines whether
Sebastian Bazley27dea242010-05-10 17:42:37 +0000848 an entry is considered a directory or not.
Sebastian Bazley69f6d062010-05-05 10:59:58 +0000849 If you don't use the constructor with the File argument the entry's
850 name must end in a "/" in order for the entry to be known as a directory.
851 </action>
Stefan Bodewig03e94a42010-03-19 15:08:23 +0000852 <action type="add" date="2010-03-19" issue="COMPRESS-103">
853 ZipArchiveInputStream can optionally extract data that used
854 the STORED compression method and a data descriptor.
855 Doing so in a stream is not safe in general, so you have to
856 explicitly enable the feature. By default the stream will
857 throw an exception if it encounters such an entry.
858 </action>
Stefan Bodewig62cb9c42010-03-12 16:06:20 +0000859 <action type="fix" date="2010-03-12" issue="COMPRESS-100">
860 ZipArchiveInputStream will throw an exception if it detects an
861 entry that uses a data descriptor for a STORED entry since it
862 cannot reliably find the end of data for this "compression"
863 method.
864 </action>
Stefan Bodewigd7ea9ff2010-03-12 15:35:44 +0000865 <action type="fix" date="2010-03-12" issue="COMPRESS-101">
866 ZipArchiveInputStream should now properly read archives that
867 use data descriptors but without the "unofficial" signature.
868 </action>
Stefan Bodewig30e1cc82010-03-09 11:23:41 +0000869 <action type="add" date="2010-03-09" issue="COMPRESS-98">
870 The ZIP classes will throw specialized exceptions if any
871 attempt is made to read or write data that uses zip features
872 not supported (yet).
873 </action>
Stefan Bodewigade93792010-03-08 12:00:25 +0000874 <action type="add" date="2010-03-08" issue="COMPRESS-99">
875 ZipFile#getEntries returns entries in a predictable order -
876 the order they appear inside the central directory.
877 A new method getEntriesInPhysicalOrder returns entries in
878 order of the entry data, i.e. the order ZipArchiveInputStream
879 would see.
880 </action>
Stefan Bodewige0ffbc12010-02-19 10:59:01 +0000881 <action type="add" date="2010-02-19">
Stefan Bodewige0692ec2010-02-24 15:35:47 +0000882 The Archive*Stream and ZipFile classes now have
883 can(Read|Write)EntryData methods that can be used to check
884 whether a given entry's data can be read/written.
Stefan Bodewiga33505b2010-02-19 12:23:27 +0000885 The method currently returns false for ZIP archives if an
886 entry uses an unsupported compression method or encryption.
Stefan Bodewige0ffbc12010-02-19 10:59:01 +0000887 </action>
888 <action type="add" date="2010-02-19" issue="COMPRESS-89">
889 The ZIP classes now detect encrypted entries.
890 </action>
Sebastian Bazley886f71b2010-04-13 21:21:03 +0000891 <action type="update" date="2010-02-18" issue="COMPRESS-79">
892 Move DOS/Java time conversions into Zip utility class.
893 </action>
Stefan Bodewiga1015f32010-02-18 16:11:13 +0000894 <action type="fix" date="2010-02-18" issue="COMPRESS-74">
895 ZipArchiveInputStream failed to update the number of bytes
896 read properly.
897 </action>
898 <action type="fix" date="2010-02-18">
899 ArchiveInputStream has a new method getBytesRead that should
900 be preferred over getCount since the later may truncate the
901 number of bytes read for big archives.
902 </action>
Stefan Bodewig315b9472010-02-18 14:56:03 +0000903 <action type="fix" date="2010-02-18" issue="COMPRESS-85">
904 The cpio archives created by CpioArchiveOutputStream couldn't
905 be read by many existing native implementations because the
906 archives contained multiple entries with the same inode/device
907 combinations and weren't padded to a blocksize of 512 bytes.
908 </action>
Stefan Bodewig91695e42010-02-16 13:59:03 +0000909 <action type="fix" date="2010-02-16" issue="COMPRESS-73">
910 ZipArchiveEntry, ZipFile and ZipArchiveInputStream are now
911 more lenient when parsing extra fields.
912 </action>
Sebastian Bazley78e0f2c2010-06-01 16:38:13 +0000913 <action issue="COMPRESS-75" type="update" date="2010-02-12">
914 ZipArchiveInputStream does not show location in file where a problem occurred.
915 </action>
Sebastian Bazley886f71b2010-04-13 21:21:03 +0000916 <action type="fix" date="2010-02-12" issue="COMPRESS-82">
917 cpio is terribly slow.
918 Documented that buffered streams are needed for performance
919 </action>
Stefan Bodewig292e1852010-03-04 15:54:09 +0000920 <action type="add" date="2010-02-12" issue="COMPRESS-97">
921 Added autodetection of compression format to
922 CompressorStreamFactory.
923 </action>
Stefan Bodewig124f97c2010-02-12 11:35:14 +0000924 <action type="fix" date="2010-02-12">
925 Improved exception message if the extra field data in ZIP
926 archives cannot be parsed.
927 </action>
Sebastian Bazley886f71b2010-04-13 21:21:03 +0000928 <action type="fix" date="2010-02-11" issue="COMPRESS-17">
929 Tar format unspecified - current support documented.
930 </action>
Stefan Bodewig124f97c2010-02-12 11:35:14 +0000931 <action type="add" issue="COMPRESS-95" date="2010-01-29"
Christian Grobmeiere7517b82010-01-29 07:47:21 +0000932 due-to="Joerg Bellmann">
933 Improve ExceptionMessages in ArchiveStreamFactory
934 </action>
Stefan Bodewig5066e9a2010-01-07 09:34:55 +0000935 <action type="fix" issue="COMPRESS-94" date="2010-01-07"
936 due-to="Anon Devs">
937 ZipArchiveEntry's equals method was broken for entries created
938 with the String-arg constructor. This lead to broken ZIP
939 archives if two different entries had the same hash code.
940 </action>
Stefan Bodewigdc3fc472009-10-30 05:29:17 +0000941 <action type="fix" issue="COMPRESS-87" date="2009-10-30"
942 due-to="Antoni Mylka">
943 ZipArchiveInputStream could repeatedly return 0 on read() when
944 the archive was truncated.
945 </action>
Stefan Bodewig7bb5d882009-10-08 12:07:19 +0000946 <action type="fix" issue="COMPRESS-86" date="2009-10-08">
947 Tar archive entries holding the file name for names longer
948 than 100 characters in GNU longfile mode didn't properly
949 specify they'd be using the "oldgnu" extension.
950 </action>
Stefan Bodewig3e2ddad2009-08-25 08:11:44 +0000951 <action type="add" date="2009-08-25">
952 A new constructor of TarArchiveEntry can create entries with
953 names that start with slashes - the default is to strip
954 leading slashes in order to create relative path names.
955 </action>
Stefan Bodewig7be8ef62009-08-01 20:25:13 +0000956 <action issue="COMPRESS-83" type="fix" date="2009-08-01">
957 Delegate all read and write methods in GZip stream in order to
958 speed up operations.
959 </action>
960 <action type="add" date="2009-08-01">
961 ArchiveEntry now has a getLastModifiedDate method.
962 </action>
963 <action type="fix" date="2009-08-01">
964 The ar and cpio streams now properly read and write last
965 modified times.
966 </action>
Stefan Bodewig2318ba32009-06-30 07:25:44 +0000967 <action issue="COMPRESS-81" type="fix" date="2009-06-30">
968 TarOutputStream can leave garbage at the end of the archive
969 </action>
Stefan Bodewig47b706e2009-06-30 08:23:08 +0000970 <action issue="COMPRESS-78" type="add" date="2009-06-30"
971 due-to="Jukka Zitting">
972 Add a BZip2Utils class modelled after GZipUtils
973 </action>
Stefan Bodewig2318ba32009-06-30 07:25:44 +0000974 </release>
975 <release version="1.0" date="2009-05-21" description="First Public Release">
976 <action dev="all" type="add" date="2009-05-21">
Christian Grobmeier35ac05e2009-05-10 17:32:20 +0000977 Initial release
978 </action>
Siegfried Goeschlf03f2f92009-03-23 14:52:23 +0000979 <action dev="sgoeschl" type="fix">
980 Updating the pom.xml for preparing a move to commons-proper
981 </action>
982 </release>
983 </body>
984</document>