Ruben Bridgewater
2b4ab10305
chore - remove standard and use individual config
...
Standard is not as up to date and still uses a old eslint version.
Instead, use the airbnb default with a couple of modifications.
All required changes are included.
2017-11-28 21:38:21 -02:00
Ruben Bridgewater
b6c317dbb0
chore: improve coverage
2017-05-30 06:45:28 +02:00
Ruben Bridgewater
ac26d0524d
fix: always emit an error when the connection drops
2017-05-30 04:38:02 +02:00
Ruben Bridgewater
265ce48af4
chore: minor refactoring
2017-05-30 00:44:57 +02:00
Ruben Bridgewater
b2e18344d9
chore: mark private variables as such and remove obsolete ones
2017-05-28 07:15:20 +02:00
Ruben Bridgewater
b837b46e76
chore: use short handle for process.nextTick
2017-05-28 05:23:20 +02:00
Ruben Bridgewater
0d53d3dcdf
feat: add auto pipeline
2017-05-28 05:23:19 +02:00
Ruben Bridgewater
8c63233968
feat: parse info data as numbers if possible and improve parsing
2017-05-28 01:45:19 +02:00
Ruben Bridgewater
3065e2e7be
chore: refactor parts out of the index.js file
2017-05-26 18:45:52 +02:00
Ruben Bridgewater
6ea202132b
feat: accept Map and Set and flatten arguments
2017-05-26 12:32:04 +02:00
Ruben Bridgewater
4d103b4aee
chore: update dependencies
2017-05-26 10:27:17 +02:00
Ruben Bridgewater
6be5575c5b
chore: refactor codebase to promises
2017-05-19 06:14:29 +02:00
Ruben Bridgewater
b2613b2270
test fixup
2017-05-06 08:16:19 +02:00
Ruben Bridgewater
f1a7bcd735
chore: use standard
2017-05-06 07:06:52 +02:00
Ruben Bridgewater
5d29f541e9
doc: add v.3.0.0-alpha1 changelog
2017-05-06 02:10:22 +02:00
Ruben Bridgewater
19f3d20b47
chore: remove support for UPPER_CASE commands
2017-05-06 01:49:48 +02:00
Ruben Bridgewater
5822939686
fixup underscore
2017-05-06 01:49:47 +02:00
Ruben Bridgewater
086c90d938
doc: fix typos
2017-05-06 01:49:46 +02:00
Ruben Bridgewater
28afc33c9a
Remove snack_case and always use camelCase
2017-05-06 01:49:05 +02:00
Ruben Bridgewater
78187142cb
Remove deprecated parser option
2017-05-06 01:49:04 +02:00
Ruben Bridgewater
98527e0fc5
Remove deprecated drain event
2017-05-06 01:49:03 +02:00
Ruben Bridgewater
b72dd195a8
Remove deprecated idle event
2017-05-06 01:49:03 +02:00
Ruben Bridgewater
59725e3f20
Remove deprecated max_delay
2017-05-06 01:49:02 +02:00
Ruben Bridgewater
b3106a45c4
Remove deprecated max_attempts
2017-05-06 01:49:02 +02:00
Ruben Bridgewater
2f6c421006
Remove socket_no_delay
2017-05-06 01:49:00 +02:00
Ruben Bridgewater
a2255d7fe2
Fix error messages not being visible in the stack trace of AbortErrors
2017-03-11 15:17:44 -03:00
Ruben Bridgewater
8688986051
Add issue to corresponding spec
2017-01-16 09:47:37 +01:00
Ruben Bridgewater
db0e8c53cc
Fixed parser not being reset in case the redis connection
...
closed ASAP for overcoming of output buffer limits.
Fixes #1190
2017-01-15 13:23:20 +01:00
Ruben Bridgewater
b9540d4965
Fix monitor mode not working with IPv6, sockets or lua scripts
...
Fixes #1189
Fixes #1037
2017-01-12 23:51:41 +01:00
Ruben Bridgewater
41d26dc0c8
Fix domain handling and tls camelCase settings
...
Fixes #1106
Fixes #1103
Closes #1104
2016-10-31 20:54:13 +01:00
Ruben Bridgewater
7eaba8c10d
Add tests to make sure no invalid function names get exported
2016-06-02 00:59:54 +02:00
Ruben Bridgewater
a41cfa9aae
Add good stack traces tests and fix stack traces in debug mode
2016-06-01 14:04:25 +02:00
Ruben Bridgewater
25aa8f6710
Fix monitoring mode not always activating soon enough
2016-05-29 01:38:34 +02:00
Ruben Bridgewater
8b6f2dd35e
Refactor command parsing
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
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
ce1678c778
Improve coverage; make tests ready for Redis 3.2
...
Add command sanity check
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
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
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
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
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
3fd865bbb3
Move the exposed and documented api into a separate file
2016-03-31 19:23:46 +02:00
Ruben Bridgewater
48481552c9
Calling quit should always close the connection
2016-03-27 05:18:38 +02: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
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
344291a98a
Fix monitoring mode
2016-03-25 16:09:20 +01:00
Ruben Bridgewater
ff19663d9d
Remove code overhead
...
Add another domain test
Fix test on node 0.10
2016-03-15 03:56:36 +01:00