Skip to content

v0.8.0

Choose a tag to compare

@matteosacchetto matteosacchetto released this 06 Nov 10:31
· 71 commits to main since this release
b257e80

What's Changed

This release changes the underlying zip library, replacing jszip with yazl/yauzl. This change is introduced by three main reasons:

  • Better performance: since yazl/yauzl takes advantage of node:zlib functions/classes, the time required to zip/unzip files is reduced. Preliminary tests showed a cut in half of the time required to create a zip file.
  • ZIP64 support: according to the documentation of yazl/yauzl the ZIP64 format is supported and is automatically used when necessary
  • Maintenance: it is not yet clear if jszip is still maintained, thus I was looking for other alternatives (#124) and landed on yazl/yauzl, which is still maintained and provides the above-mentioned advantages

Additionally, this release updates the following dependencies

- @inquirer/confirm    ^5.0.0  →  ^5.0.1
- ora                  ^8.1.0  →  ^8.1.1

BREAKING CHANGES

Given that the underlying library has changed, this release is a major release. The main differences are:

  • it is now using yazl/yauzl instead of jszip
  • The zip archives created through this library are ZIP v2.0 instead of ZIP v1.0

Pull Requests

Full Changelog: v0.7.3...v0.8.0