feat(tartools): add streaming TAR support (tar-stream), Node.js streaming APIs for TarTools, and browser / web bundle docs

This commit is contained in:
2026-01-01 23:40:13 +00:00
parent d97e9c1dce
commit db48fcd455
13 changed files with 456 additions and 96 deletions

View File

@@ -1,5 +1,15 @@
# Changelog
## 2026-01-01 - 5.2.0 - feat(tartools)
add streaming TAR support (tar-stream), Node.js streaming APIs for TarTools, and browser / web bundle docs
- Add tar-stream runtime dependency and @types/tar-stream devDependency
- Introduce streaming TarTools APIs: getPackStream, addFileToPack, getExtractStream, extractToDirectory, getDirectoryPackStream, getDirectoryPackStreamGz
- Switch SmartArchive TAR extraction to use tar-stream extract for true streaming ingestion of entries
- Export tarStream in plugins and export ITarPackFileOptions from the Node.js entrypoint
- Update packDirectory/packDirectoryToTarGz to handle files safely and use fflate.gzipSync for buffer-based gzipping
- README updates: document /web browser bundle, browser usage examples, Uint8Array guidance, updated feature table and streaming examples
## 2026-01-01 - 5.1.0 - feat(archive)
introduce ts_shared browser-compatible layer, refactor Node-specific tools to wrap/shared implementations, and modernize archive handling