feat(archive): introduce ts_shared browser-compatible layer, refactor Node-specific tools to wrap/shared implementations, and modernize archive handling
This commit is contained in:
12
changelog.md
12
changelog.md
@@ -1,5 +1,17 @@
|
||||
# Changelog
|
||||
|
||||
## 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
|
||||
|
||||
- Split code into ts_shared (browser-compatible) and ts_web entrypoint; node-specific wrappers remain under ts/
|
||||
- Switched TAR implementation from tar-stream to modern-tar and replaced stream-based TAR handling with Uint8Array-based pack/unpack
|
||||
- Normalized shared APIs to use Uint8Array (instead of Buffer) for browser compatibility — callers may need to adapt Buffer/Uint8Array usage (breaking)
|
||||
- Moved BZIP2, GZIP, ZIP, TAR logic into ts_shared and updated plugins to re-export shared plugins for web builds
|
||||
- Adjusted classes.smartarchive to consume shared tools and convert between Buffer and Uint8Array where needed
|
||||
- Added package.json exports for "." and "./web", bumped several dependency/devDependency versions, and added modern-tar and related changes
|
||||
- Updated npmextra.json with new scoped configuration and release registries
|
||||
- Removed pnpm-workspace.yaml entries and deleted several legacy Node-only files in favor of shared implementations
|
||||
|
||||
## 2025-11-25 - 5.0.1 - fix(ziptools,gziptools)
|
||||
Use fflate synchronous APIs for ZIP and GZIP operations for Deno compatibility; add TEntryFilter type and small docs/tests cleanup
|
||||
|
||||
|
||||
Reference in New Issue
Block a user