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

2214 Commits

Author SHA1 Message Date
Leibale
6cc635cb93 Release search@1.1.4 search@1.1.4 2023-09-19 17:54:58 -04:00
Leibale
fef006cc1d Release client@1.5.10 client@1.5.10 2023-09-19 17:53:20 -04:00
Charley DAVID
e00041e0eb Fix: XAUTOCLAIM after a TRIM with pending messages returns nil (#2565)
* fix(client): XCLAIM & XAUTOCLAIM after a TRIM might return nils

* fix(client): Fix race condition in specs

* revert test utils changes

* make tests faster

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-09-19 17:37:16 -04:00
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
Leibale
b5d580c399 Upgrade actions/checkout 2023-09-18 19:08:29 -04:00
Leibale
d8ae8cf0ff Upgrade actions/checkout & actions/setup-node 2023-09-18 19:03:18 -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
Leibale
0e51765475 Update tests.yml 2023-09-18 17:52:09 -04:00
Leibale Eidelman
8c8740a4ba Add 7.2 to tests matrix 2023-09-18 17:51:40 -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
26b9e6dc78 remove node 19 2023-09-18 17:31:28 -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
d009de1acf upgrade tsconfig/node16 to tsconfig/node18 2023-09-18 15:35:45 -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
292dc58e15 cluster v4-to-v5 2023-09-12 16:03:29 -04:00
Leibale
17cf320651 CLUSERT [INFO|NODES|REPLICAS] 2023-09-12 16:02:12 -04:00
Leibale
0e8a0b9dd0 remove node16 from tests matrix 2023-09-12 16:00:50 -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
294cbf8367 Release redis@4.6.8 redis@4.6.8 2023-08-23 15:32:52 -04:00
Leibale
b3fe14e224 ugprade subpackages 2023-08-23 15:32:22 -04:00
Leibale
afd8c235fb Release time-series@1.0.5 time-series@1.0.5 2023-08-23 15:30:19 -04:00
Leibale
504a05baad Release client@1.5.9 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
Chayim
259e9b2e1f Updating all client licenses to clearly be MIT (#2596) 2023-08-10 10:50:57 +02:00
Leibale
c7a03acfd3 todo.md 2023-08-01 16:24:13 -04:00
Leibale
7b3c393b50 GRAPH.QUERY 2023-08-01 15:32:37 -04:00