You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
doc: add v.3.0.0-alpha1 changelog
This commit is contained in:
21
changelog.md
21
changelog.md
@@ -1,5 +1,26 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## v.3.0.0-alpha1 - XX XXX, 2017
|
||||||
|
|
||||||
|
Breaking Changes
|
||||||
|
|
||||||
|
- Dropped support for `UPPER_CASE` commands
|
||||||
|
- Dropped support for `snake_case`
|
||||||
|
- Dropped support for Node.js < 4
|
||||||
|
- Removed `drain` event
|
||||||
|
- Removed `idle` event
|
||||||
|
- Removed `parser` option
|
||||||
|
- Removed `retryMaxDelay` (max_delay) option
|
||||||
|
- Removed `maxAttempts` (max_attempts) option
|
||||||
|
- Removed `socketNoDelay` (socket_no_delay) option
|
||||||
|
- Removed `Redis.print` helper function
|
||||||
|
- Changed return value of `(p)(un)subscribe`
|
||||||
|
- Return an array with the number of current subscribed channels and an array with all affected channels
|
||||||
|
- Changed `connectTimeout` (connect_timeout) option
|
||||||
|
- This timeout does not limit the total retry time anymore
|
||||||
|
- From now on this will only set the stream timeout to connect to the host
|
||||||
|
- Only emit ready when all commands were truly send to Redis
|
||||||
|
|
||||||
## v.2.7.2 - 14 Mar, 2017
|
## v.2.7.2 - 14 Mar, 2017
|
||||||
|
|
||||||
Bugfixes
|
Bugfixes
|
||||||
|
@@ -18,7 +18,7 @@ describe('The nodeRedis client', function () {
|
|||||||
fs.readFile(path.resolve(__dirname, '../lib/individualCommands.js'), 'utf8', function (err, data) {
|
fs.readFile(path.resolve(__dirname, '../lib/individualCommands.js'), 'utf8', function (err, data) {
|
||||||
var clientPrototype = data.match(/(\n| = )RedisClient\.prototype.[a-zA-Z_]+/g);
|
var clientPrototype = data.match(/(\n| = )RedisClient\.prototype.[a-zA-Z_]+/g);
|
||||||
var multiPrototype = data.match(/(\n| = )Multi\.prototype\.[a-zA-Z_]+/g);
|
var multiPrototype = data.match(/(\n| = )Multi\.prototype\.[a-zA-Z_]+/g);
|
||||||
// Check that every entry RedisClient entry has a correspondend Multi entry
|
// Check that every entry RedisClient entry has a correspondent Multi entry
|
||||||
assert.strictEqual(clientPrototype.filter(function (entry) {
|
assert.strictEqual(clientPrototype.filter(function (entry) {
|
||||||
return multiPrototype.indexOf(entry.replace('RedisClient', 'Multi')) === -1;
|
return multiPrototype.indexOf(entry.replace('RedisClient', 'Multi')) === -1;
|
||||||
}).length, 3); // multi and batch are included too
|
}).length, 3); // multi and batch are included too
|
||||||
|
Reference in New Issue
Block a user