Skip to content

Releases: srikanth-lingala/zip4j

v2.2.1

29 Sep 19:27
Compare
Choose a tag to compare

Enhancements:

  • #64 Specify Charset to use on ZipFile, ZIpInputStream and ZipOutputStream

Bug fixes:

  • #65 Do not override from Zip64 record if value not present
  • #70 Add a file as a stream, with the file name repeated, not overwritten
  • #71 Error extracting zip larger than 4 gigabyte

v2.1.4

13 Sep 20:15
Compare
Choose a tag to compare

Enhancements:

#39 Skip reading extended local file header if not necessary

Bug fixes:

#62 False-positive result while checking for slip zip if target path is not normalized

v2.1.3

08 Sep 21:46
Compare
Choose a tag to compare

Enhancements:

#44 Add setPassword method on ZipFile
#50 Option to skip overriding existing files when adding files to zip
ZipInputStream.getNextEntry() should return next entry even if current entry is not completely read

Bug fixes:

#58 Stream not properly closed when exception occurs with ZipFile.getInputStream()
#57 Fix ZipFile.getFileHeaders() javadoc
#55 ZipSlip fix with File.getCanonicalPath() instead of just File.getPath()
Empty output file is created when extracting with wrong password for Standard zip encryption

v2.1.2

09 Aug 12:35
Compare
Choose a tag to compare

Fixed:

#25 Add feature to exclude hidden folder when adding folders to zip
#26 Remove Lombok library
#27 ZipException while extracting, despite unzip, 7z and Windows Explorer extracts well
#28 workCompleted gets bigger than totalWork in the ProgressMonitor
#32 ProgressMonitor resets itself when a task successfully or unsuccessfully finishes
#33 ArrayIndexOutofBoundsException when read directory from zipInputStream
#35 readLine from zip file,throw NPE when file contains blank lines
Rename utils package to testutils in test

v2.1.0

09 Jul 19:04
Compare
Choose a tag to compare

Includes fixes for:

#9
#10
#12
#13
#14
#16

v2.0.3

30 Jun 09:33
Compare
Choose a tag to compare

Fixed:

#5 - Closing ZipInputStream does not close underlying file stream
#8 - Unable to decrypt zip file that was created with StandardEncryption

v2.0.2

27 Jun 19:40
Compare
Choose a tag to compare

Fixed #6 - Invalid Password when last modified file time is not set in ZipParameters

v2.0.1

27 Jun 15:00
Compare
Choose a tag to compare
  • Skip file attributes when NIO not supported

v2.0

25 Jun 20:02
Compare
Choose a tag to compare

A major rewrite from previous versions. Please look at the usage section of readme for more details.