fix(ziptools,gziptools): Use fflate synchronous APIs for ZIP and GZIP operations for Deno compatibility; add TEntryFilter type and small docs/tests cleanup
This commit is contained in:
10
changelog.md
10
changelog.md
@@ -1,5 +1,15 @@
|
||||
# Changelog
|
||||
|
||||
## 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
|
||||
|
||||
- Replace fflate async APIs (zip, unzip, gzip, gunzip with callbacks) with synchronous counterparts (zipSync, unzipSync, gzipSync, gunzipSync) to avoid Web Worker issues in Deno
|
||||
- ZipCompressionStream.finalize now uses fflate.zipSync and emits compressed Buffer synchronously
|
||||
- GzipTools.compress / decompress now delegate to compressSync / decompressSync for cross-runtime compatibility
|
||||
- ZipTools.createZip and ZipTools.extractZip now use zipSync/unzipSync and return Buffers
|
||||
- Add TEntryFilter type to ts/interfaces.ts for fluent API entry filtering
|
||||
- Minor readme.hints.md updates and small whitespace tidy in tests
|
||||
|
||||
## 2025-11-25 - 5.0.0 - BREAKING CHANGE(SmartArchive)
|
||||
Refactor public API: rename factory/extraction methods, introduce typed interfaces and improved compression tools
|
||||
|
||||
|
||||
Reference in New Issue
Block a user