1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-10 11:43:01 +03:00
Commit Graph

65 Commits

Author SHA1 Message Date
Leibale
fdd1978d92 WIP 2023-07-18 16:32:45 -04:00
dovi
ad8d0a0fe1 fix test file 2023-07-10 17:41:02 -04:00
dovi
513668e545 more commands 2023-07-10 17:40:37 -04:00
dovi
e176a387b1 fix prev commit 2023-07-10 16:49:17 -04:00
dovi
75fc5a92d1 JSON commands 2023-07-10 16:46:57 -04:00
dovi
d2b0b4e5b0 more commands 2023-07-10 12:29:36 -04:00
dovi
e64946566a more commands 2023-07-06 15:51:12 -04:00
dovi
0ed4ee41f4 create JSON.CLEAR 2023-07-05 17:42:39 -04:00
Leibale
de53b96ba6 Merge branch 'master' of github.com:redis/node-redis into v5 2023-06-19 18:11:46 -04:00
Leibale
cf79a806c5 WIP 2023-06-07 11:45:48 -04:00
Leibale Eidelman
a7d5bc7ca4 fix #2526 - fix json README links (#2527) 2023-06-06 10:24:59 -04:00
Leibale Eidelman
0298c1ac41 upgrade deps (#2517)
* upgrade deps

* fix graph tests
2023-05-29 09:01:34 -04:00
Leibale
ae0d3521b3 upgrade deps 2023-04-26 13:42:51 -04:00
Leibale
623f229f4d Merge branch 'master' of github.com:redis/node-redis into v5 2023-04-26 13:38:32 -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
Leibale
9faa3e77c4 WIP 2023-04-23 07:56:15 -04:00
Leibale Eidelman
4937efca6b upgrade dependencies (#2426) 2023-02-24 18:05:43 -05:00
Leibale Eidelman
0a46fcbdaf upgrade dependencies (#2381)
* upgrade deps

* upgrade dependencies

* fix v3 benchmark

* update package-lock.json
2023-01-25 13:05:42 -05:00
Leibale Eidelman
3b1bad2296 Add support for sharded PubSub (#2373)
* refactor pubsub, add support for sharded pub sub

* run tests in redis 7 only, fix PUBSUB SHARDCHANNELS test

* add some comments and fix some bugs

* PubSubType, not PubSubTypes 🤦‍♂️

* remove test.txt

* fix some bugs, add tests

* add some tests

* fix #2345 - allow PING in PubSub mode (remove client side validation)

* remove .only

* revert changes in cluster/index.ts

* fix tests minimum version

* handle server sunsubscribe

* add 'sharded-channel-moved' event to docs, improve the events section in the main README (fix #2302)

* exit "resubscribe" if pubsub not active

* Update commands-queue.ts

* Release client@1.5.0-rc.0

* WIP

* use `node:util` instead of `node:util/types` (to support node 14)

* run PubSub resharding test with Redis 7+

* fix inconsistency in live resharding test

* add some tests

* fix iterateAllNodes when starting from a replica

* fix iterateAllNodes random

* fix slotNodesIterator

* fix slotNodesIterator

* clear pubSubNode when node in use

* wait for all nodes cluster state to be ok before testing

* `cluster.minimizeConections` tests

* `client.reconnectStrategry = false | 0` tests

* sharded pubsub + cluster 🎉

* add minimum version to sharded pubsub tests

* add cluster sharded pubsub live reshard test, use stable dockers for tests, make sure to close pubsub clients when a node disconnects from the cluster

* fix "ssubscribe & sunsubscribe" test

* lock search docker to 2.4.9

* change numberOfMasters default to 2

* use edge for bloom

* add tests

* add back getMasters and getSlotMaster as deprecated functions

* add some tests

* fix reconnect strategy + docs

* sharded pubsub docs

* Update pub-sub.md

* some jsdoc, docs, cluster topology test

* clean pub-sub docs

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

* reconnect startegy docs and bug fix

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

* refine jsdoc and some docs

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

* I'm stupid

* fix cluster topology test

* fix cluster topology test

* Update README.md

* Update clustering.md

* Update pub-sub.md

Co-authored-by: Simon Prickett <simon@redislabs.com>
2023-01-25 11:00:39 -05:00
Leibale Eidelman
c5b6f77c33 exclude dist from coverage report 2022-12-26 13:35:37 -05:00
Leibale Eidelman
29f734f60e upgrade dependencies (#2306) 2022-10-26 14:47:10 -04:00
leibale
7a57cc07a2 Release json@1.0.4 2022-09-06 03:40:40 -04:00
Leibale Eidelman
35be671332 upgrade dependencies (#2242) 2022-08-22 18:23:43 -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
9ffc30c727 upgrade deps 2022-07-05 11:42:43 -04:00
Leibale Eidelman
6a850d36ae upgrade deps, fix "invalid save argument" error (#2174) 2022-06-30 13:07:29 -04:00
leibale
f2a4e76d31 Release json@1.0.3 2022-05-02 11:57:06 -04:00
Leibale Eidelman
0752f143a6 prepare 4.1.0 (#2111)
* increase test coverage

* @node-redis to @redis

* ugprade deps

* fix benchmark

* use 7.0 docker (not rc), update readmes, clean code, fix @-redis import

* update readme

* fix function in cluster

* update docs

Co-authored-by: Chayim <chayim@users.noreply.github.com>

* Update clustering.md

* add subpackages move warning

* drop support for node 12

* upgrade deps

* fix tsconfig.base.json

Co-authored-by: Chayim <chayim@users.noreply.github.com>
2022-05-02 11:48:12 -04:00
Leibale Eidelman
432a7e3ebb upgrade deps (#2098) 2022-04-25 16:42:20 -04:00
Leibale Eidelman
11c6c24881 Add support for redis functions (#2020)
* fix #1906 - implement BITFIELD_RO

* initial support for redis functions

* fix test utils

* redis functions commands and tests

* upgrade deps

* fix "Property 'uninstall' does not exist on type 'SinonFakeTimers'"

* upgrade dockers version

* Merge branch 'master' of github.com:redis/node-redis into functions

* fix FUNCTION LIST WITHCODE and FUNCTION STATS

* upgrade deps

* set minimum version for FCALL and FCALL_RO

* fix FUNCTION LOAD

* FUNCTION LOAD

* fix FUNCTION LOAD & FUNCTION LIST & FUNCTION LOAD WITHCODE

* fix FUNCTION_LIST_WITHCODE test
2022-04-25 09:09:23 -04:00
Leibale Eidelman
79ee8f2029 upgrade dependencies (#2081) 2022-04-18 12:29:01 -04:00
Leibale Eidelman
5ade5dadc0 upgrade dependencies (#2057)
* upgrade dependencies

* fix "Property 'uninstall' does not exist on type 'SinonFakeTimers'."
2022-03-27 16:27:05 -04:00
Leibale Eidelman
3547b20293 Graph (#1887)
* init

* implement graph commands

* add graph to packages table

* fix ts.infoDebug

* fix redisearch tests

* Update INFO_DEBUG.ts

* fix INFO.spec.ts

* test QUERY and SLOWLOG

Co-authored-by: Avital-Fine <avital.fine@redis.com>
2022-01-31 12:52:19 -05:00
leibale
84aebcca0f upgrade dependencies 2022-01-24 13:14:20 -05:00
Leibale Eidelman
a2299509a0 upgrade dependencies (#1863) 2022-01-20 16:23:31 -05:00
leibale
5a3120e7a3 Release json@1.0.2 2022-01-13 07:26:10 -05:00
leibale
075ae3a9c0 upgrade dependencies 2022-01-13 07:10:17 -05:00
leibale
29ff6c8a36 update dependencies 2021-12-30 14:13:38 -05:00
leibale
c581d5de3a fix #1802 2021-12-30 13:17:44 -05:00
leibale
a0de7967f9 buffers, buffers everywhere... 2021-12-20 14:47:51 -05:00
leibale
a1bed9a10f add buffer support to a bunch of commands 2021-12-15 17:08:50 -05:00
leibale
32bdec2f3b Release json@1.0.1 2021-12-13 15:39:37 -05:00
leibale
2449ad4197 update tsconfig.json 2021-12-13 15:37:31 -05:00
leibale
7565ae349d fix generated documentation 2021-12-13 14:21:02 -05:00
leibale
ae06af64fa npm update 2021-11-24 21:50:29 -05:00
leibale
bf8fb65caa Merge branch 'v4.0' of github.com:redis/node-redis 2021-11-24 21:23:35 -05:00
leibale
4ff9a05098 update docs 2021-11-24 21:17:55 -05:00
leibale
b80bbc3eba npm update 2021-11-24 21:11:27 -05:00
Simon Prickett
7dc771fb38 Fixed typo. 2021-11-24 21:38:46 +00:00
Simon Prickett
47217d3cbd Adds JSON package overview. 2021-11-24 21:37:52 +00:00