1
0
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:
Ruben Bridgewater
2017-05-06 02:09:32 +02:00
parent 2e7fc76720
commit 5d29f541e9
2 changed files with 22 additions and 1 deletions

View File

@@ -1,5 +1,26 @@
# 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
Bugfixes

View File

@@ -18,7 +18,7 @@ describe('The nodeRedis client', function () {
fs.readFile(path.resolve(__dirname, '../lib/individualCommands.js'), 'utf8', function (err, data) {
var clientPrototype = data.match(/(\n| = )RedisClient\.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) {
return multiPrototype.indexOf(entry.replace('RedisClient', 'Multi')) === -1;
}).length, 3); // multi and batch are included too