1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00
Commit Graph

1608 Commits

Author SHA1 Message Date
Ruben Bridgewater
55528d8b1b Revert 228573b8d7
Not inheriting from the prototype is a BC
2016-05-29 01:38:34 +02:00
Ruben Bridgewater
fe00bf271d Update redis-parser to v.2.0.0
Update all code accordingly
2016-05-29 01:38:34 +02:00
Ruben Bridgewater
84abf5c4c2 Fix benchmark not using individual options 2016-05-29 01:38:34 +02:00
Ruben Bridgewater
27eac2f594 Prevent a race condition by just forcefully ending the connection in the test 2016-05-29 01:38:34 +02:00
Michael Diarmid
bfdbf16d68 Merge pull request #1063 from a0viedo/patch-1
link build badge to master branch
2016-05-17 17:40:21 +01:00
Alejandro Oviedo
3e03f1961b link build badge to master branch 2016-05-17 10:01:07 -03:00
Ruben Bridgewater
3ab19e963d Merge pull request #1055 from kevinresol/patch-1
Fix snake_case typo
2016-05-04 10:10:34 +02:00
Kevin Leung
bd633d7306 Do you mean snake_case instead of snack_case? 2016-05-04 15:18:26 +08:00
Ruben Bridgewater
a1755b91fb Add release date 2016-04-29 04:43:56 +02:00
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