Releases: gildas-lormeau/zip.js
Releases · gildas-lormeau/zip.js
v2.2.18
v2.2.17
Improve performances when writing multiple (large) entries in a zip file simultaneously
v2.2.16
- Add support of ZipCrypto encryption (option
zipCrypto: true
when creating aZipWriter
object or callingZipWriter#add
) - Fix issue leading to a potential invalid entry in a Zip64 file if the compressed file of the entry is larger than the original file and the total size of the zip file is > 4GB
- Fix minor performance issue with transferable objects when using web workers
v2.2.14
- Fix issue when reading Zip64 files with appended data at the end of the file and minor issue related to the detection of Zip64 files
- Set
type
tomodule
inpackage.json
- Ignore errors that could be thrown by the
onprogress
callback passed as option
v2.2.12
- Add the new option
keepOrder
to the constructorZipWriter
and the methodZipWriter#add
in order to keep ordered the list of files when callingZipWriter#add
multiple times in parallel - Support reading of zip files with invalid offsets due to data added at the start of the zip file
- Fix issue when calling
ZipWriter#add
with more than one custom extra field type as option - Update limit to locate the End Of Central Directory Record at the end of a zip file: 64 KB => 1MB
- Fix detection of unsupported encryption methods (e.g. ZipCrypto) and add a new constant
ERR_UNSUPPORTED_ENCRYPTION
- Expose
Entry#zip64
to know if a file entry is formatted in Zip64 - Update development dependencies
v2.2.9
- Add
zip-no-worker-deflate.min.js
andzip-no-worker-inflate.min.js
in the list of built files in the /dist folder - Add missing methods to use
Uint8Array
objects in the Filesystem API - When adding files in a zip file, auto-detect an entry is a directory if ithe name ends with a "/"
- Minor code improvements
v2.2.8
- Fix issue when an
FS
instance contains imported zip content andFS#export*
is called withbufferedWrite
set totrue
- Minor code improvements
v2.2.7
- Add new options to
HttpReader
andHttpRangeReader
(see API doc) HttpReader
andHttpRangeReader
now rely onfetch
instead ofXMLHTTPRequest
by default. This behavior can be changed by setting the optionuseXHR
totrue
HttpReader
andHttpRangeReader
also acceptwindow.fetch
options (whenuseXHR
is not set totrue
)
v2.2.1
- Fix bug if passing a comment as parameter when calling
ZipWriter#close()
- Add support of AES-128 and AES-192 encryption (AES-192 encryption is not supported on Chrome currently)
v2.2.6
- Fix issue when importing the code into a service worker