Skip to content

Releases: onikienko/7zip-min

v2.0.0

23 Jan 01:50
Compare
Choose a tag to compare

2.0.0 (2025-01-23)

Why a major version bump?

  • The minimum Node.js version is v8
  • pack(), unpack() and cmd() functions provide stdout/stderr output printed by 7zip. It's returned as a second argument in the callback function. In case of usage in async way, functions are resolved with this output.
  • If used inside Electron, app.asar in a path to the 7zip binary will be replaced with app.asar.unpacked. This should allow using this package inside Electron apps.

For most users, upgrading to v2 should be smooth without any changes in the code.

Features

  • ability to use the same API in async way (e8a9106), closes #24
  • add types definition index.d.ts (578c33a)
  • return stdout/stderr output printed by 7z (a563837), closes #38
  • support electron (app.assar.unpacked) (3f1c867), closes #98

Documentation

  • more detailed jsdoc comments (ad0df9d)
  • update CHANGELOG.md (60da359)
  • update date in LICENSE (a54ab60)
  • update README.md with new ways to use API (b9bb08e)

Build System and Dependencies

  • add "files" prop to package.json (f1c8cc7)
  • add pack and unpack keywords to package.json (bb57846)
  • dev-deps: ava 6.2.0 (a914f9c)
  • dev-deps: fs-extra v11.3.0 (12c061e)
  • dev-deps: globe v11.0.1 and usage in test.js (8ba8aaf)
  • dev-deps: add @types/fs-extra v11.0.4 (4eba204)
  • use release-it instead of np (4dded46)

1.4.5

24 Jul 01:26
Compare
Choose a tag to compare

v1.4.4...v1.4.5

v1.4.4

01 Feb 14:28
Compare
Choose a tag to compare
  • fix error with 'list' command if file contains " = " in the name
  • bump dependencies
  • add test to check filename with " = " for list command

v1.4.3...v1.4.4

v1.4.3

03 Jun 08:33
Compare
Choose a tag to compare
  • Pin 7zip-bin dependency to 5.1.1 to avoid buggy 5.2.0 (@sedwards2009)
  • Bump dependencies

v1.4.2...v1.4.3