New in version 2.8
-
WebAssembly Integration
- Added support for WebAssembly module based on zlib (see https://github.com/gildas-lormeau/zlib-streams) to enhance performance for compression and decompression tasks when
CompressionStreamandDecompressionStreamare not used.
- Added support for WebAssembly module based on zlib (see https://github.com/gildas-lormeau/zlib-streams) to enhance performance for compression and decompression tasks when
-
Deflate64 decompression support
- Added support of proprietary Deflate64 decompression algorithm which used by Windows when compressing large files (see #517)
-
Simplified Configuration
- Replaced the complex
workerScriptsconfiguration with a singleworkerURIproperty, making it easier to set up web workers. - Default values for
workerURIandwasmURIare provided, reducing the need for manual configuration.
- Replaced the complex
-
Improved Type Safety and Clarity
- Refined TypeScript definitions, including clearer distinctions between
DirectoryEntryandFileEntry. - Deprecated and removed legacy APIs and classes, streamlining the library for current use cases.
- Refined TypeScript definitions, including clearer distinctions between
Breaking Changes
-
Worker Configuration Changes:
- The
workerScriptsproperty in the configuration was removed and replaced withworkerURIandwasmURI.
- The
-
Stream Implementation Updates:
- The
DeflateandInflateproperties in the configuration were removed and replaced withCompressionStreamandDecompressionStream.
- The
-
Deprecated Classes Removed:
- The deprecated classes
SplitZipReaderandSplitZipWriterwere removed.
- The deprecated classes
-
Event-Based Codec Support Removed:
- Interfaces and classes related to event-based codecs, such as
EventBasedZipLibrary,initShimAsyncCodec, andEventBasedCodecwere removed.
- Interfaces and classes related to event-based codecs, such as
-
Entry Metadata Changes:
- The
directoryproperty was removed fromEntryMetaDataand moved toDirectoryEntryandFileEntryinterfaces.
- The