Skip to content

Releases: gildas-lormeau/zip.js

v2.7.52

27 Aug 20:47
Compare
Choose a tag to compare
  • Added option compressionMethod in ZipWriter for handling custom compression methods (e.g. zstd) when setting the option passThrough to true
  • Fixed issue with Uint8Array size in ZipReader when setting passThrough to true and using a Uint8Writer class to get the uncompressed data
  • Fixed optional checkPasswordOnly property in the type definitions (index.d.ts)

v2.7.51

21 Aug 20:51
Compare
Choose a tag to compare
  • Fixed issue when passing passThrough: true option in the import* methods of the FS API with AES-encrypted files where the encryption strength is not set to the default value (i.e. 3)

v2.7.50

21 Aug 14:44
Compare
Choose a tag to compare
  • Added the new option passThrough in ZipReader, ZipWriter, and ZipDirectoryEntry#import methods. This allows reading/writing directly the raw data of zip entries without processing it (i.e. compressing or/and encrypting data)
  • Added the new option offset in ZipWriter. This allows setting the offset of the first entry in the file to a value > 0. This can be useful when creating zip files with prepended data
  • Completed the implementation of the bitFlag property in ZipWriter. It will now take into account the level of compression and update the bit flag value accordingly.
  • Updated dev dependencies

v2.7.48

31 Jul 08:12
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.7.47...v2.7.48

v2.7.47

18 Jul 10:32
Compare
Choose a tag to compare

Fixed regression introduced in the previous version (see #520)

v2.7.46

17 Jul 15:41
Compare
Choose a tag to compare

Added the export ./data-uri in order to support Web Workers loaded with a data URI instead of a Blob URI (see #519)

v2.7.45

28 May 21:36
Compare
Choose a tag to compare

Fix rare issue where files would not be compressed if the compression codec included in zip.js was not used

v2.7.44

06 May 09:33
Compare
Choose a tag to compare

What's Changed

  • fixed ZipReaderStream example in the documentation by @jespertheend in #510
  • fixed typo by @AbdullahSohail-SE in #511
  • fixed a minor issue when creating a zip file that led to the use of the zip64 format when it wasn't necessary, in the particular case where zip specification limits were reached (e.g. 65335 files in the archive) but not exceeded.
  • the default value of Entry#filename and Entry#comment will be used if encodeText/decodeText functions return undefined values (see #507)

New Contributors

Full Changelog: v2.7.43...v2.7.44

v2.7.43

24 Apr 09:12
Compare
Choose a tag to compare
  • Fixed an issue with zip files incorrectly detected as using zip64 under particular circumstances (e.g. when they contain exactly 65536 entries) when trying to read them

v2.7.42

23 Apr 15:01
Compare
Choose a tag to compare
  • Added decodeText and encodeText options to handle text encoding of filenames and comments when reading and writing a zip file respectively (see #507).
  • Fixed issue where creating a zip file without Deflate implementation could lead to a corrupted zip file (see #508).