Stefan Bodewig | 48d7470 | 2013-03-10 17:10:57 +0000 | [diff] [blame] | 1 | Apache Commons Compress 1.5 RELEASE NOTES |
Sebastian Bazley | 48882f1 | 2010-04-13 21:02:37 +0000 | [diff] [blame] | 2 | |
Sebastian Bazley | 3f69642 | 2012-03-31 12:10:43 +0000 | [diff] [blame] | 3 | Apache Commons Compress software defines an API for working with compression and archive formats. |
| 4 | These include: bzip2, gzip, pack200 and ar, cpio, jar, tar, zip, dump. |
Sebastian Bazley | 48882f1 | 2010-04-13 21:02:37 +0000 | [diff] [blame] | 5 | |
Stefan Bodewig | 48d7470 | 2013-03-10 17:10:57 +0000 | [diff] [blame] | 6 | Release 1.5 |
Sebastian Bazley | 48882f1 | 2010-04-13 21:02:37 +0000 | [diff] [blame] | 7 | |
| 8 | Changes in this version include: |
| 9 | |
Stefan Bodewig | 48d7470 | 2013-03-10 17:10:57 +0000 | [diff] [blame] | 10 | New features: |
| 11 | |
| 12 | o 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 Bazley | 48882f1 | 2010-04-13 21:02:37 +0000 | [diff] [blame] | 17 | Fixed Bugs: |
Stefan Bodewig | c567466 | 2012-05-23 14:11:38 +0000 | [diff] [blame] | 18 | |
Stefan Bodewig | 48d7470 | 2013-03-10 17:10:57 +0000 | [diff] [blame] | 19 | o Typo in CompressorStreamFactory Javadoc |
| 20 | Issue: COMPRESS-218. |
| 21 | Thanks to Gili. |
| 22 | o ArchiveStreamFactory's tar stream detection created false positives |
| 23 | for AIFF files. |
| 24 | Issue: COMPRESS-191. |
| 25 | Thanks to Jukka Zitting. |
| 26 | o 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. |
| 31 | o 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. |
| 36 | o Writing TAR PAX headers failed if the generated entry name ended |
| 37 | with a "/". |
| 38 | Issue: COMPRESS-203. |
| 39 | o 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. |
| 43 | o TarArchiveInputStream ignored the encoding for GNU long name |
| 44 | entries. |
| 45 | Issue: COMPRESS-212. |
| 46 | o 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. |
| 50 | o DumpArchiveInputStream no longer implicitly closes the original |
| 51 | input stream when it reaches the end of the archive. |
| 52 | o ZipArchiveInputStream now consumes the remainder of the archive when |
| 53 | getNextZipEntry returns null. |
| 54 | o 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. |
| 58 | o Fixed a potential ArrayIndexOutOfBoundsException when reading STORED |
| 59 | entries from ZipArchiveInputStream. |
| 60 | Issue: COMPRESS-219. |
| 61 | o CompressorStreamFactory can now be used without XZ for Java being |
| 62 | available. |
| 63 | Issue: COMPRESS-221. |
Stefan Bodewig | c567466 | 2012-05-23 14:11:38 +0000 | [diff] [blame] | 64 | |
Stefan Bodewig | 48d7470 | 2013-03-10 17:10:57 +0000 | [diff] [blame] | 65 | Changes: |
| 66 | |
| 67 | o 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. |
| 71 | o 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. |
| 75 | o TarArchiveEntry now has a method to verify its checksum. |
| 76 | Issue: COMPRESS-191. |
| 77 | Thanks to Jukka Zitting. |
| 78 | o Split/spanned ZIP archives are now properly detected by |
| 79 | ArchiveStreamFactory but will cause an |
| 80 | UnsupportedZipFeatureException when read. |
| 81 | o 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. |
| 86 | o TarArchiveEntry has a new constructor that allows setting linkFlag |
| 87 | and preserveLeadingSlashes at the same time. |
| 88 | Issue: COMPRESS-201. |
| 89 | o ChangeSetPerformer has a new perform overload that uses a ZipFile |
| 90 | instance as input. |
| 91 | Issue: COMPRESS-159. |
| 92 | o Garbage collection pressure has been reduced by reusing temporary |
| 93 | byte arrays in classes. |
| 94 | Issue: COMPRESS-172. |
| 95 | Thanks to Thomas Mair. |
| 96 | o Can now handle zip extra field 0x5455 - Extended Timestamp. |
| 97 | Issue: COMPRESS-210. |
| 98 | Thanks to Julius Davies. |
| 99 | o handle zip extra field 0x7875 - Info Zip New Unix Extra Field. |
| 100 | Issue: COMPRESS-211. |
| 101 | Thanks to Julius Davies. |
| 102 | o ZipShort, ZipLong, ZipEightByteInteger should implement Serializable |
| 103 | Issue: COMPRESS-213. |
| 104 | Thanks to Julius Davies. |
| 105 | o better support for unix symlinks in ZipFile entries. |
| 106 | Issue: COMPRESS-214. |
| 107 | Thanks to Julius Davies. |
| 108 | o ZipFile's initialization has been improved for non-Zip64 archives. |
| 109 | Issue: COMPRESS-215. |
| 110 | Thanks to Robin Power. |
| 111 | o Updated XZ for Java dependency to 1.2 as this version provides |
| 112 | proper OSGi manifest attributes. |
Stefan Bodewig | c567466 | 2012-05-23 14:11:38 +0000 | [diff] [blame] | 113 | |
Sebastian Bazley | 3f69642 | 2012-03-31 12:10:43 +0000 | [diff] [blame] | 114 | For complete information on Commons Compress, including instructions on how to submit bug reports, |
| 115 | patches, or suggestions for improvement, see the Apache Commons Compress website: |
| 116 | |
Sebastian Bazley | 48882f1 | 2010-04-13 21:02:37 +0000 | [diff] [blame] | 117 | http://commons.apache.org/compress/ |