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

576 Commits

Author SHA1 Message Date
avinashkrishna613
4ec97be4f0 fix #1956 - add support for LATENCY HISTORY (#2555)
* added support for LATENCY_HISTORY command

* clean code

* Update LATENCY_HISTORY.ts

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-09-19 16:21:54 -04:00
Asher
6848f3d207 Add support for PUBSUB SHARDNUMSUB (#2541)
* Add support for command 'PUBSUB SHARDNUMSUB'

* Use import from PUBSUB_SHARDNUMSUB

* Add test case for non-empty reply

* clean tests

* run tests in redis >= 7, fix integration test

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-09-19 15:59:02 -04:00
Moshe L
01ca54e907 fix #1970 - add support for RESTORE (#2535)
* - Added RESTORE functionality

* add FIRST_KEY_INDEX, fix tests, clean example, add example to examples table

* use returnBuffers in test

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-09-18 19:45:33 -04:00
Evis Cheng
8ecfd3ebda Add support for CLUSTER MYSHARDID (#2528)
* Add support for CLUSTER.MYSHARDID command

* Update CLUSTER_MYSHARDID.ts

* Update CLUSTER_MYSHARDID.spec.ts

* add test and clean code

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-09-18 19:31:03 -04:00
Brett Burch
a217cc1a88 Add support for FT.SEARCH NOCONTENT (#2610)
* Add support for NOCONTENT in FT.SEARCH

* Move support for NOCONTENT search option from client.search to client.searchNoContent

* Add test for SEARCH_NOCONTENT#transformReply

* Fix typo

* Enable test

* Update test field type

---------

Co-authored-by: Leibale <me@leibale.com>
2023-09-18 18:33:17 -04:00
Leibale
1f97893785 fix ACL GETUSER test 2023-09-18 18:25:13 -04:00
shacharPash
cf21c1a1f8 Add support for JSON.MERGE (#2511)
* Support JSON.MERGE Command

* test only 2.6+ ReJson version

* test on edge

* review

* Update test-utils.ts

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-09-18 17:54:25 -04:00
Codrin-Mihai Chira
4e610c2f8a Add support for CLIENT NO-TOUCH (#2497) 2023-09-18 17:49:37 -04:00
Francisco Presencia
fb255eb5d0 Have client.connect() return a Promise<RedisClient> (#2602)
* Connect returns the instance of the client

* Added a test

* No auto setup

* Added a bit of docs

* fix the return type, test, and the docs

* fix return type

* Update packages/client/lib/client/index.spec.ts

Co-authored-by: Francisco Presencia <franciscop@users.noreply.github.com>

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-09-18 17:40:08 -04:00
Rowan Trollope
5a108265da Add support for JSON.MSET (#2605)
* Added MSET command

MSET command added. Requires all keys to have the same JSON Path, which might fit most use cases, but is a limitation.  Optionally we could make the path an array as well to support all use cases.

* change JSON.MSET signature, add to json command object, fix tests

* its `item.value`, not `item.json`..

* Update MSET.ts

Removed unused RedisCommandArguments

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-09-18 17:39:23 -04:00
Leibale
4976231f24 upgrade deps, remove node 14 & 16 from tests matrix 2023-09-18 17:23:01 -04:00
Leibale
98ab197ee7 update package.json engines.node version to 18 2023-09-18 17:20:09 -04:00
Leibale
4be30ccd0f comment cluster request & response policies (keep v4 behaver) 2023-09-18 17:16:41 -04:00
Leibale
67900a50fa fix some missing node: prefix 2023-09-18 17:15:28 -04:00
Leibale
266d635a60 add node: to node "core modules" imports 2023-09-18 15:03:07 -04:00
Leibale
3fa54fef58 fix #2614 - add support for RediSearch GEOSHAPE fields 2023-09-18 12:40:12 -04:00
Leibale
17cf320651 CLUSERT [INFO|NODES|REPLICAS] 2023-09-12 16:02:12 -04:00
Leibale
7f5c309bc9 fix JSON spec describe title 2023-09-05 18:34:48 -04:00
Leibale
9f511f4171 npm update 2023-09-05 18:27:08 -04:00
Leibale
c12dc79950 RedisJSON 2023-09-05 18:19:31 -04:00
Leibale
5bab7fa6fd mark NUMMULTBY as deprecated 2023-09-05 14:52:23 -04:00
Leibale
823aba2c3c JSON.MERGE 2023-09-05 14:48:14 -04:00
Leibale
228b1d97c6 fix MSET 2023-09-05 14:47:38 -04:00
Leibale
9c295d26cb Merge branch 'master' of github.com:rowantrollope/node-redis into v5 2023-09-05 14:45:05 -04:00
Leibale
6512f0a571 Merge branch 'master' of github.com:redis/node-redis into v5 2023-09-05 14:39:57 -04:00
Leibale
3895eb5926 client pool 2023-09-04 17:26:48 -04:00
Rowan Trollope
0093eb007f Update MSET.ts
Removed unused RedisCommandArguments
2023-08-29 19:51:06 -07:00
Leibale Eidelman
43969a3f38 its item.value, not item.json.. 2023-08-29 12:29:30 -07:00
Leibale Eidelman
f476c38971 change JSON.MSET signature, add to json command object, fix tests 2023-08-29 11:21:34 -07:00
Rowan Trollope
132599332f Added MSET command
MSET command added. Requires all keys to have the same JSON Path, which might fit most use cases, but is a limitation.  Optionally we could make the path an array as well to support all use cases.
2023-08-29 10:31:34 -07:00
Leibale
afd8c235fb Release time-series@1.0.5 2023-08-23 15:30:19 -04:00
Leibale
504a05baad Release client@1.5.9 2023-08-23 15:16:51 -04:00
Leibale
fe74e322dd upgrade deps 2023-08-23 14:53:26 -04:00
Joren Vandeweyer
bc8abd5a38 fixes #2524 delaying graceful exit while pingInterval is set (#2525)
* fixes #2524

* `clearTimeout` in `disconnect` too

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-08-23 13:20:20 -04:00
Leibale
7b3c393b50 GRAPH.QUERY 2023-08-01 15:32:37 -04:00
Leibale
d0801921e7 JSON.STRAPPEND 2023-08-01 14:52:08 -04:00
Leibale
fd016ee1b2 some json and search commands 2023-08-01 14:29:34 -04:00
Leibale
2136418f1a wip 2023-07-31 17:35:51 -04:00
Leibale
cf38f512b8 some RediSearch commands 2023-07-31 17:34:45 -04:00
Leibale
689c6a576c remove .only 2023-07-27 12:59:25 -04:00
Leibale
7ce9e9bf25 FT.CREATE 2023-07-27 12:58:07 -04:00
Leibale
bfe5a8c881 fix GRAPH.DELETE 2023-07-27 11:32:10 -04:00
Leibale
ff07bbf3d3 WIP 2023-07-27 11:23:34 -04:00
Leibale
61c3e8b95b fix TOPK commands 2023-07-26 11:10:28 -04:00
alphabetkrish
b58833b6ea fix #2569 - fix @redis/search README 2023-07-20 16:09:35 -04:00
Leibale
8369448d05 ref #2565 - fix X[AUTO]CLAIM 2023-07-20 16:04:51 -04:00
Leibale
51a1000603 fix XAUTOCLAIM test for <7.0 2023-07-19 15:11:29 -04:00
Leibale
c02de006db remove .only 2023-07-19 14:22:04 -04:00
Leibale
c9dae346a2 ref #2565 - handle null message in XAUTOCLAIM 2023-07-19 13:59:44 -04:00
Leibale
fdd1978d92 WIP 2023-07-18 16:32:45 -04:00