Skip to content

Commit 5368e74

Browse files
author
Ruben Bridgewater
committed
Add changelog
1 parent ce1678c commit 5368e74

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

changelog.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,43 @@
11
Changelog
22
=========
33

4+
## v.2.6.0-2 - xx Apr, 2016
5+
6+
Features
7+
8+
- Added support for the new `CLIENT REPLY ON|OFF|SKIP` command (Redis v.3.2)
9+
- Added support for camelCase
10+
- The Node.js landscape default is to use camelCase. node_redis is a bit out of the box here
11+
but from now on it is possible to use both, just as you prefer!
12+
- If there's any documented variable missing as camelCased, please open a issue for it
13+
- Improve error handling significantly
14+
- Only emit an error if the error has not already been handled in a callback
15+
- Emit an error if a command would otherwise silently fail (no callback present)
16+
- Improved unspecific error messages e.g. "Connection gone from end / close event"
17+
- Added `args` to command errors to improve identification of the error
18+
- Added origin to errors if there's e.g. a connection error
19+
- Added ReplyError class. All Redis errors are from now on going to be of that class
20+
- Added AbortError class. A subclass of AbortError. All unresolved and by node_redis rejected commands are from now on of that class
21+
- Added AggregateError class. If a unresolved and by node_redis rejected command has no callback and
22+
this applies to more than a single command, the errors for the commands without callback are aggregated
23+
to a single error that is emitted in debug_mode in that case.
24+
- Added `message_buffer` / `pmessage_buffer` events. That event is always going to emit a buffer
25+
- Listening to the `message` event at the same time is always going to return the same message as string
26+
- Added callback option to the duplicate function
27+
- Added support for `__proto__` and other reserved keywords as hgetall field
28+
- Updated [redis-commands](https://github.com/NodeRedis/redis-commands) dependency ([changelog](https://github.com/NodeRedis/redis-commands/releases/tag/v.1.2.0))
29+
30+
Bugfixes
31+
32+
- Fixed v.2.5.0 auth command regression (under special circumstances a reconnect would not authenticate properly)
33+
- Fixed v.2.6.0-0 pub sub mode and quit command regressions:
34+
- Entering pub sub mode not working if a earlier called and still running command returned an error
35+
- Unsubscribe callback not called if unsubscribing from all channels and resubscribing right away
36+
- Quit command resulting in an error in some cases
37+
- Fixed special handled functions in batch and multi context not working the same as without (e.g. select and info)
38+
- Be aware that not all commands work in combination with transactions but they all work with batch
39+
- Fixed address always set to 127.0.0.1:6379 in case host / port is set in the `tls` options instead of the general options
40+
441
## v.2.6.0-1 - 01 Apr, 2016
542

643
A second pre-release with further fixes. This is likely going to be released as 2.6.0 stable without further changes.

0 commit comments

Comments
 (0)