All Versions
208
Latest Version
Avg Release Cycle
17 days
Latest Release
513 days ago
Changelog History
Page 11
Changelog History
Page 11
-
v4.3.0 Changes
December 09, 2018 -
v4.2.3 Changes
November 24, 2018 -
v4.2.2
October 20, 2018 -
v4.2.1
October 19, 2018 -
v4.2.0 Changes
October 17, 2018๐ Features
- ๐ support customize dns lookup function (#723) (b9c4793), closes antirez/redis#2410
-
v4.1.0 Changes
October 15, 2018๐ Bug Fixes
- cluster: quit() ignores errors caused by disconnected connection (#720) (fb3eb76)
- cluster: robust solution for pub/sub in cluster (#697) (13a5bc4), closes #696
- cluster: stop subscriber when disconnecting (fb27b66)
๐ Features
- cluster: re-select subscriber when the currenct one is failed (c091f2e)
๐ Performance Improvements
-
v4.0.2 Changes
October 09, 2018 -
v4.0.1 Changes
October 08, 2018 -
v4.0.0 Changes
August 14, 2018๐ This is a major release and contain breaking changes. Please read this changelog before upgrading.
๐ Changes since 4.0.0-3:
๐ Bug Fixes
๐ Features
- export Pipeline for inheritances enabling (#675) (ca58249)
- ๐ฆ export ScanStream at package level (#667) (5eb4198)
๐ Changes since 3.x
๐ Bug Fixes
- Sentinel: unreachable errors when sentinals are healthy (7bf6fea)
- โ resolve warning for Buffer() in Node.js 10 (6144c56)
- don't add cluster.info to the failover queue before ready (491546d)
- solves vulnerabilities dependencies (2950b79)
- Cluster: issues when setting enableOfflineQueue to false (#649) (cfe4258)
๐ Performance Improvements
- ๐ upgrade redis-parser for better performance.
๐ Features
- ๐ use native Promise instead of Bluebird, and allow users to switch back. (da60b8b)
- โ add maxRetriesPerRequest option to limit the retries attempts per command (1babc13)
Redis#connect()
will be resolved when status is ready (#648) (f0c600b)- โ add debug details for connection pool (9ec16b6)
- wait for ready state before resolving cluster.connect() (7517a73)
๐ฅ BREAKING CHANGES
- โฌ๏ธ Drop support for < node v6
- ๐ Use native Promise instead of Bluebird. This change makes all the code that rely on the features provided by Bluebird not working
โฑ anymore. For example,
redis.get('foo').timeout(500)
now should be failed since the native โฑ Promise doesn't support thetimeout
method. You can switch back to the Bluebird implementation by settingRedis.Promise
:
const Redis = require('ioredis') Redis.Promise = require('bluebird') const redis = new Redis() // Use bluebird assert.equal(redis.get().constructor, require('bluebird')) // You can change the Promise implementation at any time: Redis.Promise = global.Promise assert.equal(redis.get().constructor, global.Promise)
Redis#connect()
will be resolved when status is ready instead ofconnect
:
const redis = new Redis({ lazyConnect: true }) redis.connect().then(() => { assert(redis.status === 'ready') })
Cluster#connect()
will be resolved when the connection status becomeready
instead ofconnect
.- The maxRetriesPerRequest is set to 20 instead of null (same behavior as ioredis v3) 0๏ธโฃ by default. So when a redis server is down, pending commands won't wait forever until the connection become alive, instead, they only wait about 10s (depends on the retryStrategy option)
- The
new
keyword is required explicitly. CallingRedis
as a function like Redis(/* options /)is deprecated and will not be supported in the next major version, use
new Redis(/ options */)` instead.
-
v4.0.0-3 Changes
July 22, 2018