Skip to content

Releases: srikanth-lingala/zip4j

v2.7.0

15 Feb 04:04
Compare
Choose a tag to compare

New Features:

  • #216 Set buffer size from ZipFile
  • #278 Option to skip extracting symlinks when extracting zip files

Improvements:

  • #256 Improve message in exception for EncryptionMethod.ZIP_STANDARD_VARIANT_STRONG
  • #266 Change default unix permissions to 644

Bugs:

  • #259 Fix bug when charset is explicitly set to utf-8
  • #263 ZipFile can be constructed with a null File causing NPE some time later
  • #268 File attributes of zipped folders are not applied on extraction
  • #274 Consider external file attributes as well to set directory flag
  • #279 Skip reading until end of entry only for files when data descriptor is set
  • #282 Convert password to utf-8 before encrypting
  • #284 Improve password verification for Zip Standard decryption

v2.6.4

18 Oct 17:27
Compare
Choose a tag to compare

Improvements:

#239 Check if file exists before adding the file to zip
#249 Bump junit from 4.12 to 4.13.1
#250 Use Collections.sort instead of List.sort for older Android version compatibility

Bug fixes:

#246 Can't create big archive when zipFile reference not reinitialized

v2.6.3

22 Sep 14:28
Compare
Choose a tag to compare

Improvements:

#241 Switch to SecureRandom for encryption randomness

v2.6.2

26 Aug 09:24
Compare
Choose a tag to compare

Improvements:

Bug:

  • #204 Thread for unzipping does not exit when run in another thread
  • #220 Fix entry deletion issue when central directory entries are in different order than local entries
  • #228 Handle Strong encryption with proper error message
  • #231 Missing unix permissions when adding file via stream

v2.6.1

31 May 19:49
Compare
Choose a tag to compare

Bug fixes:

#190 Update Zip64EndCentralDirRecord when adding files to existing zip
#192 Add unixMode, excludeFileFilter to ZipParameters copy constructor
#194 Fix issue reading jar files
#195 Support zipping symlinks that point to non-existent files

Improvements:
#191 Avoid calling Math.negate for older Android SDK compatibility
#196 Remove redundant code

v2.6.0

21 May 11:01
Compare
Choose a tag to compare

New features:

#176 Exclude files from being added to zip file
#185 Extract all files under it if file to extract is a directory

Bug fixes:

#183 fix versionMadeBy and versionNeededToExtract header values

Improvements:

#174 Add javadocs for ZipParameters methods and its enums

v2.5.2

16 Apr 19:02
Compare
Choose a tag to compare

Bug fixes:

#166 Ignore errors when reading zip comment
#171 Optimize end of central directory search

v2.5.1

25 Mar 14:56
Compare
Choose a tag to compare

Bug fixes:

  • #162 Use zip standard charset when utf8 flag is unset

v2.5.0

08 Mar 15:10
Compare
Choose a tag to compare

New Features:

#84 Remove multiple files and folders
#84 If the argument passed in removeFile() is a directory, remove all files and folders under it

Bug fixes:

#147 Fixed crash on older versions of Android with features introduced in v2.4.0
#154 NPE when writing extra data records with no data
#155 Inflater.end not called when ZipInputStream is interrupted
Fixed bug with renaming entries in Zip64 zip files
Fixed bug with renaming entries with data-descriptor present

v2.4.0

01 Mar 14:57
Compare
Choose a tag to compare

New features:

#72 Rename file(s) in a zip
#100 Expose ExecutorService used by zip4j via ZipFile api
#120 Support for 7-Zip format split files (.zip.001, .zip.002, etc)
#125 Better Symlink support
#136 Passing custom thread factory to be used by zip4j in thread mode

Bug:

#146 ZipInputStream.read() should return masked byte value (and not negative values)