@types/ioredis breaking changes
@types/ioredis 4.0.0 (August 29, 2018) is its newest release with breaking changes, 251 of them. The first: Removed Pipeline.lpopBuffer. Every breaking API change we have recorded in @types/ioredis on npm: 545 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 5.0.0, released October 26, 2022.
Packages on npm run on Node.js. Node.js end of life dates.
@types/ioredis 4.0.0 breaking changes
- Removed
Pipeline.lpopBuffer
Pipeline.lpopBuffer was removed in @types/ioredis 4.0.0 npmjs.com - Removed
Pipeline.lrangeBuffer
Pipeline.lrangeBuffer was removed in @types/ioredis 4.0.0 npmjs.com - Removed
Pipeline.pttl
Pipeline.pttl was removed in @types/ioredis 4.0.0 npmjs.com - Removed
Pipeline.rpushBuffer
Pipeline.rpushBuffer was removed in @types/ioredis 4.0.0 npmjs.com - Signature changed
Cluster.defineCommand
Was defineCommand(name: string, definition: {numberOfKeys?: number | undefined; lua?: string | undefined;}): any; now defineCommand(name: string, definition: {numberOfKeys?: number; lua?: string;}): any. npmjs.com - Signature changed
ClusterOptions.clusterRetryStrategy
Was clusterRetryStrategy?(times: number): number | null; now clusterRetryStrategy?(times: number): number. npmjs.com - Signature changed
ClusterOptions.enableOfflineQueue
Was enableOfflineQueue?: boolean | undefined; now enableOfflineQueue?: boolean. npmjs.com - Signature changed
ClusterOptions.enableReadyCheck
Was enableReadyCheck?: boolean | undefined; now enableReadyCheck?: boolean. npmjs.com - Signature changed
ClusterOptions.maxRedirections
Was maxRedirections?: number | undefined; now maxRedirections?: number. npmjs.com - Signature changed
ClusterOptions.redisOptions
Was redisOptions?: RedisOptions | undefined; now redisOptions?: RedisOptions. npmjs.com - Signature changed
ClusterOptions.retryDelayOnClusterDown
Was retryDelayOnClusterDown?: number | undefined; now retryDelayOnClusterDown?: number. npmjs.com - Signature changed
ClusterOptions.retryDelayOnFailover
Was retryDelayOnFailover?: number | undefined; now retryDelayOnFailover?: number. npmjs.com - Signature changed
ClusterOptions.retryDelayOnTryAgain
Was retryDelayOnTryAgain?: number | undefined; now retryDelayOnTryAgain?: number. npmjs.com - Signature changed
ClusterOptions.scaleReads
Was scaleReads?: string | undefined; now scaleReads?: string. npmjs.com - Signature changed
NodeConfiguration.host
Was host?: string | undefined; now host?: string. npmjs.com - Signature changed
NodeConfiguration.port
Was port?: number | undefined; now port?: number. npmjs.com - Signature changed
Pipeline.append
Was append(key: string, value: any, callback?: (err: Error, res: number) => void): Pipeline; now append(key: KeyType, value: any, callback?: (err: Error, res: number) => void): Pipeline. npmjs.com - Signature changed
Pipeline.bitcount
Was bitcount(key: string, callback?: (err: Error, res: number) => void): Pipeline bitcount(key: string, start: number, end: number, callback?: (err: Error, res: number) => void): Pipeline; now bitcount(key: KeyType, callback?: (err: Error... npmjs.com - Signature changed
Pipeline.blpop
Was blpop(...keys: string[]): Pipeline; now blpop(...keys: KeyType[]): Pipeline. npmjs.com - Signature changed
Pipeline.brpop
Was brpop(...keys: string[]): Pipeline; now brpop(...keys: KeyType[]): Pipeline. npmjs.com - Signature changed
Pipeline.decr
Was decr(key: string, callback?: (err: Error, res: number) => void): Pipeline; now decr(key: KeyType, callback?: (err: Error, res: number) => void): Pipeline. npmjs.com - Signature changed
Pipeline.decrby
Was decrby(key: string, decrement: number, callback?: (err: Error, res: number) => void): Pipeline; now decrby(key: KeyType, decrement: number, callback?: (err: Error, res: number) => void): Pipeline. npmjs.com - Signature changed
Pipeline.del
Was del(...keys: string[]): Pipeline; now del(...keys: KeyType[]): Pipeline. npmjs.com - Signature changed
Pipeline.dump
Was dump(key: string, callback?: (err: Error, res: string) => void): Pipeline; now dump(key: KeyType, callback?: (err: Error, res: string) => void): Pipeline. npmjs.com - Signature changed
Pipeline.exists
Was exists(...keys: string[]): Pipeline; now exists(...keys: KeyType[]): Pipeline. npmjs.com - Signature changed
Pipeline.expire
Was expire(key: string, seconds: number, callback?: (err: Error, res: 0 | 1) => void): Pipeline; now expire(key: KeyType, seconds: number, callback?: (err: Error, res: 0 | 1) => void): Pipeline. npmjs.com - Signature changed
Pipeline.expireat
Was expireat(key: string, timestamp: number, callback?: (err: Error, res: 0 | 1) => void): Pipeline; now expireat(key: KeyType, timestamp: number, callback?: (err: Error, res: 0 | 1) => void): Pipeline. npmjs.com - Signature changed
Pipeline.get
Was get(key: string, callback?: (err: Error, res: string) => void): Pipeline; now get(key: KeyType, callback?: (err: Error, res: string) => void): Pipeline. npmjs.com - Signature changed
Pipeline.getbit
Was getbit(key: string, offset: number, callback?: (err: Error, res: number) => void): Pipeline; now getbit(key: KeyType, offset: number, callback?: (err: Error, res: number) => void): Pipeline. npmjs.com - Signature changed
Pipeline.getBuffer
Was getBuffer(key: string, callback?: (err: Error, res: Buffer) => void): Pipeline; now getBuffer(key: KeyType, callback?: (err: Error, res: Buffer) => void): Pipeline. npmjs.com - Signature changed
Pipeline.getrange
Was getrange(key: string, start: number, end: number, callback?: (err: Error, res: string) => void): Pipeline; now getrange(key: KeyType, start: number, end: number, callback?: (err: Error, res: string) => void): Pipeline. npmjs.com - Signature changed
Pipeline.getset
Was getset(key: string, value: any, callback?: (err: Error, res: string) => void): Pipeline; now getset(key: KeyType, value: any, callback?: (err: Error, res: string) => void): Pipeline. npmjs.com - Signature changed
Pipeline.hdel
Was hdel(key: string, ...fields: string[]): Pipeline; now hdel(key: KeyType, ...fields: string[]): Pipeline. npmjs.com - Signature changed
Pipeline.hexists
Was hexists(key: string, field: string, callback?: (err: Error, res: 0 | 1) => void): Pipeline; now hexists(key: KeyType, field: string, callback?: (err: Error, res: 0 | 1) => void): Pipeline. npmjs.com - Signature changed
Pipeline.hget
Was hget(key: string, field: string, callback?: (err: Error, res: string) => void): Pipeline; now hget(key: KeyType, field: string, callback?: (err: Error, res: string) => void): Pipeline. npmjs.com - Signature changed
Pipeline.hgetall
Was hgetall(key: string, callback?: (err: Error, res: any) => void): Pipeline; now hgetall(key: KeyType, callback?: (err: Error, res: any) => void): Pipeline. npmjs.com - Signature changed
Pipeline.hgetBuffer
Was hgetBuffer(key: string, field: string, callback?: (err: Error, res: Buffer) => void): Pipeline; now hgetBuffer(key: KeyType, field: string, callback?: (err: Error, res: Buffer) => void): Pipeline. npmjs.com - Signature changed
Pipeline.hincrby
Was hincrby(key: string, field: string, increment: number, callback?: (err: Error, res: number) => void): Pipeline; now hincrby(key: KeyType, field: string, increment: number, callback?: (err: Error, res: number) => void): Pipeline. npmjs.com - Signature changed
Pipeline.hincrbyfloat
Was hincrbyfloat(key: string, field: string, increment: number, callback?: (err: Error, res: number) => void): Pipeline; now hincrbyfloat(key: KeyType, field: string, increment: number, callback?: (err: Error, res: number) => void)... npmjs.com - Signature changed
Pipeline.hkeys
Was hkeys(key: string, callback?: (err: Error, res: any) => void): Pipeline; now hkeys(key: KeyType, callback?: (err: Error, res: any) => void): Pipeline. npmjs.com - Signature changed
Pipeline.hlen
Was hlen(key: string, callback?: (err: Error, res: number) => void): Pipeline; now hlen(key: KeyType, callback?: (err: Error, res: number) => void): Pipeline. npmjs.com - Signature changed
Pipeline.hmget
Was hmget(key: string, ...fields: string[]): Pipeline; now hmget(key: KeyType, ...fields: string[]): Pipeline. npmjs.com - Signature changed
Pipeline.hmset
Was hmset(key: string, data: any, callback?: (err: Error, res: 0 | 1) => void): Pipeline hmset(key: string, field: string, value: any, ...args: string[]): Pipeline; now hmset(key: KeyType, data: any, callback?: (err: Error, res: 0 | 1) =>... npmjs.com - Signature changed
Pipeline.hscan
Was hscan(key: string, cursor: number, ...args: any[]): Pipeline; now hscan(key: KeyType, cursor: number, ...args: any[]): Pipeline. npmjs.com - Signature changed
Pipeline.hset
Was hset(key: string, field: string, value: any, callback?: (err: Error, res: 0 | 1) => void): Pipeline; now hset(key: KeyType, field: string, value: any, callback?: (err: Error, res: 0 | 1) => void): Pipeline. npmjs.com - Signature changed
Pipeline.hsetBuffer
Was hsetBuffer(key: string, field: string, value: any, callback?: (err: Error, res: Buffer) => void): Pipeline; now hsetBuffer(key: KeyType, field: string, value: any, callback?: (err: Error, res: Buffer) => void): Pipeline. npmjs.com - Signature changed
Pipeline.hsetnx
Was hsetnx(key: string, field: string, value: any, callback?: (err: Error, res: 0 | 1) => void): Pipeline; now hsetnx(key: KeyType, field: string, value: any, callback?: (err: Error, res: 0 | 1) => void): Pipeline. npmjs.com - Signature changed
Pipeline.hvals
Was hvals(key: string, callback?: (err: Error, res: any) => void): Pipeline; now hvals(key: KeyType, callback?: (err: Error, res: any) => void): Pipeline. npmjs.com - Signature changed
Pipeline.incr
Was incr(key: string, callback?: (err: Error, res: number) => void): Pipeline; now incr(key: KeyType, callback?: (err: Error, res: number) => void): Pipeline. npmjs.com - Signature changed
Pipeline.incrby
Was incrby(key: string, increment: number, callback?: (err: Error, res: number) => void): Pipeline; now incrby(key: KeyType, increment: number, callback?: (err: Error, res: number) => void): Pipeline. npmjs.com
And 201 more in this version. Sign up to see every change
@types/ioredis 3.2.0 breaking changes
- Removed
Commander
Commander was removed in @types/ioredis 3.2.0 npmjs.com - Removed
ResCallbackT
ResCallbackT was removed in @types/ioredis 3.2.0 npmjs.com - Signature changed
Cluster.__new
Was new (nodes: {host: string; port: number;}[], options?: IORedis.ClusterOptions): Redis; now new(nodes: Array<{host: string; port: number;}>, options?: ClusterOptions): Redis. npmjs.com - Signature changed
Cluster.connect
Was connect(callback: Function): Promise<any>; now connect(callback: () => void): Promise<any>. npmjs.com - Signature changed
ClusterOptions.clusterRetryStrategy
Was clusterRetryStrategy?: (times: number) => number; now clusterRetryStrategy?(times: number): number. npmjs.com - Signature changed
default
Was module IORedis; now namespace IORedis. npmjs.com - Signature changed
Pipeline.append
Was append(...args: any[]): Pipeline append(args: any[], callback?: ResCallbackT<any>): Pipeline; now append(key: string, value: any, callback?: (err: Error, res: number) => void): Pipeline. npmjs.com - Signature changed
Pipeline.auth
Was auth(...args: any[]): void auth(args: any[], callback?: ResCallbackT<any>): void; now auth(password: string, callback?: (err: Error, res: string) => void): Pipeline. npmjs.com - Signature changed
Pipeline.bgrewriteaof
Was bgrewriteaof(...args: any[]): Pipeline bgrewriteaof(args: any[], callback?: ResCallbackT<any>): Pipeline; now bgrewriteaof(callback?: (err: Error, res: string) => void): Pipeline. npmjs.com - Signature changed
Pipeline.bgsave
Was bgsave(...args: any[]): Pipeline bgsave(args: any[], callback?: ResCallbackT<any>): Pipeline; now bgsave(callback?: (err: Error, res: string) => void): Pipeline. npmjs.com
And 284 more in this version. Sign up to see every change
Related packages
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.