npm @zip.js/zip.js 2.8.0

latest releases: 2.25.0, 2.24.0, 2.23.0...
14 months ago

New in version 2.8

  1. WebAssembly Integration

  2. Deflate64 decompression support

    • Added support of proprietary Deflate64 decompression algorithm which used by Windows when compressing large files (see #517)
  3. Simplified Configuration

    • Replaced the complex workerScripts configuration with a single workerURI property, making it easier to set up web workers.
    • Default values for workerURI and wasmURI are provided, reducing the need for manual configuration.
  4. Improved Type Safety and Clarity

    • Refined TypeScript definitions, including clearer distinctions between DirectoryEntry and FileEntry.
    • Deprecated and removed legacy APIs and classes, streamlining the library for current use cases.

Breaking Changes

  1. Worker Configuration Changes:

    • The workerScripts property in the configuration was removed and replaced with workerURI and wasmURI.
  2. Stream Implementation Updates:

    • The Deflate and Inflate properties in the configuration were removed and replaced with CompressionStream and DecompressionStream.
  3. Deprecated Classes Removed:

    • The deprecated classes SplitZipReader and SplitZipWriter were removed.
  4. Event-Based Codec Support Removed:

    • Interfaces and classes related to event-based codecs, such as EventBasedZipLibrary, initShimAsyncCodec, and EventBasedCodec were removed.
  5. Entry Metadata Changes:

    • The directory property was removed from EntryMetaData and moved to DirectoryEntry and FileEntry interfaces.

Don't miss a new zip.js release

NewReleases is sending notifications on new releases.