Skip to content

Releases: j256/simplezip

2.2

19 Jun 14:09

Choose a tag to compare

  • Fixed the size specified of the Zip64 extra-field.
  • Renamed the code package to be codec which does the encoding/decoding.
  • Renamed the ZipFileDataInfo to be ZipDataInfo.
  • Added default version-needed field of 4.5 for Zip64 support.
  • Added missing readRawFileDataToFile() methods to ZipFileInput.
  • Changed ZipFileInput.assignDirectoryFileEntryPermissions() to take a ZipCentralDirectoryFileEntry argument.

2.1

14 Jun 23:51

Choose a tag to compare

2.1
  • Fixed a problem when reading file headers and getting null twice.
  • Fixed a possible problem when the internal buffer sizes are increasing.
  • Added more Zip64 support around central-directory entries and the offset and disk-number.
  • Improved test coverage which caught some possible issues.

2.0

13 Jun 19:00

Choose a tag to compare

2.0
  • Fixed problem with buffering that would generate an improper or unnecessary data-descriptor.
  • Fixed problem when finishing zip output file without any data.
  • Removed the ZipVersion which seemed artificial. Replaced with major/minor numbers.
  • Renamed some methods around the version-needed and version-made getters and setters.
  • Renamed the ZipFileOutput.enableBufferedOutput() method to enableFileBuffering().
  • Changed some of the sizes returned to be longs to better handle 32-bit numbers.
  • Changed (and added) some fields in the ZipCentralFileEntry to support Zip64 widths.
  • Added some more fields to the ZipCentralDirectoryEndInfo class to support Zip64.
  • Added some fields to the ZipCentralFileEntry to support Zip64 widths.
  • Added some methods to extract the ZipFileHeader and the ZipCentralDirectoryFileInfo fields from a File.
  • Added some support for Zip64 extra fields.
  • Added Zip64 central-directory end support and Zip64 end-locator object support.
  • Added iterators for the ZipFileHeader and ZipCentralDirectoryFileEntry sections.
  • Renamed the ZipFileInput.readFileData(File) methods to be readFileDataToFile().
  • Added support for file-header and directory-file-entry iterators.
  • Reduced the IO calls by using IO buffers.

1.1

23 May 18:49

Choose a tag to compare

1.1
  • Fixed some of the logic to allow us to control all bytes in the output Zip.
  • Fixed some of the logic which determined if a data-descriptor was necessary.
  • Added ZipCentralDirectoryEndInfo to be able to control the end structure.
  • Added ZipFileCopy example program which writes identical Zip files.
  • Added some default values to couple of the structures that can be overridden.

1.0

22 May 21:35

Choose a tag to compare

1.0
  • Fixed a problem with early stream-closing.
  • Started to add some code examples.

0.9

22 May 03:12

Choose a tag to compare

0.9
  • Added initial documentation. Caused a lot of class renaming.
  • Added auto-skipping of file-data in ZipFileInput if you didn't read any data or didn't read to the end.
  • Renamed some modified date/time fields in the ZipFileHeader and ZipCentralDirectoryFileEntry.
  • Renamed DataDescriptor to ZipDataDescriptor.
  • Renamed CentralDirectoryFileHeader to ZipCentralDirectoryFileEntry.
  • Renamed CentralDirectoryFileInfo to ZipCentralDirectoryFileInfo.
  • Renamed CentralDirectoryEnd to ZipCentralDirectoryEnd.

0.8

21 May 16:04

Choose a tag to compare

0.8
  • Renamed ZipFileReader and ZipFileWriter to ZipFileInput and ZipFileOutput.
  • Added assigning permissions to files written by ZipFileInput.

0.7

20 May 23:40

Choose a tag to compare

0.7
  • Added better support for file permissions.
  • Added reading from ZipFileReader and writing to a File directly.
  • Added support for writing to an OutputStream in the ZipFileWriter for file-data.
  • Added support for reading from an InputStream in the ZipFileReader for file-data.
  • Fixed problems with streaming Zip files inside of Zip files because of possibility of reading past the inner one.
  • Fixed problems with compression level flags.
  • Added with...() method chaining to some of the builder classes.

0.6

16 May 15:43

Choose a tag to compare

0.6
  • Added ZipFileReader.readRaw... and ZipFileWriter.writeRaw... methods for dealing with unencoded data.
  • Some method and field renames as things stabilize and test coverage grows.
  • Added buffering to the ZipFileWriter which can be enabled to fill out ZipFileHeader before writing file data.

0.5

14 May 23:29

Choose a tag to compare

0.5
  • Improved the test coverage and normalized some of the method names in the process.