v0.4.0
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
validateSymlinksoption fromUnpackOptionsFS. This is enabled by default. - Removed
createTarOptionsTransformerwhich 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:
replaceAlland 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