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

2112 Commits

Author SHA1 Message Date
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 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
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
alphabetkrish
b58833b6ea fix #2569 - fix @redis/search README 2023-07-20 16:09:35 -04:00
Leibale Eidelman
a7d5bc7ca4 fix #2526 - fix json README links (#2527) 2023-06-06 10:24:59 -04:00
Leibale
79b0df8229 Release redis@4.6.7 redis@4.6.7 2023-05-31 15:47:56 +03:00
Leibale
9250fd740c upgrade subpackages 2023-05-31 15:47:25 +03:00
Leibale
2baf5df23c Release client@1.5.8 client@1.5.8 2023-05-31 15:46:32 +03:00
Leibale
99c7cd7c55 Release search@1.1.3 search@1.1.3 2023-05-31 15:44:12 +03:00
James White
454617bf83 Add a note about multiple Pub/Sub channel listeners (#2433)
* Add multiple listener language to pub/sub docks

Clarify that multiple subscriptions create multiple listeners.

* Update pub-sub.md

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-05-29 09:04:30 -04:00
Leibale Eidelman
0298c1ac41 upgrade deps (#2517)
* upgrade deps

* fix graph tests
2023-05-29 09:01:34 -04:00
Leibale Eidelman
100a5232ac use setImmediate instead of queueMicrotask (to improve performance) (#2516) 2023-05-29 09:01:22 -04:00
Kumar Arnav
e696653bf9 Add support for LATENCY LATEST (#2514)
* Add support for LATENCY LATEST.

* Fix the review comments.

* Fix the review comments.

* Update LATENCY_LATEST.ts

* Update dockers.ts

* Update LATENCY_GRAPH.spec.ts

* enable debug mode in tests

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-05-29 09:00:58 -04:00
Leibale Eidelman
499ea85594 Update search-hashes.js (#2519) 2023-05-29 07:18:59 -04:00
fast-facts
85091cde5a Add count option to FT.CURSOR READ (#2492)
* feat: Add count option to FT.CURSOR READ

* Update CURSOR_READ.spec.ts

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-05-21 08:08:27 -04:00
Codrin-Mihai Chira
d4f194352f XINFO CONSUMERS - add support for the inactive field (#2490)
* Support XINFO CONSUMERS: Added the inactive field

* Update XINFO_CONSUMERS.ts

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-05-21 08:06:46 -04:00
Nanak
8d37c115e6 Add support for TIMEOUT in FT.AGGREGATE and FT.SEARCH (#2488)
* #2486: add timeout as optional param in FT.Search

* return timeout from aggregate

* add test case for TIMEOUT in aggregate

* add TIMEOUT option in search file

* add test cases for TIMEOUT option in search file

* uodate search/aggregates to add timeout when it is not undefuned

* update search to add timeout when it is not undefuned

* update test case for AGGREGATE
2023-05-21 08:01:17 -04:00
Chayim
67d9c3c46a syntax (#2510) 2023-05-16 07:15:53 -04:00
dependabot[bot]
759e83742b Bump vm2 from 3.9.14 to 3.9.18 (#2509)
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.14 to 3.9.18.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.14...3.9.18)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-16 07:04:36 -04:00
Chayim
260a41750c Auto release via drafting, step one (#2453)
* first step of auto-release with the release drafter

* PR Comments

* making leibale happy
2023-05-16 07:03:42 -04:00
Leibale
3273c8540d Release redis@4.6.6 2023-04-27 18:48:02 -04:00
Leibale
f0bd7e0c2a upgrade deps 2023-04-27 18:47:43 -04:00
Leibale
e8e09a7b5b Release client@1.5.7 client@1.5.7 2023-04-27 18:46:40 -04:00
Leibale Eidelman
dc920d3b67 fix isolationPool after reconnect (#2409)
* fix #2406 - fix isolationPool after reconnect

* revert breaking change

* fix
redis@4.6.6
2023-04-26 14:44:09 -04:00
Leibale Eidelman
986a510237 fix #2481 - fix "falsy" arguments in TS.ALTER (#2483) 2023-04-26 14:29:39 -04:00
Leibale Eidelman
ba31c8a50e fix #2443 - fix multiple sockets on error in socket initiator (#2480)
* fix #2443 - fix multiple sockets on error in socket initiator

* handle `error` events in test
2023-04-26 12:56:42 -04:00
Carl Hopf
e1658ba6ef fix cluster extractFirstKey skip commandOptions() passed to args (#2439)
* cluster extractFirstKey skip commandOptions() passed to args

* cluster with commandOptions unit test

* improve performance

* fix type

* fix type

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-04-26 12:56:04 -04:00
Gady
c88dea6151 Augment subpackages npm info (#2478)
* augment subpackages npm info

* some more keywords

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-04-24 12:41:44 -04:00
sorilove
9f2e27d07d Fixed a bug in the updateIsActive function (#2476)
Missing PubSubType.SHARDED and duplicate comparison of PubSubType.CHANNELS when comparing listeners size in updateIsActive function
2023-04-24 12:41:30 -04:00
Leibale Eidelman
d65a641b2d revert 1d8302c9db 2023-03-17 09:52:30 -04:00
Carl Hopf
1d8302c9db FT.CREATE - set FIRST_KEY_INDEX to 1 (#2440) 2023-03-14 12:37:13 -04:00
Leibale
ca1d04f2ba Release redis@4.6.5 redis@4.6.5 2023-02-24 18:22:13 -05:00
Leibale
4745fae37f ugprade subpackages 2023-02-24 18:16:56 -05:00
Leibale
f756d9aaa9 Release client@1.5.6 client@1.5.6 2023-02-24 18:10:07 -05:00
Leibale
f0794ece01 Release search@1.1.2 search@1.1.2 2023-02-24 18:07:31 -05:00
Leibale Eidelman
4937efca6b upgrade dependencies (#2426) 2023-02-24 18:05:43 -05:00