You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: changelog.md
+25-3Lines changed: 25 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,13 @@
1
1
Changelog
2
2
=========
3
3
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).
5
11
6
12
Features
7
13
@@ -14,7 +20,16 @@ Features
14
20
- Added a `password` option as alias for auth_pass
15
21
- The client.server_info is from now on updated while using the info command
16
22
- 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
18
33
19
34
Bugfixes
20
35
@@ -26,6 +41,9 @@ Bugfixes
26
41
- Fixed redis url not accepting the protocol being omitted or protocols other than the redis protocol for convienence
27
42
- Fixed parsing the db keyspace even if the first database does not begin with a zero
28
43
- Fixed handling of errors occuring while receiving pub sub messages
- 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
29
47
30
48
Deprecations
31
49
@@ -38,9 +56,13 @@ Deprecations
38
56
- 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
39
57
- Depending on the return value of a command to detect the backpressure is deprecated
40
58
- 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
42
60
- 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.
43
61
- 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
44
66
- Redis < v. 2.6.11 is not supported anymore and will not work in all cases. Please update to a newer redis version
45
67
- Removed non documented command syntax (adding the callback to an arguments array instead of passing it as individual argument)
0 commit comments