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

1665 Commits

Author SHA1 Message Date
Matt Ranney
3cc297ada4 Contributed changes:
*  Support SlowBuffers (Umair Siddique)
*  Add Multi to exports (Louis-Philippe Perron)
*  Fix for drain event calculation (Vladimir Dronnikov)

Thanks!
v0.6.5
2011-07-06 09:49:40 -05:00
Matt Ranney
49300363e4 Merge pull request #118 from dvv/master
fix for drain event
2011-07-06 07:28:37 -07:00
Matt Ranney
256ce6b736 Merge pull request #119 from umairsiddique/master
SlowBuffer support
2011-07-06 07:18:07 -07:00
Matt Ranney
d99f3d988e Merge pull request #120 from lp/master
commodity exports.Multi
2011-07-06 07:03:08 -07:00
Louis-Philippe Perron
abc647ccb5 exports Multi as commodity 2011-07-04 15:18:03 -04:00
Umair Siddique
769748f473 Now it works with SlowBuffer too. 2011-07-04 06:13:29 +05:00
Vladimir Dronnikov
607cd71208 hz 2011-07-01 09:27:03 -04:00
Vladimir Dronnikov
f93af92fac updated stress tests 2011-07-01 08:40:02 -04:00
Vladimir Dronnikov
cc2c3f7776 another pub/sub strategy 2011-07-01 04:27:59 -04:00
Vladimir Dronnikov
9a4e51ee40 fix for buffered_writes -- now drain event works 2011-07-01 03:46:50 -04:00
Vladimir Dronnikov
02c3b01f0e added leaking stress tests. need to employ ned backpressure feature 2011-07-01 02:51:46 -04:00
Matt Ranney
891529c06a Fix bug with optional callbacks for hmset. 2011-06-30 16:13:57 -06:00
Matt Ranney
04b4db8723 Mention EVAL. 2011-06-30 15:33:27 -06:00
Matt Ranney
bd21c73b81 Move usage example to the top. 2011-06-30 15:31:03 -06:00
Matt Ranney
68774e071c Update description of hiredis and JS parser. 2011-06-30 15:27:49 -06:00
Matt Ranney
886b3355e1 Bugs fixed:
*  authentication retry while server is loading db (danmaz74) [GH-101]
*  command arguments processing issue with arrays

New features:

*  Auto update of new commands from redis.io (Dave Hoover)
*  Performance improvements and backpressure controls.
*  Commands now return the true/false value from the underlying socket write(s).
*  Implement command_queue high water and low water for more better control of queueing.

See `examples/backpressure_drain.js` for more information.
v0.6.2
2011-06-30 14:29:58 -06:00
Matt Ranney
fa272cf763 authentication retry while server is loading db (danmaz74) [GH-101] 2011-06-30 14:29:15 -06:00
Matt Ranney
f9e17556d2 Performance improvements and backpressure controls.
Simply and speed up command argument processing logic.
Commands now return the true/false value from the underlying socket write(s).
Implement command_queue high water and low water for more better control of queueing.
2011-06-30 14:12:35 -06:00
Matt Ranney
13914295a6 Merge pull request #101 from danmaz74/master
Fix bug with authentication and LOADING error response.
2011-06-30 11:19:20 -07:00
Matt Ranney
6e5112d664 Add support and tests for Redis scripting through EXEC command.
Bug fix for monitor mode.  (forddg)

Auto update of new commands from redis.io (Dave Hoover)
v0.6.1
2011-06-29 00:45:43 -07:00
Matt Ranney
707c9ab3df Add static list of commands to those downloaded from redis.io. 2011-06-28 22:48:30 -07:00
Matt Ranney
4b988bdb60 Bug fix for monitor mode. (forddg)
Also some whitespace fix for JSHint.
2011-06-12 14:35:21 -10:00
Matt Ranney
3d36711563 Auto update of new commands from redis.io (Dave Hoover)
Run this: node generate_commands.js

To fetch redis.io/commands.json and save it to a file that node_redis will read at startup.
2011-06-12 14:25:57 -10:00
Matt Ranney
d6b5e8b7d3 Merge pull request #107 from redsquirrel/master
The 'somehow' in 'This list needs to be updated, and perhaps auto-updated somehow'
2011-06-12 17:14:38 -07:00
Dave Hoover
e6b29c6846 Simplifying writeCommandsToFile /ht @polgfred 2011-06-02 21:52:03 -05:00
Dave Hoover
e210755b52 Developing the 'somehow' in 'This list [of commands] needs to be updated, and perhaps auto-updated somehow' 2011-06-02 21:12:13 -05:00
unknown
719d4f74cc Fixed a bug when the client tries to authenticate to the redis server and the server is still loading the database: Now the client tries to authenticate again every 2 seconds until actually authenticated. "connect" is only emitted after authentication if authentication is required. 2011-05-08 19:57:27 +02:00
Matt Ranney
c73af8d477 Update changelog 2011-04-21 16:57:22 -10:00
Matt Ranney
2c0ae38fb6 Update changelog. 2011-04-21 16:51:31 -10:00
Matt Ranney
f10ff9e916 Lots of bugs fixed.
*  connection error did not properly trigger reconnection logic [GH-85]
*  client.hmget(key, [val1, val2]) was not expanding properly [GH-66]
*  client.quit() while in pub/sub mode would throw an error [GH-87]
*  client.multi(['hmset', 'key', {foo: 'bar'}]) fails [GH-92]
v0.6.0
2011-04-21 16:48:14 -10:00
Matt Ranney
f624fa6234 Added DISCARD
I originally didn't think DISCARD would do anything here because of the clever MULTI interface, but somebody
pointed out to me that DISCARD can be used to flush the WATCH set.
v0.5.11
2011-04-07 08:58:01 -07:00
Matt Ranney
2b8b2cbd7f Added HVALS command v0.5.10 2011-04-06 09:50:29 -07:00
Matt Ranney
69a2572890 Fix bug with empty Array arguments - Andy Ray v0.5.9 2011-03-14 17:03:07 -10:00
Andy Ray
bbd48a6fac fix for issue of saving document with buffer AND array on it 2011-03-14 16:02:09 -10:00
Matt Ranney
850d129629 Add monitor example. 2011-03-14 15:53:30 -10:00
Matt Ranney
2fcc947f11 Add MONITOR command and special monitor command reply parsing. v0.5.8 2011-03-14 15:50:47 -10:00
Matt Ranney
1a14e24faa Add magical auth command.
Authentication is now remembered by the client and will be automatically sent to the server
on every connection, including any reconnections.
2011-02-27 23:10:44 -10:00
Matt Ranney
2534f740aa Update pub_sub example to show where to put auth. 2011-02-22 21:59:57 -10:00
Matt Ranney
29e09c1c16 Fix bug in ready check with return_buffers set to true.
Thanks to Dean Mao and Austin Chau.
v0.5.6
2011-02-22 21:10:50 -10:00
Matt Ranney
99ae085e40 Document ready check changes. 2011-02-16 15:59:17 -10:00
Matt Ranney
ee93d1b91b Add probe for server readiness.
When a Redis server starts up, it might take a while to load the dataset into memory.
During this time, the server will accept connections, but will return errors for all non-INFO
commands.  Now node_redis will send an INFO command whenever it connects to a server.
If the info command indicates that the server is not ready, the client will keep trying until
the server is ready.  Once it is ready, the client will emit a "ready" event as well as the
"connect" event.  The client will queue up all commands sent before the server is ready, just
like it did before.  When the server is ready, all offline/non-ready commands will be replayed.
This should be backward compatible with previous versions.

To disable this ready check behavior, set `options.no_ready_check` when creating the client.

As a side effect of this change, the key/val params from the info command are available as
`client.server_options`.  Further, the version string is decomposed into individual elements
in `client.server_options.versions`.
v0.5.5
2011-02-16 15:46:27 -10:00
Matt Ranney
8cf8c99763 Update Redis commands link to redis.io. 2011-02-11 00:35:20 -10:00
Matt Ranney
0f907401f0 Fix excess memory consumption from Queue backing store.
Thanks to Gustaf Sjöberg.
v0.5.4
2011-02-11 00:12:00 -10:00
Matt Ranney
efadbc8582 Fix multi/exec error reply callback logic.
Thanks to Stella Laurenzo.
v0.5.3
2011-02-05 19:54:40 -10:00
Matt Ranney
2d7869261a Fix bug where unhandled error replies confuse the parser. v0.5.2 2011-01-19 18:14:32 -08:00
nithesh
8787d81abf Added support for new BIT-related commands. 2011-01-18 17:08:48 -08:00
Matt Ranney
c1b5587e74 Fix bug where subscribe commands would not handle redis-server startup error properly. v0.5.1 2011-01-18 13:56:53 -08:00
Matt Ranney
fc5968c96c Merge branch 'master' of github.com:mranney/node_redis 2011-01-18 11:42:22 -08:00
Matt Ranney
81ac292fce Fix markdown indentation, I think. 2010-12-29 17:51:44 -08:00
Matt Ranney
ccce845cc2 Some bug fixes:
* An important bug fix in reconnection logic.  Previously, reply callbacks would be invoked twice after
  a reconnect.
* Changed error callback argument to be an actual Error object.

New feature:

* Add friendly syntax for HMSET using an object.
v0.5.0
2010-12-29 17:48:40 -08:00