Zip4j Changelog

What's new in Zip4j 1.3.2

Dec 28, 2013
  • Encryption and Decryption does not consider "start" in encrypt and decrpyt methods
  • ProgressMonitor.cancelAllTasks has no effect when zipping files
  • ZipFile.getSplitZipFiles() does not contain split zip file extensions
  • When running in thread, ProgressMonitor.getFileName() returns null for the first few loops
  • ProgressMonitor.getPercentDone does not reset to 0 after completion of an action
  • CalculateTotalWork() should be done only in Thread mode.
  • Cannot rename newly created split file when zip file is created at root
  • Fixed a coding issue in ExtractAllFilesWithInputStreams.java in the examples package that closed inputstream twice leading to CRC error

New in Zip4j 1.3.1 (Apr 2, 2012)

  • Zip4j version 1.3.1 is released today with few bug fixes. Please refer to version history for more information

New in Zip4j 1.3.0 (Mar 21, 2012)

  • Enhancements:
  • Performance enhancements with AES encryption/decryption
  • Bug fixes:
  • ZipFile.getSplitZipFiles() returns invalid file names when path has a "." and the zip file name does not
  • UnzipEngine.closeStreams() does not close outputstream when closing an inputstream throws an exception

New in Zip4j 1.2.9 (Feb 7, 2012)

  • Bug fixes:
  • Standard encryption fails under Android in some cases, OK with JDK
  • Inconsistent behaviour with ProgressMonitor.getPercentDone when running ZipFile.extractFIle in thread mode
  • IndexOutOfBoundsException with setDefaultFolderPath
  • ZipFile.extractFile throws an exception from second attempt
  • ProgressMonitor.getFileName() delivers "null" when adding files
  • Issue when adding a file by stream with compression
  • ZipFile.createZipFileFromFolder does not add root folder when adding folder from relative path

New in Zip4j 1.2.8 (Feb 7, 2012)

  • Bug fixes:
  • ZipFile.extractFile - Get progress information does not work
  • "number of files on this disk" header data is not set correctly in some split zip files
  • Bug with some compression levels create invalid split zip files
  • Split-Zip with dots in a filename results in incorrect zip file names

New in Zip4j 1.2.7 (Feb 7, 2012)

  • Bug fixes:
  • OOM because Inflater resources are not released as soon as possible
  • Error creating password zip with empty file
  • Adding folders to a zip file with StandardEncryption throws Exception
  • ZipFile.addStreamToZip() generates invalid zip file
  • Check for comment length before adding it to zip file
  • Zip comments are not Non-Ascii compatible
  • Folder and file location/structure broken in complicated folder/files hierarchy
  • Creating JavaDoc produces warnings

New in Zip4j 1.2.6 (Feb 7, 2012)

  • New features:
  • Flag for wrong password (works only for AES decryption)
  • Implement ZipFile.getFile() to retrieve the created zip fie
  • Eclipse RCP - Bundle Information in MANIFEST.MF
  • Bug fixes:
  • Wrong password zip exception locks zip file
  • Incorrect file size when adding an InputStream leads to creation on invalid Zip file
  • Zip4JUtil.dosToJavaTime does not return correct millisecond values
  • ZipFile#setFileNameCharset("MS932") creates broken zip file
  • Misleading error message when checking file read/write access in Zip4jUtil

New in Zip4j 1.2.5 (Feb 7, 2012)

  • Bug fixes:
  • ArrayIndexOutOfBoundsException when deflating certain files
  • ZipFile.setFileNameCharset has no effect when creating zip files

New in Zip4j 1.2.4 (Feb 7, 2012)

  • New features:
  • New method to add content from an inputstream
  • Bug fixes:
  • ZipFile.setFileNameCharset has no effect as headers are read before charset is set
  • Using charset MS932 creates invalid zip files
  • IndexOutOfBoundsException when zipping certain files

New in Zip4j 1.2.3 (Feb 7, 2012)

  • New features:
  • New method to check if a file is a valid zip file
  • Bug fixes:
  • File handle not closed properly for invalid zip files

New in Zip4j 1.2.2 (Feb 7, 2012)

  • Bug fixes:
  • No exception with invalid password during extraction for standard encrypted zip files
  • ArrayIndexOutOfBoundsException in HeaderReader for certain zip files

New in Zip4j 1.2.1 (Feb 7, 2012)

  • Bug fixes:
  • InputStreams not closed properly after adding file to zip
  • NullPointerException in ZipOutputStream constructor when using SplitOutputStream

New in Zip4j 1.2.0 (Feb 7, 2012)

  • New features:
  • Support for OutputStreams in Zip4j
  • Bug fixes:
  • ZipInputStream.read() always returns -1
  • zip64 files being incorrectly flagged as split archives
  • Authentication fails for AES encrypted zip files with a valid password
  • Java's inbuilt zip cannot recognize merged zip file created from split zip files (reopened)
  • Wrong file names for split zip file with more than 9 split parts (reopened)