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

1649 Commits

Author SHA1 Message Date
Ruben Bridgewater
6fdf629595 v.2.6.0-2 v.2.6.0-2 2016-04-29 04:42:09 +02:00
Ruben Bridgewater
0b8090b461 v.2.6.0-2 pre-release 2016-04-29 04:33:53 +02:00
Ruben Bridgewater
03f1a606f7 Improve error handling
Added individual error classes
Don't silently fail for commands without callback from now on
General polishing (e.g. better error messages)

Fix typos
2016-04-29 04:31:39 +02:00
Ruben Bridgewater
bf394923fd Use built-in error classes to make errors more specific 2016-04-29 04:10:24 +02:00
Ruben Bridgewater
5368e7477e Add changelog 2016-04-29 04:10:24 +02:00
Ruben Bridgewater
ce1678c778 Improve coverage; make tests ready for Redis 3.2
Add command sanity check
2016-04-29 04:10:23 +02:00
Ruben Bridgewater
eae16938cd Add monitor transaction warning / error 2016-04-29 04:10:23 +02:00
Ruben Bridgewater
f7c4d131be Remove jshint comments and update istanbul comments 2016-04-29 04:10:23 +02:00
Ruben Bridgewater
625f14e6ba Fix address always set to 127.0.0.1:6379 in case the host/port is set in the tls options 2016-04-29 04:10:23 +02:00
Ruben Bridgewater
f500398cab Run tests only with the js parser instead of hiredis and js parser from now on
This removes the optional-dev-dependency as this is not needed from now on anymore
2016-04-29 04:10:23 +02:00
Ruben Bridgewater
0dc45bd0a3 Improve pub sub mode further 2016-04-29 04:10:23 +02:00
Ruben Bridgewater
5fac5958c3 Fix async test executed sync 2016-04-29 04:10:23 +02:00
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