A JavaScript library to zip and unzip files in the browser, Deno and Node.js
Last release 2 days ago
25 Aug 2026
Release timing varies
gaps range from 8 days to 3 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
353 releases · first in 2021
Release timeline
353 releases since 2021Releases
- 2.5.04 Jul 2022
Nothing published for this version
- 2.4.2630 Jun 2022
Release notes
Open source →make sure
ZipWriter#closeis always called after all calls toZipWriter#addare completed (see https://github.com/gildas-lormeau/zip.js/discussions/338) - 2.4.2529 Jun 2022
Release notes
Open source →- Fix issue when reading empty data with
ReadableStreamReader - Fix useless generic for
ReadableStreamReaderinindex.d.ts
- Fix issue when reading empty data with
- 2.4.2429 Jun 2022
- 2.4.2329 Jun 2022
Release notes
Open source →- Add
ReadableStreamReaderclass to readReadableStreaminstances when adding files in a zip file (i.e. when callingZipWriter#add) - Set
dataDescriptorSignatureoption tofalseby default (when callingZipWriter#add) in order to produce zip files compatible with macOs Archiver - Fix minor issues in
index.d.ts
Note that
ReadableStreamReadercannot be used when reading zip files because zip.js needs to do random reads. - Add
- 2.4.2229 Jun 2022
Nothing published for this version
- 2.4.2128 Jun 2022
Release notes
Open source →Improve type definitions of
ReaderandWriterclassesFull Changelog: https://github.com/gildas-lormeau/zip.js/compare/v2.4.20...v2.4.21
- 2.4.2022 Jun 2022
- 2.4.1919 Jun 2022
- 2.4.1818 Jun 2022
Nothing published for this version
- 2.4.1717 Jun 2022
- 2.4.159 Jun 2022
Release notes
Open source →What's Changed
- Bump minimist from 1.2.5 to 1.2.6 by @dependabot in https://github.com/gildas-lormeau/zip.js/pull/331
- Fix index.d.ts
- 2.4.148 Jun 2022
- 2.4.138 Jun 2022
Release notes
Open source →What's Changed
- add
ZipReader#getEntriesGeneratormethod to iterate asynchronously on entries - add
package-lock.jsonfile
New Contributors
- @MrMYHuang made their first contribution in https://github.com/gildas-lormeau/zip.js/pull/330
Full Changelog: https://github.com/gildas-lormeau/zip.js/compare/v2.4.12...v2.4.13
- add
- 2.4.1216 May 2022
- 2.4.119 May 2022
Release notes
Open source →What's Changed
- Export class types instead of interfaces by @sebastjon in https://github.com/gildas-lormeau/zip.js/pull/325
New Contributors
- @sebastjon made their first contribution in https://github.com/gildas-lormeau/zip.js/pull/325
Full Changelog: https://github.com/gildas-lormeau/zip.js/compare/v2.4.10...v2.4.11
- 2.4.1011 Apr 2022
Release notes
Open source →- Improve RAM usage when writing large Blob objects with
BlobWriter(see https://github.com/gildas-lormeau/zip.js/commit/9b56c151f5213d00490bc2a09c6bf74f955b19aa which improves https://github.com/gildas-lormeau/zip.js/commit/dd2db6bf241f6448c1435704ef2b66630b6cd26c)
- Improve RAM usage when writing large Blob objects with
- 2.4.931 Mar 2022
Release notes
Open source →Add support of environments without the Web Cryptography API (e.g. Node, IE11, insecure contexts)
- 2.4.831 Mar 2022
Nothing published for this version
- 2.4.717 Mar 2022
Release notes
Open source →Fix zip64 support in built files from the
distfolder (regression was introduced in v2.4.3) - 2.4.69 Mar 2022
Release notes
Open source →Fix an issue where zip.js could get stuck on compressed data containing extra bytes (see #311)
- 2.4.524 Feb 2022
Release notes
Open source →- add
WritableStreamWriterto write data into aWritableStream<Uint8Array>object (not documented yet, feedback is welcome) - remove the need to import asynchronously zip.js in Node.js
- add
- 2.4.412 Feb 2022
Release notes
Open source →- Fix issue when calling
zip.terminateWorkers()after aborting zip/unzip operation using web workers - Use Deno test suite runner to run unit tests
- Fix issue when calling
- 2.4.35 Feb 2022
Release notes
Open source →- Optimize size (~ 9% smaller) of minified code (i.e.
dist/*.min.js) and web worker code (i.e.lib/z-worker-inline.js) - Update development dependencies
- Optimize size (~ 9% smaller) of minified code (i.e.
- 2.4.228 Jan 2022
Release notes
Open source →- Fix error when opening empty zip files (see https://github.com/gildas-lormeau/zip.js/issues/300)
- Fix corrupt zips for certain inputs (see https://github.com/gildas-lormeau/zip.js/pull/303 and https://github.com/gildas-lormeau/zip.js/pull/302)
- 2.4.125 Jan 2022
Release notes
Open source →- Move reference to
meta.import.urlintolib/zip-fs.js. This change might break custom build scripts which would not expect this.
- Move reference to
- 2.4.024 Jan 2022
Release notes
Open source →- Move reference to
meta.import.urlinto the index file (it was previously inlib/core/codecs/codec-pool-worker.js), see https://github.com/gildas-lormeau/zip.js/discussions/299 for more information. This change might break build scripts which do not expect this. - Update copyright date in the license
- Move reference to
- 2.3.2420 Jan 2022
Release notes
Open source →- Add built files for ES5 browsers, see files suffixed with
-es5in thedistfolder
- Add built files for ES5 browsers, see files suffixed with
- 2.3.2327 Dec 2021
Release notes
Open source →- Fix TypeScript definition for
TextWriter#getData(see https://github.com/gildas-lormeau/zip.js/pull/293)
- Fix TypeScript definition for
- 2.3.2222 Dec 2021
Release notes
Open source →- Fixed typescript definition file (see https://github.com/gildas-lormeau/zip.js/pull/292 and https://github.com/gildas-lormeau/zip.js/commit/3bd804a72c0bef4982dd43de6e78c7f2f4cd2804)
- 2.3.2121 Dec 2021
- 2.3.2021 Dec 2021
Release notes
Open source →Refactored
HttpRangeReader/HttpReader:- use a GET request instead of a HEAD request to get the size of a zip file from the
Content-Rangeresponse header when retrieving it withHttpRangeReaderorHttpReaderand the optionuseRangeHeaderorforceRangeRequestsset totrue. However, a HEAD request will still be sent if the response to the GET request does not include the size of the content in theContent-Rangeheader or if this header is not present (thanks @bennbollay, see https://github.com/gildas-lormeau/zip.js/pull/291 for more info). - add the support of the
headersoption when usingHttpRangeReaderorHttpReaderwith the optionuseXHRset totrue(works like thefetchAPI).
- use a GET request instead of a HEAD request to get the size of a zip file from the
- 2.3.1912 Nov 2021
Release notes
Open source →- use
FileReaderonly as fallback to make the zip.js compatible with Node.js (see example)
- use
- 2.3.1814 Oct 2021
- 2.3.1721 Sept 2021
Release notes
Open source →- Add
dataDescriptorSignatureoption when writing zip files (trueby default)
- Add
- 2.3.1618 Sept 2021
- 2.3.1511 Sept 2021
- 2.3.149 Sept 2021
- 2.3.139 Sept 2021
- 2.3.128 Sept 2021
Release notes
Open source →Fix issues when building zip.js with
angular-cli12.2.x (see #267) andcreate-react-app(see #262) - 2.3.1131 Aug 2021
Nothing published for this version
- 2.3.1030 Aug 2021
- 2.3.930 Aug 2021
Release notes
Open source →Remove usage of
Array#flatto ensure compatibility with Chrome older than version 69 - 2.3.822 Jul 2021
- 2.3.724 Jun 2021
- 2.3.622 Jun 2021
Nothing published for this version
- 2.3.521 Jun 2021
Release notes
Open source →Fix: make
HttpReader(andHttpRangeReader)optionsparameter optional inindex.d.ts(see https://github.com/gildas-lormeau/zip.js/pull/255) - 2.3.413 Jun 2021
Release notes
Open source →- Add options
versionMadeBy,msDosCompatible,internalFileAttribute,externalFileAttributeoptions when creating aZipWriterobject or callingZipWriter#add
- Add options
- 2.3.313 Jun 2021
Release notes
Open source →- Add the option
extendedTimestamp(trueby default) when creating aZipWriterobject or when callingZipWriter#add. - Expose
versionMadeBy,msDosCompatible,internalFileAttribute,externalFileAttributeinEntry(valued when reading a zip file).
- Add the option
- 2.3.27 Jun 2021
- 2.3.16 Jun 2021
Release notes
Open source →- fix issue when reading/writing the creation date in the extended timestamp extra field
- 2.3.06 Jun 2021
Release notes
Open source →- full support of extended timestamp extra field in
ZipWriterandZipReader - removed error
ERR_INVALID_DATE(invalid last modification date will be replaced with a valid one)
- full support of extended timestamp extra field in
- 2.2.456 Jun 2021
- 2.2.442 Jun 2021
Release notes
Open source →ZipWriter:- add basic support of the extended timestamp extra field (to store more precisely the last modification date)
- fix custom implementation of extra field injection
- 2.2.431 Jun 2021
Release notes
Open source →Fix issue when reading extended timestamp extra field data (cf. https://github.com/gildas-lormeau/zip.js/commit/d2c41945d0ea9347f6db35cb12ac0f9ec839ff2b)
- 2.2.421 Jun 2021
Release notes
Open source →- Fix issue when reading extended timestamp extra field data (cf. https://github.com/gildas-lormeau/zip.js/commit/ee943343d65df4d5f24199797734c93925b2f7b6)
- 2.2.411 Jun 2021
Release notes
Open source →Improve support of extended timestamp extra field (cf. https://github.com/gildas-lormeau/zip.js/commit/15cb5e4473d973d10ede5daaea8eed756a2ebcde)
- 2.2.401 Jun 2021
Release notes
Open source →bug fixes and new feature in
ZipReader:- fix
Entry#lastModDatevalue (cf. https://github.com/gildas-lormeau/zip.js/commit/811aa0c032ea62c7e9f73088d0581661d3e40570) - fix
checkSignatureoption (cf. https://github.com/gildas-lormeau/zip.js/commit/fbf810753808ece7a40ea3da5495362dee072b38) - add support of NTFS and extended timestamp extra fields (cf. https://github.com/gildas-lormeau/zip.js/commit/3281aa6fc4186a284dcaff201b84536c7ceb3f0f)
- fix
- 2.2.3930 May 2021
Release notes
Open source →Improved handling of zip64 related errors when calling
ZipWriter#addandZipWriter#closewith thezip64option explicitly set tofalse - 2.2.3824 May 2021
Release notes
Open source →- Fix regression:
ZipWriter#closereturns now a Promise with zip data as resolved value
- Fix regression: