Skip to content

v0.4.0

Choose a tag to compare

@ayuhito ayuhito released this 08 Oct 06:46
· 70 commits to main since this release
dc307a5

Overview

This is a major release that overhauls our architecture to be much more stable and introduces concurrent unpacking to make our performance for many small files on par with node-tar and sometimes significantly exceed it. To learn more about the architecture, you can read more about it here 👾

Additionally, there are some breaking changes to cleanup the API:

  • Removed validateSymlinks option from UnpackOptionsFS. This is enabled by default.
  • Removed createTarOptionsTransformer which is now baked into existing function options.
  • Rewrote error messages to be a bit more concise.

These changes are unlikely to affect any existing users.


Changelog

  • chore: cleanup package exports by @ayuhito in #60
  • perf: replaceAll and smaller error messages by @ayuhito in #61
  • chore: remove validate symlinks option by @ayuhito in #62
  • perf(pack): pre-allocate zero buffers by @ayuhito in #63
  • test: add more coverage by @ayuhito in #64
  • feat: new architecture and concurrent unpacking by @ayuhito in #65
  • perf(unpack): use larger write buffer for larger files by @ayuhito in #66
  • fix(unpack): normalize validate bounds on windows and add more coverage by @ayuhito in #67
  • fix(utils): validate chunk is 8 byte aligned to use fast path by @ayuhito in #68
  • fix(pack): prevent unsafe path traversal with deref true by @ayuhito in #69

Full Changelog: v0.3.5...v0.4.0