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

1837 Commits

Author SHA1 Message Date
Ruben Bridgewater
8308a3e6ae Update dependencies 2016-04-29 04:10:23 +02:00
Ruben Bridgewater
e58e310225 Remove unnecessary unallocation. This is done by the queue itself
The total size is kept in the queue but this does not have to be reset each time
2016-04-29 04:10:23 +02:00
Ruben Bridgewater
a857829a36 Improve error handling
Arguments are now passed to an command error in case they exist
An error is only emitted if that very same error is not already handled in a callback
2016-04-29 04:10:23 +02:00
Ruben Bridgewater
97ae78877b Implement CLIENT REPLY ON|OFF|SKIP 2016-04-29 04:10:23 +02:00
Ruben Bridgewater
3038c9043d Make sure all individual handled command work in multi context the same
Fix quit possibly resulting in reconnections
2016-04-29 04:10:23 +02:00
Ruben Bridgewater
0424cb0bf3 Move pub sub command into individual commands and use call_on_write 2016-04-29 04:10:23 +02:00
Ruben Bridgewater
683815de9d Refactor pipelining 2016-04-29 04:10:23 +02:00
Ruben Bridgewater
5d12659583 Fix typos / comments 2016-04-29 04:10:23 +02:00
Ruben Bridgewater
cd58e1fd89 Implement message_buffer and pmessage_buffer events 2016-04-29 04:10:23 +02:00
Ruben Bridgewater
a9d565b8f4 Fix auth regression
Fixes #1028
2016-04-29 04:10:23 +02:00
Ruben Bridgewater
aff765adf0 Fix execution order
If the command_queue and the offline_queue holds commands,
the offline_queue should be choosen instead of the command_queue.
2016-04-29 04:10:23 +02:00
Ruben Bridgewater
8e24380d53 Add optional callback option to duplicate function 2016-04-29 04:10:23 +02:00
Ruben Bridgewater
d2b8f2f391 Add support for camelCase
Fixes missing `EXEC_BATCH` on multi
2016-04-29 04:10:23 +02:00
Ruben Bridgewater
dfd493f6ee Update benchmark file 2016-04-23 12:54:43 +02:00
Ruben Bridgewater
5e42302636 Accept arbitrary arguments in the debug function 2016-04-23 12:54:43 +02:00
Ruben Bridgewater
228573b8d7 Support __proto__ and similar as object attribute in hgetall 2016-04-23 12:54:43 +02:00
Ruben Bridgewater
a11e0c5ff9 Don't expose internal variables 2016-04-22 02:32:52 +02:00
Ruben Bridgewater
4e529814d4 Small Readme fixes 2016-04-22 02:32:51 +02:00
Ruben Bridgewater
dfb1d93a4f Explicitly ask for the platform in the issue template 2016-04-22 02:30:46 +02:00
Ruben Bridgewater
c2c57ded9e Readme grammar fixes 2016-04-21 04:08:20 +02:00
Kyle
0311198f7d Altered createClient readme
Fixed typos, made language consistent, removed opinion, switched from
bullets to table
2016-04-21 04:08:20 +02:00
Brian Rossmajer
6c118c311f Noting when client.duplicate() might be used
Explicitly pointing out that when blocking and non-blocking functions are used on the same connection, unexpected results can occur
2016-04-07 23:05:56 -04:00
Ruben Bridgewater
7ffba03be6 v.2.6.0-1 v.2.6.0-1 2016-04-01 11:42:22 +02:00
Ruben Bridgewater
a8c2f223ac Add changelog 2016-04-01 11:42:22 +02:00
Ruben Bridgewater
b59225e35e Update readme 2016-04-01 11:42:22 +02:00
Ruben Bridgewater
14170f9d02 Improve tests a bit
Reduce timeouts if possible
Extend timeouts if needed (windows tests need their time)
Don't expose the redis socket to others than the owner
Don't create the stunnel log
2016-04-01 11:42:22 +02:00
Ruben Bridgewater
79c1767f86 Fix pubsub further
Unsubscribing from all channels did not work properly with reconnect
Pub sub did not work properly with the new `string_numbers` option
2016-03-31 19:23:46 +02:00
Ruben Bridgewater
3fd865bbb3 Move the exposed and documented api into a separate file 2016-03-31 19:23:46 +02:00
Ruben Bridgewater
861749f4d6 Fix send_command working with hooked internal functions 2016-03-31 19:23:46 +02:00
Ruben Bridgewater
3c2e6b4a83 Update changelog entry v.2.6.0-0 2016-03-27 05:37:58 +02:00
Ruben Bridgewater
d223421b98 v.2.6.0-0 2016-03-27 05:31:03 +02:00
Ruben Bridgewater
c94efed3a5 Merge pull request #1016 from NodeRedis/properly-quit
Calling quit should always close the connection
2016-03-27 05:28:23 +02:00
Ruben Bridgewater
48481552c9 Calling quit should always close the connection 2016-03-27 05:18:38 +02:00
Ruben Bridgewater
3704ebdd9d Merge pull request #1021 from NodeRedis/string_numbers
Add string_numbers option to handle very big numbers

Fixes #994
Fixes #339
2016-03-27 03:39:38 +02:00
Ruben Bridgewater
0c5947be51 Add string_numbers option to handle very big numbers 2016-03-27 03:19:18 +02:00
Ruben Bridgewater
2e68a7a270 Make test more robust by waiting till redis answered
The former fix was actually not working as expected
2016-03-26 15:44:46 +01:00
Ruben Bridgewater
68f2a8894e Make test more robust
The redis server ends the connection and the stream end might be triggered
before the quit command returned and is therefor racy.
2016-03-26 15:22:36 +01:00
Ruben Bridgewater
1a884a84eb Merge pull request #1019 from NodeRedis/eslint
Replace jshint with eslint and fix everything according to the new rules
2016-03-26 14:57:07 +01:00
Ruben Bridgewater
94e9f1fcfc Replace jshint with eslint and add lots of rules
Fix eslint errors accordingly
2016-03-26 14:45:12 +01:00
Ruben Bridgewater
12579e5e8e Test pubsub numsub
Closes #740
2016-03-26 04:53:27 +01:00
Ruben Bridgewater
50f1663ba5 Merge pull request #1017 from NodeRedis/pubsub
Fix pub sub mode

Fixes #603 
Fixes #577 
Fixes #137
2016-03-26 02:44:17 +01:00
Ruben Bridgewater
7a5a4aa535 Fix pub sub mode
There is likely a better and more performant way to fix this but this works so far
and should be good enough to release and improve later.

Make test more robust

Add another test
2016-03-26 02:14:10 +01:00
Ruben Bridgewater
5294917280 Merge pull request #1018 from NodeRedis/docu
Improve test and add some more documentation
2016-03-26 01:03:07 +01:00
Ruben Bridgewater
7af90043c8 Improve test 2016-03-26 01:00:32 +01:00
Ruben Bridgewater
a8e7d59e62 Add a note about not prefixing the keys command
Fixes #1012
2016-03-26 00:59:52 +01:00
Ruben Bridgewater
6e063018f5 Merge pull request #1006 from NodeRedis/monitor
Fix monitor mode

Fixes #1005
2016-03-26 00:49:44 +01:00
Ruben Bridgewater
344291a98a Fix monitoring mode 2016-03-25 16:09:20 +01:00
Ruben Bridgewater
bf568b6df7 v.2.5.3 v.2.5.3 2016-03-21 17:23:11 +01:00
Ruben Bridgewater
db6cf0a3b5 Don't throw on invalid data types but throw a warning instead
Fixes #1013
2016-03-21 17:22:03 +01:00
Ruben Bridgewater
ddbb94b598 Fix file example
Fixes #176
2016-03-21 17:22:00 +01:00