1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00
Commit Graph

2214 Commits

Author SHA1 Message Date
Nick Apperson
b1d8ff9ae8 reply_to_object function is broken for binary keys
There is currently no way to opt out of the way hgetall works with the
node_redis library and if any of the keys have binary, they are
incorrectly converted to the charactor 0xFEFF instead. This makes it
impossible to fully use HGETALL.
2014-05-07 14:14:11 -05:00
Charles Feng
ef1a90642d Regenerate commands.js for redis 2.8.9. 2014-04-23 14:52:17 -07:00
Raynos
d34308ea4c check process.domain is STILL currDomain 2014-04-18 13:57:35 -07:00
Raynos (Jake Verbaten)
7d61feb411 Check that process.domain still exists 2014-04-18 13:54:16 -07:00
Mohit Gupta
d313aa5dab param socket_keepalive to set keep-alive on socket 2014-03-25 16:33:43 -07:00
Bryan English
4672479b91 If there's an error in SELECT and there's no callback, emit the error. 2014-02-18 22:03:25 -08:00
Bryce Baril
2ff2a74ef6 0.10.1 v0.10.1 2014-02-17 17:53:33 -08:00
Bryce Baril
15294e7856 Update changelog for 0.10.1 2014-02-17 17:53:31 -08:00
Robert Sköld
0367a64bff Handle undefined redis_version
Apparently some servers don't send the redis_version with the INFO command (*cough* redis cloud *cough*). This causes the app to crash violently (yay node!).
2014-02-17 13:26:16 +01:00
Bryce Baril
f6019658e6 update changelog for 0.10.0 2013-12-21 13:53:51 -08:00
Bryce Baril
f1b11603fd 0.10.0 v0.10.0 2013-12-21 13:25:56 -08:00
Bryce Baril
6a3ccf64f4 Client to emit errors now instead of throwing them asynchronously where they're uncatchable. 2013-12-21 11:08:00 -08:00
Bryce Baril
34a2375bec 0.9.2 v0.9.2 2013-12-15 14:54:28 -08:00
Bryce Baril
36384e850e Update changelog for 0.9.2 2013-12-15 14:54:23 -08:00
Bryce Baril
057f9b3087 Merge branch 'master' of https://github.com/whockey/node_redis into whockey-master 2013-12-15 14:44:30 -08:00
Marek
656ecbbbf4 Regenerate commands.js to match redis 2.8.0. Adds support for 'config rewrite', 'pubsub', 'scan', 'sscan', 'hscan' and 'zscan' 2013-12-15 16:01:33 +00:00
William Hockey
313fd7f65b only re-initializing retry variables if the connection is really connected 2013-12-12 12:05:38 -08:00
William Hockey
355bea1e3b Removing attempts reset - will be set to 1 in initialize_retry_vars 2013-12-12 12:04:34 -08:00
Bryce Baril
e9cd46a223 Updating changelog.md for 0.9.1 2013-11-23 11:48:28 -08:00
Bryce Baril
0d2f3b37df 0.9.1 v0.9.1 2013-11-23 11:45:52 -08:00
Bryce Baril
c1926cd27c Adding test for #457 2013-11-23 11:44:29 -08:00
Bryce Baril
813cada02f Merge branch 'master' of https://github.com/kwangsu61/node_redis into kwangsu61-master 2013-11-23 11:30:20 -08:00
Alex Stokes
58385daf61 fixed spacing issue 2013-11-21 11:47:46 -06:00
Alex Stokes
67e018cdb3 restored white space 2013-11-21 11:46:30 -06:00
Alex Stokes
6634e5eeaf added tests for HMSET using numeric key 2013-11-21 11:44:33 -06:00
Alex Stokes
2fbbe26127 removed trailing whitespace 2013-11-20 23:10:14 -06:00
Alex Stokes
a2695f3d17 updated RedisClient.prototype.hmset to accept string or numeric keys when calling client.hmset(key, {key1: val1, key2: val2}) 2013-11-20 16:53:47 -06:00
Bryce Baril
b93aee5fab 0.9.0 v0.9.0 2013-10-17 11:54:17 -07:00
Bryce Baril
dcad0a2da2 Update changelog for version 0.9.0 2013-10-17 11:54:14 -07:00
Forrest L Norvell
2e8c6dae85 exit the domain after emitting. Thanks, cxreg! 2013-10-17 11:46:34 -07:00
Forrest L Norvell
e7099717aa Don't bind the RedisClient to the domain; callback should suffice. 2013-10-17 11:41:37 -07:00
Forrest L Norvell
0b6870be5c Added direct support for domains.
There are three pieces to this support, all of them small, and none of
them with large overhead:

  1. When sending a command, ensure that any callback is bound to the
     current domain, if one is present.
  2. Also add the RedisClient to the current domain so that error
     events bubble properly.
  3. In try_callback, when a domain is in play, instead of throwing
     on the next tick, emit the error on the domain. The parser can
     still finish processing the response and the error ends up in
     the correct place.
2013-10-17 11:41:37 -07:00
Bryce Baril
8e4c9557d0 Merge pull request #498 from PaulVI/patch-1
typo already
2013-10-13 20:12:06 -07:00
Paul Verest
1d495d304e typo already 2013-10-14 10:47:00 +08:00
Bryce Baril
7bb015a080 Merge pull request #497 from chakrit/master
README for unix domain socket connection.
2013-10-11 09:05:47 -07:00
Chakrit Wichian
8c394c1101 README for unix domain socket connection. 2013-10-11 16:00:04 +07:00
Bryce Baril
ebf463556c 0.8.6 v0.8.6 2013-10-02 22:30:16 -07:00
Bryce Baril
5d999ab440 Update changelog 2013-10-02 22:29:01 -07:00
Bryce Baril
1d0d3aaf8f Give more time for unref test for slower systems 2013-10-02 22:26:43 -07:00
Mathieu M-Gosselin
75cf487d73 When handling the "error reply" event from the parser, we now bubble up the Error object if it's one instead of wrapping it in another Error. 2013-10-02 22:21:01 -07:00
Bryce Baril
d5c7a2ce2e Formatting 2013-10-02 22:12:56 -07:00
David Barshow
a4f266684e Make retry_max_delay option work correctly when retry_backoff becomes greater than one 2013-10-02 21:56:02 -07:00
bobrik
31c22be6b9 String is not an error 2013-10-02 21:35:51 -07:00
Bryce Baril
b12c49a207 Add unref() method to RedisClient that will call unref() on the socket connection, allowing it to close when unused. This is experimental because it does not yet understand the Redis protocol, so subscriptions or blocking operations will not work correctly. 2013-10-02 16:10:26 -07:00
Bryce Baril
5f125b51d4 Issue #439 (and others): Stop assuming all "message" or "pmessage" replies are pubsub replies. Check pub_sub_mode as well. 2013-10-02 14:04:28 -07:00
Bryce Baril
520ed070d6 0.8.5 v0.8.5 2013-09-26 08:02:58 -07:00
Bryce Baril
5f3537e93c Prep for release 2013-09-26 08:02:55 -07:00
Bryce Baril
8f71003009 Add test for auth_pass option submitted by hpeinar 2013-07-24 08:21:28 -07:00
Bryce Baril
882556e32d Merge branch 'master' of https://github.com/hpeinar/node_redis into hpeinar-master 2013-07-24 08:09:53 -07:00
Bryce Baril
278137c399 0.8.4 v0.8.4 2013-06-26 18:17:26 -07:00