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

1761 Commits

Author SHA1 Message Date
Jacky Liu
6bb0d0007f Fix option param null bug
options.rename_commands could be null, and the repo README.md list the default value is "null";
2017-03-02 11:35:44 +08:00
Ruben Bridgewater
4d23636c4d Merge pull request #1167 from NodeRedis/greenkeeper-mocha-3.1.2
chore(package): update mocha to version 3.1.2
2017-02-22 14:24:44 +01:00
Ruben Bridgewater
c4b9b4ea26 Fix test on windows 2017-01-16 09:53:31 +01:00
Ruben Bridgewater
8688986051 Add issue to corresponding spec 2017-01-16 09:47:37 +01:00
Ruben Bridgewater
476e554fcd Fix typo 2017-01-16 09:47:30 +01:00
Ruben Bridgewater
1f730a803a v.2.6.5 v.2.6.5 2017-01-15 13:23:38 +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
dffa8a6aee Fix parser being reset in case (p)message_buffer is attached
without the parser set to return buffers.

This might result in corrupt data if the listener is attached
while the parser holds partial data.
2017-01-15 13:20:00 +01:00
Ruben Bridgewater
670b774101 v.2.6.4 v.2.6.4 2017-01-13 00:06:36 +01:00
Ruben Bridgewater
1051719dda Update eslint 2017-01-13 00:06:36 +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
4b27f798d8 Merge pull request #1168 from katoken-0215/wrong-example-retry-strategy
Check options.error
2016-11-25 20:15:43 +01:00
Ruben Bridgewater
ee6aba4cb5 Merge pull request #1171 from novemberborn/patch-1
Update retry_strategy example
2016-11-14 11:00:13 +01:00
Mark Wubben
18d5f604f5 Update retry_strategy example
Presumably `Math.min()` was intended, otherwise the `options.attempt * 100` result would be ignored for the first 30 attempts. IMHO the initial retries should be quick, but then the delay should be capped at a reasonable interval.
2016-11-10 15:55:25 +00:00
Kenji.Kato
dd3179a183 Check options.error
options.error it sometimes null.
Example code should check it before reference options.error.code.
(See also #1159 )
2016-11-05 03:31:20 +09:00
Ruben Bridgewater
be07c12fbd v.2.6.3 2016-10-31 21:09:08 +01:00
Ruben Bridgewater
bc35ed3172 Add support for Node.js 7 v.2.6.3 2016-10-31 21:03:42 +01:00
Ruben Bridgewater
39c88206ca Merge pull request #1166 from NodeRedis/fix-bugs
Fix domain and camelCase bug
2016-10-31 21:01:38 +01:00
Ruben Bridgewater
4e98cb9442 Improve error message 2016-10-31 20:54:13 +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
d8d0e2d3e3 Merge pull request #1031 from BrianRossmajer/patch-1
Noting in documentation when client.duplicate() might be used
2016-10-31 20:28:09 +01:00
greenkeeperio-bot
dff87d78f5 chore(package): update mocha to version 3.1.2
https://greenkeeper.io/
2016-10-11 09:21:28 +02:00
Ruben Bridgewater
782f2553f9 README improvements
highlight that all Redis commands are supported.
2016-10-08 15:39:58 +02:00
Greenkeeper
d3fedc648f chore(package): update nyc to version 8.3.0 (#1143)
https://greenkeeper.io/
2016-09-16 08:59:31 -07:00
Ruben Bridgewater
ff9b727609 Merge pull request #1100 from NodeRedis/greenkeeper-nyc-7.0.0
Update nyc to version 7.0.0 🚀
2016-07-15 16:13:24 +02:00
greenkeeperio-bot
0171935600 chore(package): update nyc to version 7.0.0
https://greenkeeper.io/
2016-07-09 09:23:57 +02:00
Ruben Bridgewater
0c6edbd8a6 Make test idempotent 2016-06-16 12:39:08 +02:00
Ruben Bridgewater
98688331a3 Merge pull request #1087 from Austintacious/tweak-documentation
Noting in docs that retry_max_delay and connect_timeout are deprecated
2016-06-16 12:30:18 +02:00
Ruben Bridgewater
01f723a0dd v.2.6.2 v.2.6.2 2016-06-16 12:29:00 +02:00
Ruben Bridgewater
de0a9628aa Fire the individual original callbacks when using transactions
Fixes #1089
2016-06-16 12:29:00 +02:00
Austin Winslow
a5b5ccbba3 Noting in docs that retry_max_delay and connect_timeout are deprecated 2016-06-14 13:24:20 -05:00
Brian Rossmajer
983cc69af5 Merge pull request #2 from BrianRossmajer/BrianRossmajer-patch-2
Update README.md
2016-06-04 23:06:30 -04:00
Brian Rossmajer
fc2c0dd78f Update README.md
Removing the negative example
2016-06-04 23:05:01 -04:00
Michael Diarmid
ed57f440c7 fix broken links 2016-06-02 00:35:29 +01:00
Ruben Bridgewater
2543e11b29 v.2.6.1 v.2.6.1 2016-06-02 00:59:54 +02: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
1487760ffd Merge pull request #1076 from danmactough/use-safe-function-names
Ensure synthetic function names conform to naming requirements
2016-06-02 00:29:54 +02:00
Dan MacTough
68ca5c760b Ensure synthetic function names conform to naming requirements
The "restore-asking" function name is not valid and was causing co-redis (by way of its usage of thenify) to throw because thenify uses the function name to rewrite async functions with promises.

This PR will change the name of the "restore-asking" function to "restore_asking", which is valid.

This sanitation is a bit stricter than necessary, since it also sanitizes valid unicode characters, but it covers this module's potential use cases just fine.
2016-06-01 13:15:04 -04:00
Ruben Bridgewater
dffc27d83f v.2.6.0 v.2.6.0 2016-06-01 16:24:26 +02:00
Ruben Bridgewater
79fc40036b Merge pull request #1074 from NodeRedis/v.2.6.0-proposal
v.2.6.0-proposal
2016-06-01 16:21:49 +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
579584d629 Test Node.js 6 on appyevor 2016-05-31 15:57:04 +02:00
Ruben Bridgewater
a0c7431787 Inherit the name property in the error classes 2016-05-31 15:11:57 +02:00
Ruben Bridgewater
c1f7755142 Keep monitoring mode if once activated and use internal function for select and monitor while connecting 2016-05-31 15:11:18 +02:00
Ruben Bridgewater
b3e89fee31 Support Node.js 6 2016-05-29 01:39:51 +02:00
Ruben Bridgewater
2c6e1e0cc0 Improve error stacks in development and debug mode 2016-05-29 01:38:34 +02:00
Ruben Bridgewater
ce44213d65 A function name is only configurable from v8 >= v.4.3 2016-05-29 01:38:34 +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
899f9b7fe4 Fix hungry developer typo 2016-05-29 01:38:34 +02:00