340cddb6d1
Use process.nextTick to uncork
2016-04-29 06:11:12 +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
ce1678c778
Improve coverage; make tests ready for Redis 3.2
...
Add command sanity check
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
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
683815de9d
Refactor pipelining
2016-04-29 04:10:23 +02:00
5d12659583
Fix typos / comments
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
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
3fd865bbb3
Move the exposed and documented api into a separate file
2016-03-31 19:23:46 +02:00
48481552c9
Calling quit should always close the connection
2016-03-27 05:18:38 +02:00
94e9f1fcfc
Replace jshint with eslint and add lots of rules
...
Fix eslint errors accordingly
2016-03-26 14:45:12 +01:00
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
344291a98a
Fix monitoring mode
2016-03-25 16:09:20 +01:00
ff19663d9d
Remove code overhead
...
Add another domain test
Fix test on node 0.10
2016-03-15 03:56:36 +01:00
f75b38a3e2
Make windows tests more robust
2016-03-14 23:10:46 +01:00
2913eaccaf
Make tests more robust and print more details if one might still fail
2016-03-07 11:52:48 +01:00
c2e25a7f71
Move lots code into separate files and split big functions party into smaller ones
...
Also refactor small stuff here
Removed the .send_anyway boolean and use .ready instead
2016-03-07 01:57:56 +01:00
575ad7357b
Insert deprecation warnings and some minor refactoring
2016-03-07 01:57:56 +01:00
4f3c4a2ef6
Add more tests
...
Add execution order tests
Fix flaky test
Add utils tests
Improve other tests
2016-03-07 01:57:56 +01:00
8dcf06754d
Add warnings and handle protocol errors gracefuly
2016-03-01 17:59:16 +01:00
5ef24a90b6
Add tests and improve older tests
2015-12-31 06:00:20 +01:00
16a1d69c82
Move parsers into seperate module and improve js parser performance
2015-11-30 13:31:26 +01:00
0207163655
Remove support of redis 2.4
...
All tests require at least redis 2.6 from now on. Anyone who wants to run the tests should be able to install a newer version.
2015-11-30 13:31:26 +01:00
d55017a01e
Use .end(true) to stricten test cases and improve coverage
2015-11-24 00:23:18 +01:00
32a5e1d148
Add changelog entries
2015-11-23 18:38:06 +01:00
b5fe822553
Add selected_db to the new redis instance if using client.duplicate
2015-11-23 14:38:10 +01:00
6711c94d1b
Add duplicate function to duplicate the current client instance
...
Fixes #919
2015-11-23 11:32:23 +01:00
634dcee859
Only initiate the parser once per instance and throw sync if the parser can't be found
2015-11-23 11:30:50 +01:00
8bf794fb36
Stricten tests by always ending redis with .end(true) if possible
2015-11-22 16:56:54 +01:00
0ec2c43603
Fix fired but not yet returned commands not being rejected after a connection loss
2015-10-28 23:53:10 +01:00
399a29a97c
Improve pipeline logic and fix #897
2015-10-28 23:53:10 +01:00
2a65ee48dd
Fix some minor issues and add more tests
...
Do not mutate the options object and add some more tests
2015-10-17 21:56:16 +02:00
90033bdd00
Fix some tests
2015-10-10 19:37:42 +02:00
b773119967
the monitor test should not be within the block of tests related to redis closing unexpectedly
2015-10-03 21:28:14 -07:00
0db1152492
tests were failing on my old mac (node 0.10.40, osx 10.9.5, 2.8.7)
2015-10-03 21:08:00 -07:00
2ca42417bf
Fix explicitly passing undefined as callback
2015-10-02 20:20:56 +02:00
afcd760b18
Fix a test and add some more
2015-09-30 02:04:56 +02:00
5f261c5823
Minor changes
...
Move utility functions in lib/utils.js
Improve the js parser in cases the buffer is incomplete
Rename lib/parser to lib/parsers
Fix smaller issues with test suite and fix parser errors not being catched
Fixed wrong test for the new .end flush parameter
Fixed test suite options being partly mutated
Add some more tests
2015-09-25 02:12:48 +02:00
bd4fca130d
Make .end flush optional and add some tests
2015-09-24 13:27:32 +02:00
f29193a7e0
Investigate failure
2015-09-21 22:37:56 +02:00
07154fce25
Fix typo
2015-09-21 22:30:35 +02:00
6958c1854b
Increase the coverage by adding tests and fix a failing ready check
2015-09-21 02:38:27 +02:00
1cbf19ddf5
Hotfix for older node versions
2015-09-20 21:19:29 +02:00
c60a3b65fe
Rename .command_used to .command and add the used command to more errors
2015-09-20 18:56:21 +02:00
1f121fa6e2
Fix error messages being manipulated. Fixes #695
2015-09-20 18:53:57 +02:00
26e5764214
Remove broken test
2015-09-19 17:48:25 +02:00
f543d45d1f
Fix and add more tests
2015-09-19 17:48:25 +02:00
28f31f134c
Improve server keyspace info in .server_info
2015-09-18 01:51:40 +02:00