Skip to content

Commit 2684fdb

Browse files
author
Ruben Bridgewater
committed
Update changelog
1 parent c2e25a7 commit 2684fdb

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

changelog.md

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
Changelog
22
=========
33

4-
## v.2.5.0-0 - xx Jan, 2015
4+
## v.2.5.0-1 - 01 Mar, 2015
5+
6+
This is a big release with some substaintual underlining changes. Therefor this is released as a pre-release and I encourage anyone who's able to, to test this out.
7+
8+
It took way to long to release this one and the next release cycles will be shorter again.
9+
10+
This release is also going to deprecate a couple things to prepare for a future v.3 (it'll still take a while to v.3).
511

612
Features
713

@@ -14,7 +20,16 @@ Features
1420
- Added a `password` option as alias for auth_pass
1521
- The client.server_info is from now on updated while using the info command
1622
- Gracefuly handle redis protocol errors from now on
17-
- Added a `warning` emitter that receives deprecation messages and other node_redis warnings
23+
- Added a `warning` emitter that receives node_redis warnings like auth not required and deprecation messages
24+
- Added a `retry_strategy` option that replaces all reconnect options
25+
- The reconnecting event from now on also receives:
26+
- The error message why the reconnect happend (params.error)
27+
- The amount of times the client was connected (params.times_connected)
28+
- The total reconnecting time since the last time connected (params.total_retry_time)
29+
- Always respect the command execution order no matter if the reply could be returned sync or not (former exceptions: [#937](https://github.com/NodeRedis/node_redis/issues/937#issuecomment-167525939))
30+
- redis.createClient is now checking input values stricter and detects more faulty input
31+
- Started refactoring internals into individual modules
32+
- Pipelining speed improvements
1833

1934
Bugfixes
2035

@@ -26,6 +41,9 @@ Bugfixes
2641
- Fixed redis url not accepting the protocol being omitted or protocols other than the redis protocol for convienence
2742
- Fixed parsing the db keyspace even if the first database does not begin with a zero
2843
- Fixed handling of errors occuring while receiving pub sub messages
44+
- Fixed huge string pipelines crashing NodeJS (Pipeline size above 256mb)
45+
- Fixed rename_commands and prefix option not working together
46+
- Fixed ready being emitted to early in case a slave is still syncing / master down
2947

3048
Deprecations
3149

@@ -38,9 +56,13 @@ Deprecations
3856
- Using .end without flush means that any command that did not yet return is going to silently fail. Therefor this is considered harmfull and you should explicitly silence such errors if you are sure you want this
3957
- Depending on the return value of a command to detect the backpressure is deprecated
4058
- From version 3.0.0 on node_redis might not return true / false as a return value anymore. Please rely on client.should_buffer instead
41-
- The socket_nodelay option is deprecated and will be removed in v.3.0.0
59+
- The `socket_nodelay` option is deprecated and will be removed in v.3.0.0
4260
- If you want to buffer commands you should use [.batch or .multi](./README.md) instead. This is necessary to reduce the amount of different options and this is very likely reducing your throughput if set to false.
4361
- If you are sure you want to activate the NAGLE algorithm you can still activate it by using client.stream.setNoDelay(false)
62+
- The `max_attempts` option is deprecated and will be removed in v.3.0.0. Please use the `retry_strategy` instead
63+
- The `retry_max_delay` option is deprecated and will be removed in v.3.0.0. Please use the `retry_strategy` instead
64+
- The drain event is deprecated and will be removed in v.3.0.0. Please listen to the stream drain event instead
65+
- The idle event is deprecated and will likely be removed in v.3.0.0. If you rely on this feature please open a new ticket in node_redis with your use case
4466
- Redis < v. 2.6.11 is not supported anymore and will not work in all cases. Please update to a newer redis version
4567
- Removed non documented command syntax (adding the callback to an arguments array instead of passing it as individual argument)
4668

0 commit comments

Comments
 (0)