minizlib breaking changes
minizlib 3.0.0 (March 19, 2024) is its newest release with breaking changes, 43 of them. The first: Signature changed BrotliCompress.constructor. Every breaking API change we have recorded in minizlib on npm: 43 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.1.0, released September 21, 2025. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
minizlib 3.0.0 breaking changes
- Signature changed
BrotliCompress.constructor
Was constructor(opts: ZlibOptions & zlib.BrotliOptions); now constructor(opts: ZlibOptions). npmjs.com - Signature changed
BrotliCompress.end
Was end(chunk: any, cb?: () => void): this end(chunk?: any, encoding?: string | null, cb?: () => void): this; now end(cb?: () => void): this end(chunk: ChunkWithFlushFlag, cb?: () => void): this end(chunk: ChunkWithFlushFlag, encoding?... npmjs.com - Signature changed
BrotliCompress.reset
Was reset(): void; now reset(): any. npmjs.com - Signature changed
BrotliCompress.write
Was write(chunk: any, cb?: () => void): boolean write(chunk?: any, encoding?: string | null, cb?: () => void): boolean; now write(chunk: ChunkWithFlushFlag, cb?: () => void): boolean write(chunk: ChunkWithFlushFlag, encoding?... npmjs.com - Signature changed
BrotliDecompress.constructor
Was constructor(opts: ZlibOptions & zlib.BrotliOptions); now constructor(opts: ZlibOptions). npmjs.com - Signature changed
BrotliDecompress.end
Was end(chunk: any, cb?: () => void): this end(chunk?: any, encoding?: string | null, cb?: () => void): this; now end(cb?: () => void): this end(chunk: ChunkWithFlushFlag, cb?: () => void): this end(chunk: ChunkWithFlushFlag, encoding?... npmjs.com - Signature changed
BrotliDecompress.reset
Was reset(): void; now reset(): any. npmjs.com - Signature changed
BrotliDecompress.write
Was write(chunk: any, cb?: () => void): boolean write(chunk?: any, encoding?: string | null, cb?: () => void): boolean; now write(chunk: ChunkWithFlushFlag, cb?: () => void): boolean write(chunk: ChunkWithFlushFlag, encoding?... npmjs.com - Signature changed
Deflate.constructor
Was constructor(opts: ZlibOptions & zlib.ZlibOptions); now constructor(opts: ZlibOptions). npmjs.com - Signature changed
Deflate.end
Was end(chunk: any, cb?: () => void): this end(chunk?: any, encoding?: string | null, cb?: () => void): this; now end(cb?: () => void): this end(chunk: ChunkWithFlushFlag, cb?: () => void): this end(chunk: ChunkWithFlushFlag, encoding?... npmjs.com - Signature changed
Deflate.params
Was params(level?: number, strategy?: number): void; now params(level: number, strategy: number): void. npmjs.com - Signature changed
Deflate.reset
Was reset(): void; now reset(): any. npmjs.com - Signature changed
Deflate.write
Was write(chunk: any, cb?: () => void): boolean write(chunk?: any, encoding?: string | null, cb?: () => void): boolean; now write(chunk: ChunkWithFlushFlag, cb?: () => void): boolean write(chunk: ChunkWithFlushFlag, encoding?... npmjs.com - Signature changed
DeflateRaw.constructor
Was constructor(opts: ZlibOptions & zlib.ZlibOptions); now constructor(opts: ZlibOptions). npmjs.com - Signature changed
DeflateRaw.end
Was end(chunk: any, cb?: () => void): this end(chunk?: any, encoding?: string | null, cb?: () => void): this; now end(cb?: () => void): this end(chunk: ChunkWithFlushFlag, cb?: () => void): this end(chunk: ChunkWithFlushFlag, encoding?... npmjs.com - Signature changed
DeflateRaw.params
Was params(level?: number, strategy?: number): void; now params(level: number, strategy: number): void. npmjs.com - Signature changed
DeflateRaw.reset
Was reset(): void; now reset(): any. npmjs.com - Signature changed
DeflateRaw.write
Was write(chunk: any, cb?: () => void): boolean write(chunk?: any, encoding?: string | null, cb?: () => void): boolean; now write(chunk: ChunkWithFlushFlag, cb?: () => void): boolean write(chunk: ChunkWithFlushFlag, encoding?... npmjs.com - Signature changed
Gunzip.constructor
Was constructor(opts: ZlibOptions & zlib.ZlibOptions); now constructor(opts: ZlibOptions). npmjs.com - Signature changed
Gunzip.end
Was end(chunk: any, cb?: () => void): this end(chunk?: any, encoding?: string | null, cb?: () => void): this; now end(cb?: () => void): this end(chunk: ChunkWithFlushFlag, cb?: () => void): this end(chunk: ChunkWithFlushFlag, encoding?... npmjs.com - Signature changed
Gunzip.params
Was params(level?: number, strategy?: number): void; now params(level: number, strategy: number): void. npmjs.com - Signature changed
Gunzip.reset
Was reset(): void; now reset(): any. npmjs.com - Signature changed
Gunzip.write
Was write(chunk: any, cb?: () => void): boolean write(chunk?: any, encoding?: string | null, cb?: () => void): boolean; now write(chunk: ChunkWithFlushFlag, cb?: () => void): boolean write(chunk: ChunkWithFlushFlag, encoding?... npmjs.com - Signature changed
Gzip.constructor
Was constructor(opts: ZlibOptions & zlib.ZlibOptions); now constructor(opts: GzipOptions). npmjs.com - Signature changed
Gzip.end
Was end(chunk: any, cb?: () => void): this end(chunk?: any, encoding?: string | null, cb?: () => void): this; now end(cb?: () => void): this end(chunk: ChunkWithFlushFlag, cb?: () => void): this end(chunk: ChunkWithFlushFlag, encoding?... npmjs.com - Signature changed
Gzip.params
Was params(level?: number, strategy?: number): void; now params(level: number, strategy: number): void. npmjs.com - Signature changed
Gzip.reset
Was reset(): void; now reset(): any. npmjs.com - Signature changed
Gzip.write
Was write(chunk: any, cb?: () => void): boolean write(chunk?: any, encoding?: string | null, cb?: () => void): boolean; now write(chunk: ChunkWithFlushFlag, cb?: () => void): boolean write(chunk: ChunkWithFlushFlag, encoding?... npmjs.com - Signature changed
Inflate.constructor
Was constructor(opts: ZlibOptions & zlib.ZlibOptions); now constructor(opts: ZlibOptions). npmjs.com - Signature changed
Inflate.end
Was end(chunk: any, cb?: () => void): this end(chunk?: any, encoding?: string | null, cb?: () => void): this; now end(cb?: () => void): this end(chunk: ChunkWithFlushFlag, cb?: () => void): this end(chunk: ChunkWithFlushFlag, encoding?... npmjs.com - Signature changed
Inflate.params
Was params(level?: number, strategy?: number): void; now params(level: number, strategy: number): void. npmjs.com - Signature changed
Inflate.reset
Was reset(): void; now reset(): any. npmjs.com - Signature changed
Inflate.write
Was write(chunk: any, cb?: () => void): boolean write(chunk?: any, encoding?: string | null, cb?: () => void): boolean; now write(chunk: ChunkWithFlushFlag, cb?: () => void): boolean write(chunk: ChunkWithFlushFlag, encoding?... npmjs.com - Signature changed
InflateRaw.constructor
Was constructor(opts: ZlibOptions & zlib.ZlibOptions); now constructor(opts: ZlibOptions). npmjs.com - Signature changed
InflateRaw.end
Was end(chunk: any, cb?: () => void): this end(chunk?: any, encoding?: string | null, cb?: () => void): this; now end(cb?: () => void): this end(chunk: ChunkWithFlushFlag, cb?: () => void): this end(chunk: ChunkWithFlushFlag, encoding?... npmjs.com - Signature changed
InflateRaw.params
Was params(level?: number, strategy?: number): void; now params(level: number, strategy: number): void. npmjs.com - Signature changed
InflateRaw.reset
Was reset(): void; now reset(): any. npmjs.com - Signature changed
InflateRaw.write
Was write(chunk: any, cb?: () => void): boolean write(chunk?: any, encoding?: string | null, cb?: () => void): boolean; now write(chunk: ChunkWithFlushFlag, cb?: () => void): boolean write(chunk: ChunkWithFlushFlag, encoding?... npmjs.com - Signature changed
Unzip.constructor
Was constructor(opts: ZlibOptions & zlib.ZlibOptions); now constructor(opts: ZlibOptions). npmjs.com - Signature changed
Unzip.end
Was end(chunk: any, cb?: () => void): this end(chunk?: any, encoding?: string | null, cb?: () => void): this; now end(cb?: () => void): this end(chunk: ChunkWithFlushFlag, cb?: () => void): this end(chunk: ChunkWithFlushFlag, encoding?... npmjs.com - Signature changed
Unzip.params
Was params(level?: number, strategy?: number): void; now params(level: number, strategy: number): void. npmjs.com - Signature changed
Unzip.reset
Was reset(): void; now reset(): any. npmjs.com - Signature changed
Unzip.write
Was write(chunk: any, cb?: () => void): boolean write(chunk?: any, encoding?: string | null, cb?: () => void): boolean; now write(chunk: ChunkWithFlushFlag, cb?: () => void): boolean write(chunk: ChunkWithFlushFlag, encoding?... npmjs.com
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.