1
0
mirror of https://github.com/redis/node-redis.git synced 2025-07-31 05:44:24 +03:00

1100 Commits

Author SHA1 Message Date
340cddb6d1 Use process.nextTick to uncork 2016-04-29 06:11:12 +02:00
a1755b91fb Add release date 2016-04-29 04:43:56 +02:00
6fdf629595 v.2.6.0-2 v.2.6.0-2 2016-04-29 04:42:09 +02:00
0b8090b461 v.2.6.0-2 pre-release 2016-04-29 04:33:53 +02:00
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
bf394923fd Use built-in error classes to make errors more specific 2016-04-29 04:10:24 +02:00
5368e7477e Add changelog 2016-04-29 04:10:24 +02:00
ce1678c778 Improve coverage; make tests ready for Redis 3.2
Add command sanity check
2016-04-29 04:10:23 +02:00
eae16938cd Add monitor transaction warning / error 2016-04-29 04:10:23 +02:00
f7c4d131be Remove jshint comments and update istanbul comments 2016-04-29 04:10:23 +02:00
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
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
0dc45bd0a3 Improve pub sub mode further 2016-04-29 04:10:23 +02:00
5fac5958c3 Fix async test executed sync 2016-04-29 04:10:23 +02:00
8308a3e6ae Update dependencies 2016-04-29 04:10:23 +02:00
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
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
97ae78877b Implement CLIENT REPLY ON|OFF|SKIP 2016-04-29 04:10:23 +02:00
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
0424cb0bf3 Move pub sub command into individual commands and use call_on_write 2016-04-29 04:10:23 +02:00
683815de9d Refactor pipelining 2016-04-29 04:10:23 +02:00
5d12659583 Fix typos / comments 2016-04-29 04:10:23 +02:00
cd58e1fd89 Implement message_buffer and pmessage_buffer events 2016-04-29 04:10:23 +02:00
a9d565b8f4 Fix auth regression
Fixes #1028
2016-04-29 04:10:23 +02:00
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
8e24380d53 Add optional callback option to duplicate function 2016-04-29 04:10:23 +02:00
d2b8f2f391 Add support for camelCase
Fixes missing `EXEC_BATCH` on multi
2016-04-29 04:10:23 +02:00
dfd493f6ee Update benchmark file 2016-04-23 12:54:43 +02:00
5e42302636 Accept arbitrary arguments in the debug function 2016-04-23 12:54:43 +02:00
228573b8d7 Support __proto__ and similar as object attribute in hgetall 2016-04-23 12:54:43 +02:00
a11e0c5ff9 Don't expose internal variables 2016-04-22 02:32:52 +02:00
4e529814d4 Small Readme fixes 2016-04-22 02:32:51 +02:00
dfb1d93a4f Explicitly ask for the platform in the issue template 2016-04-22 02:30:46 +02:00
c2c57ded9e Readme grammar fixes 2016-04-21 04:08:20 +02:00
0311198f7d Altered createClient readme
Fixed typos, made language consistent, removed opinion, switched from
bullets to table
2016-04-21 04:08:20 +02:00
7ffba03be6 v.2.6.0-1 v.2.6.0-1 2016-04-01 11:42:22 +02:00
a8c2f223ac Add changelog 2016-04-01 11:42:22 +02:00
b59225e35e Update readme 2016-04-01 11:42:22 +02:00
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
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
3fd865bbb3 Move the exposed and documented api into a separate file 2016-03-31 19:23:46 +02:00
861749f4d6 Fix send_command working with hooked internal functions 2016-03-31 19:23:46 +02:00
3c2e6b4a83 Update changelog entry v.2.6.0-0 2016-03-27 05:37:58 +02:00
d223421b98 v.2.6.0-0 2016-03-27 05:31:03 +02:00
c94efed3a5 Merge pull request #1016 from NodeRedis/properly-quit
Calling quit should always close the connection
2016-03-27 05:28:23 +02:00
48481552c9 Calling quit should always close the connection 2016-03-27 05:18:38 +02:00
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
0c5947be51 Add string_numbers option to handle very big numbers 2016-03-27 03:19:18 +02:00
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
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