fflate breaking changes
fflate 0.8.3 (May 16, 2026) is its newest release with breaking changes, 26 of them. The first: Removed ZipDeflate.process. Every breaking API change we have recorded in fflate on npm: 65 breaking changes in 12 versions. Below, its 12 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.8.3, released May 16, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
fflate 0.8.3 breaking changes
- Removed
ZipDeflate.process
ZipDeflate.process was removed in fflate 0.8.3 npmjs.com - Signature changed
AsyncFlateStreamHandler
Was type AsyncFlateStreamHandler = (err: FlateError | null, data: Uint8Array, final: boolean) => void; now type AsyncFlateStreamHandler = (err: FlateError | null, data: Uint8Array<ArrayBuffer>, final: boolean) => void. npmjs.com - Signature changed
compressSync
Was function gzipSync(data: Uint8Array, opts?: GzipOptions): Uint8Array; now function gzipSync(data: Uint8Array, opts?: GzipOptions): Uint8Array<ArrayBuffer>. npmjs.com - Signature changed
decompressSync
Was function decompressSync(data: Uint8Array, opts?: InflateOptions): Uint8Array; now function decompressSync(data: Uint8Array, opts?: InflateOptions): Uint8Array<ArrayBufferLike>. npmjs.com - Signature changed
Deflate.flush
Was flush(): void; now flush(sync?: boolean): void. npmjs.com - Signature changed
deflateSync
Was function deflateSync(data: Uint8Array, opts?: DeflateOptions): Uint8Array; now function deflateSync(data: Uint8Array, opts?: DeflateOptions): Uint8Array<ArrayBuffer>. npmjs.com - Signature changed
FlateCallback
Was type FlateCallback = (err: FlateError | null, data: Uint8Array) => void; now type FlateCallback = (err: FlateError | null, data: Uint8Array<ArrayBuffer>) => void. npmjs.com - Signature changed
FlateStreamHandler
Was type FlateStreamHandler = (data: Uint8Array, final: boolean) => void; now type FlateStreamHandler = (data: Uint8Array<ArrayBuffer>, final: boolean) => void. npmjs.com - Signature changed
GunzipOptions
Was interface GunzipOptions extends InflateStreamOptions; now interface GunzipOptions<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> extends InflateStreamOptions. npmjs.com - Signature changed
GunzipOptions.out
Was out?: Uint8Array; now out?: Uint8Array<TArrayBuffer>. npmjs.com - Signature changed
gunzipSync
Was function gunzipSync(data: Uint8Array, opts?: GunzipOptions): Uint8Array; now function gunzipSync(data: Uint8Array): Uint8Array<ArrayBuffer> function gunzipSync<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(data: Uint8Array... npmjs.com - Signature changed
Gzip.flush
Was flush(): void; now flush(sync?: boolean): void. npmjs.com - Signature changed
gzipSync
Was function gzipSync(data: Uint8Array, opts?: GzipOptions): Uint8Array; now function gzipSync(data: Uint8Array, opts?: GzipOptions): Uint8Array<ArrayBuffer>. npmjs.com - Signature changed
InflateOptions
Was interface InflateOptions extends InflateStreamOptions; now interface InflateOptions<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> extends InflateStreamOptions. npmjs.com - Signature changed
InflateOptions.out
Was out?: Uint8Array; now out?: Uint8Array<TArrayBuffer>. npmjs.com - Signature changed
inflateSync
Was function inflateSync(data: Uint8Array, opts?: InflateOptions): Uint8Array; now function inflateSync(data: Uint8Array): Uint8Array<ArrayBuffer> function inflateSync<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(data: Uint8Array... npmjs.com - Signature changed
strToU8
Was function strToU8(str: string, latin1?: boolean): Uint8Array; now function strToU8(str: string, latin1?: boolean): Uint8Array<ArrayBuffer>. npmjs.com - Signature changed
Unzip.push
Was push(chunk: Uint8Array, final?: boolean): any; now push(chunk: Uint8Array, final?: boolean): void. npmjs.com - Signature changed
UnzipDecoder.push
Was push(data: Uint8Array, final: boolean): void; now push(chunk: Uint8Array, final: boolean): void. npmjs.com - Signature changed
Unzipped.__index
Was [path: string]: Uint8Array; now [path: string]: Uint8Array<ArrayBuffer>. npmjs.com - Signature changed
UnzlibOptions
Was interface UnzlibOptions extends InflateOptions; now interface UnzlibOptions<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> extends InflateOptions<TArrayBuffer>. npmjs.com - Signature changed
unzlibSync
Was function unzlibSync(data: Uint8Array, opts?: UnzlibOptions): Uint8Array; now function unzlibSync(data: Uint8Array): Uint8Array<ArrayBuffer> function unzlibSync<TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(data: Uint8Array... npmjs.com - Signature changed
ZipPassThrough.process
Was protected process(chunk: Uint8Array, final: boolean): void; now protected process(chunk: Uint8Array<ArrayBuffer>, final: boolean): void. npmjs.com - Signature changed
zipSync
Was function zipSync(data: Zippable, opts?: ZipOptions): Uint8Array; now function zipSync(data: Zippable, opts?: ZipOptions): Uint8Array<ArrayBuffer>. npmjs.com - Signature changed
Zlib.flush
Was flush(): void; now flush(sync?: boolean): void. npmjs.com - Signature changed
zlibSync
Was function zlibSync(data: Uint8Array, opts?: ZlibOptions): Uint8Array; now function zlibSync(data: Uint8Array, opts?: ZlibOptions): Uint8Array<ArrayBuffer>. npmjs.com
fflate 0.8.1 breaking changes
- Signature changed
Decompress.constructor
Was constructor(cb?: AsyncFlateStreamHandler) constructor(opts: InflateStreamOptions, cb?: AsyncFlateStreamHandler); now constructor(cb?: FlateStreamHandler) constructor(opts: InflateStreamOptions, cb?: FlateStreamHandler). npmjs.com
fflate 0.8.0 breaking changes
- Signature changed
AsyncGunzipOptions
Was interface AsyncGunzipOptions extends AsyncOptions; now interface AsyncGunzipOptions extends AsyncOptions, InflateStreamOptions. npmjs.com - Signature changed
AsyncInflateOptions
Was interface AsyncInflateOptions extends AsyncOptions; now interface AsyncInflateOptions extends AsyncOptions, InflateStreamOptions. npmjs.com - Signature changed
Decompress.constructor
Was constructor(cb?: FlateStreamHandler); now constructor(cb?: AsyncFlateStreamHandler) constructor(opts: InflateStreamOptions, cb?: AsyncFlateStreamHandler). npmjs.com - Signature changed
decompressSync
Was function decompressSync(data: Uint8Array, out?: Uint8Array): Uint8Array; now function decompressSync(data: Uint8Array, opts?: InflateOptions): Uint8Array. npmjs.com - Signature changed
gunzipSync
Was function gunzipSync(data: Uint8Array, out?: Uint8Array): Uint8Array; now function gunzipSync(data: Uint8Array, opts?: GunzipOptions): Uint8Array. npmjs.com - Signature changed
inflateSync
The second parameter of inflateSync is now an options object; pass the output buffer as the out property instead of passing it directly. npmjs.com - Signature changed
unzlib
Was function unzlib(data: Uint8Array, opts: AsyncGunzipOptions, cb: FlateCallback): AsyncTerminable; now function unzlib(data: Uint8Array, opts: AsyncUnzlibOptions, cb: FlateCallback): AsyncTerminable. npmjs.com - Signature changed
unzlibSync
Was function unzlibSync(data: Uint8Array, out?: Uint8Array): Uint8Array; now function unzlibSync(data: Uint8Array, opts?: UnzlibOptions): Uint8Array. npmjs.com
fflate 0.7.3 breaking changes
- Signature changed
AsyncZippableFile
Was type AsyncZippableFile = Uint8Array | [Uint8Array, AsyncZipOptions]; now type AsyncZippableFile = Uint8Array | AsyncZippable | [Uint8Array | AsyncZippable, AsyncZipOptions]. npmjs.com - Signature changed
Zippable.__index
Was [path: string]: Zippable | ZippableFile; now [path: string]: ZippableFile. npmjs.com - Signature changed
ZippableFile
Was type ZippableFile = Uint8Array | [Uint8Array, ZipOptions]; now type ZippableFile = Uint8Array | Zippable | [Uint8Array | Zippable, ZipOptions]. npmjs.com
fflate 0.7.2 breaking changes
- Signature changed
AsyncFlateStreamHandler
Was type AsyncFlateStreamHandler = (err: FlateError, data: Uint8Array, final: boolean) => void; now type AsyncFlateStreamHandler = (err: FlateError | null, data: Uint8Array, final: boolean) => void. npmjs.com - Signature changed
FlateCallback
Was type FlateCallback = (err: FlateError, data: Uint8Array) => void; now type FlateCallback = (err: FlateError | null, data: Uint8Array) => void. npmjs.com - Signature changed
UnzipCallback
Was type UnzipCallback = (err: FlateError, data: Unzipped) => void; now type UnzipCallback = (err: FlateError | null, data: Unzipped) => void. npmjs.com
fflate 0.7.1 breaking changes
- Removed
AsyncUnzipOptions.consume
AsyncUnzipOptions.consume was removed in fflate 0.7.1 npmjs.com - Signature changed
AsyncUnzipOptions
Was interface AsyncUnzipOptions extends AsyncOptions; now interface AsyncUnzipOptions extends UnzipOptions. npmjs.com - Signature changed
unzipSync
Was function unzipSync(data: Uint8Array): Unzipped; now function unzipSync(data: Uint8Array, opts?: UnzipOptions): Unzipped. npmjs.com - Signature changed
zlibSync
Was function zlibSync(data: Uint8Array, opts: ZlibOptions): Uint8Array; now function zlibSync(data: Uint8Array, opts?: ZlibOptions): Uint8Array. npmjs.com
Older versions
6 older versions, each with its first changes. Sign up to see every change
Show 6 older versions
fflate 0.7.0 breaking changes
- Behavior changed
Asynchronous operations now always invoke their callbacks asynchronously, so code that relied on synchronous callback timing may need to change. github.com - Behavior changed
Errors are now Error objects rather than strings, so code that compares or prints error strings must read the error's code or message instead. github.com
And 3 more in this version.
fflate 0.6.9 breaking changes
- Signature changed
AsyncGunzip.constructor
Was constructor(cb: AsyncFlateStreamHandler); now constructor(cb?: AsyncFlateStreamHandler). npmjs.com
fflate 0.6.3 breaking changes
- Signature changed
AsyncUnzipInflate.constructor
Was constructor(_: string, sz: number); now constructor(_: string, sz?: number). npmjs.com - Signature changed
Unzip.push
Was push(chunk: Uint8Array, final: boolean): any; now push(chunk: Uint8Array, final?: boolean): any. npmjs.com
fflate 0.6.2 breaking changes
- Signature changed
zlibSync
Was function zlibSync(data: Uint8Array, opts?: ZlibOptions): Uint8Array; now function zlibSync(data: Uint8Array, opts: ZlibOptions): Uint8Array. npmjs.com
fflate 0.6.0 breaking changes
- Behavior changed
The streaming unzip implementation was reworked for compatibility and performance. Code relying on the previous streaming unzip behavior should be checked. github.com - Signature changed
AsyncUnzipInflate.constructor
Was constructor(); now constructor(_: string, sz: number). npmjs.com
And 3 more in this version.
fflate 0.5.0 breaking changes
- Signature changed
AsyncZipOptions
Was interface AsyncZipOptions extends AsyncDeflateOptions, Pick<AsyncGzipOptions, 'mtime'>; now interface AsyncZipOptions extends AsyncDeflateOptions, ZipAttributes. npmjs.com - Signature changed
AsyncZippable
Was interface AsyncZippable extends Record<string, AsyncZippable | AsyncZippableFile>; now interface AsyncZippable. npmjs.com
And 4 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.