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

1875 Commits

Author SHA1 Message Date
Simon Prickett
72c0e7bf67 Fixed redis -> Redis in a couple places. (#2279) 2022-10-26 15:29:34 -04:00
Simon Prickett
e129d10952 Fixes typo Redis Search -> RediSearch (#2278) 2022-10-26 15:29:20 -04:00
Leibale Eidelman
29f734f60e upgrade dependencies (#2306) 2022-10-26 14:47:10 -04:00
Jay Koontz
4cfad3dab2 Update RedisGraph README.md (#2239)
* Update README.md

Simple example using Cypher to CREATE a graph with relationships and then MATCH on that graph

* Update README.md

Co-authored-by: Leibale Eidelman <leibale1998@gmail.com>
2022-10-25 07:20:55 -04:00
Sandeep Parmar
64e982d2bf Adds transaction with watched key example script. (#2297)
* transction example improved

* readme fixed

* delay added for watched key changes

* pooling error fixed on recursion

* Minor comment update.

Co-authored-by: Ajay <ajay.markana@yudiz.com>
Co-authored-by: Simon Prickett <simon@redis.com>

Closes #2280.
2022-10-19 17:50:57 +01:00
Varad Karpe
1eed12ec65 Connecting to cluster example (#2298)
* Connecting to cluster example

* Connecting to cluster example

* Making changes according to review

* Adding example to Readme.md in alphabetical order

* Fixed order of scripts so they are alphabetic.

Co-authored-by: Simon Prickett <simon@redis.com>

Closes #2281.
2022-10-19 13:02:07 +01:00
Mark
d0bfa771a8 #2287 Add example scripts showing pub/sub usage. (#2288)
* #2287 Add example scripts showing pub/sub usage.
https://github.com/redis/node-redis/issues/2287

* #2287 Add example scripts showing pub/sub usage.
Fixing comments requested
Adding client.connect() to pubsub-subscriber.js
Reformatting Readme
updating logging in pubsub-publisher.js

* #2287 Add example scripts showing pub/sub usage.
Fix publish and subscriber
Update tidy up comments

* Update examples/pubsub-subscriber.js

Making suggested changes

Co-authored-by: Simon Prickett <simon@crudworks.org>

Co-authored-by: Simon Prickett <simon@crudworks.org>

Closes #2287.
2022-10-14 23:07:28 +01:00
ade1705
9398e5d05e #2285-Add-example-scripts-hyperloglog - Added hyperloglog examples to… (#2289)
* #2285-Add-example-scripts-hyperloglog - Added hyperloglog examples to address Issue #2285

* #2285-Add-example-scripts-hyperloglog - Added the results as comments

* #2285-Add-example-scripts-hyperloglog - Changes from review

* #2285-Add-example-scripts-hyperloglog - Changes from review
2022-10-14 20:34:06 +01:00
Kien Dang
2a8e11a51d Export SetOptions type in redis/client command (#2268)
* Export setOptions type

* Export setOptions type in commands

* Revert "Export setOptions type in commands"

* Export SetOptions type in redis client

* Export SetOptions type in @redis/client

* Fix lint
2022-09-21 17:05:16 -04:00
Roman Poleguev
e1c0580d65 Fix CLUSTER_NODES ipv6 address parsing (#2269) 2022-09-19 13:31:21 -04:00
leibale
def9f161e5 Release redis@4.3.1 redis@4.3.1 2022-09-06 03:43:21 -04:00
leibale
0a37e475b4 upgrade json 2022-09-06 03:42:52 -04:00
leibale
7a57cc07a2 Release json@1.0.4 json@1.0.4 2022-09-06 03:40:40 -04:00
Leibale Eidelman
5dd7d3149a close #2192 close #2193 close #2194 close #2195 close #2196 close #2197 close #2198 - support for TimeSeries 1.8 (#2200) 2022-08-31 09:25:13 -04:00
leibale
b10a6567dc Release redis@4.3.0 search@1.1.0 redis@4.3.0 2022-08-22 18:37:23 -04:00
leibale
dea8002dfe upgrade sub packages 2022-08-22 18:37:00 -04:00
leibale
3c3914adb8 Release search@1.1.0 2022-08-22 18:32:13 -04:00
leibale
c73c3ef6fd Release client@1.3.0 client@1.3.0 2022-08-22 18:28:28 -04:00
Leibale Eidelman
35be671332 upgrade dependencies (#2242) 2022-08-22 18:23:43 -04:00
Leibale Eidelman
942de1f0b4 Handle unhandled errors in socket.reconnectStrategry (#2226)
* handle errors in reconnect strategy

* add test

* fix retries typo

* fix #2237 - flush queues on reconnect strategy error

* Update socket.ts

* Update socket.ts
2022-08-22 17:59:45 -04:00
Leibale Eidelman
1fdee05dd2 close #2166 - add support for cursor api (#2217) 2022-08-15 08:40:03 -04:00
Leibale Eidelman
7b7d0d2a36 fix nodeAddressMap docs (#2228) 2022-08-15 08:39:44 -04:00
Simon Prickett
f3462abf33 Updates examples. (#2219)
* Updates examples.

* Added command link for hset.
2022-08-15 08:39:28 -04:00
Leibale Eidelman
60ad6aab0b close #2210 - add support for FT.CREATE WITHSUFFIXTRIE (#2212) 2022-07-28 13:29:57 -04:00
Chayim
c1fd86778a adding link to om client (#2180) 2022-07-14 09:57:54 -04:00
Brandon Everett
ac032d82a0 fix: loop over arguments instead of spreading (#2160)
* fix: loop over arguments instead of spreading

* update to use concat

* use the returned array from pushVerdictArguments (instead of assuming it'll push to the original array)

* fix "Type 'RedisCommandArguments' is not assignable to type 'string[]'."

* fix "Argument of type 'RedisCommandArgument | RedisCommandArguments[]' is not assignable to parameter of type 'RedisCommandArgument | RedisCommandArgument[]'"

* fix "Type 'RedisCommandArguments' is not assignable to type 'string[]'"

Co-authored-by: Leibale Eidelman <leibale1998@gmail.com>
2022-07-13 07:01:35 -04:00
Leibale Eidelman
71d582368a Add support for client.unref() and client.ref() (#2188)
* close #2185 - add support for client.unref() and client.ref()

* allow sync tests
2022-07-13 07:01:20 -04:00
Ștefan Cenușă
f9f5e494dd fixed MIGRATE function when key is array (#2184)
* fix: 2163 push empty string as arg

* fix: updated migrate test with keys array
2022-07-07 14:33:58 -04:00
leibale
d2bba1de38 Release redis@4.2.0 redis@4.2.0 2022-07-05 11:46:34 -04:00
leibale
5f48d1f340 upgrade deps 2022-07-05 11:45:00 -04:00
leibale
704cf5ad34 Release client@1.2.0 client@1.2.0 2022-07-05 11:44:06 -04:00
leibale
9ffc30c727 upgrade deps 2022-07-05 11:42:43 -04:00
leibale
01edb7c305 Release redis@4.1.1 redis@4.1.1 2022-06-30 13:42:11 -04:00
leibale
3efe1b42a4 upgrade deps 2022-06-30 13:41:05 -04:00
leibale
25b76d460b Merge branch 'master' of github.com:redis/node-redis 2022-06-30 13:38:29 -04:00
leibale
11e6d495b0 Release client@1.1.1 client@1.1.1 2022-06-30 13:29:56 -04:00
Leibale Eidelman
6a850d36ae upgrade deps, fix "invalid save argument" error (#2174) 2022-06-30 13:07:29 -04:00
Simon Prickett
5fefcca8df Fixed a small typo. (#2168) 2022-06-30 12:53:26 -04:00
Simon Prickett
e1c13f874a Fixed erroneous reference to Top-K (#2158) 2022-06-15 15:18:36 -04:00
Simon Prickett
f269319f42 Updated search example to show sorting. (#2148)
* Updated search example to show sorting.

* Fixed example response.
2022-05-26 09:57:08 -04:00
Tom Graham
82f43d9a53 Fix issue with buffers in objects using hSet (#2139)
* Fix issue with buffers in objects using hSet

When using hSet with an object, any buffer values inside the object are converted to strings instead of left as buffers.
This fix specifically handles the special case of buffers, whilst casting everything else strings (to continue "gracefully" handling the case where the value not a valid type).

* Update HSET.ts

* Update HSET.spec.ts

Co-authored-by: Leibale Eidelman <leibale1998@gmail.com>
2022-05-26 09:56:10 -04:00
Leibale Eidelman
bf80c163b1 fix #2046 - add support for multi in select (#2133)
* fix #2046 - add support for multi in select

* fix "Argument of type 'symbol | undefined' is not assignable to parameter of type 'number | undefined'"
2022-05-26 09:55:47 -04:00
Leibale Eidelman
7196b907e5 fix #1915 - CLIENT TRACKINGINFO (#2127)
* fix #1915 - CLIENT TRACKINGINFO

* remove .only
2022-05-12 13:05:27 -04:00
Leibale Eidelman
d8db974980 fix #1914 - CLIENT TRACKING (#2126) 2022-05-12 12:56:09 -04:00
Leibale Eidelman
429b11e020 fix #1959 - LCS (#2129)
* fix #1959 - LCS

* newlines at end of files
2022-05-11 14:24:07 -04:00
Leibale Eidelman
24c2c867f8 fix #1917 - CLIENT UNPAUSE (#2128)
* fix #1917 - CLIENT UNPAUSE

* fix CLIENT UNPAUSE
2022-05-11 14:20:52 -04:00
Leibale Eidelman
3ec17e31b3 fix legacy mode resp encoder (#2118)
* fix legacy mode resp encoder

* Update encoder.ts
2022-05-11 14:20:26 -04:00
Leibale Eidelman
94dbcc847b fix #1912 - CLIENT PAUSE (#2125)
* fix #1912 - CLIENT PAUSE

* fix client pause

* Update commands.ts
2022-05-11 10:02:29 -04:00
Leibale Eidelman
53a96ccce4 fix #1911 - CLIENT NO-EVICT (#2124) 2022-05-11 09:36:23 -04:00
Avital Fine
06c1d2c243 Support all GEORADIUS Commands (#2017)
* Support all GEORADIUS Commands

* move store bool to options

* simplify transformReply for store commands

* clean code

Co-authored-by: leibale <leibale1998@gmail.com>
2022-05-11 09:36:12 -04:00