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

55 Commits

Author SHA1 Message Date
Leibale
b46f08228c wip 2023-06-21 19:09:45 -04:00
Leibale
4894c26458 wip 2023-06-20 20:04:05 -04:00
Leibale
de53b96ba6 Merge branch 'master' of github.com:redis/node-redis into v5 2023-06-19 18:11:46 -04:00
Leibale
9c1f2a0f86 restore programmability docs 2023-06-19 17:13:19 -04:00
Leibale
c188a5c781 docs
Co-authored-by: Guy Royse <guy@guyroyse.com>
2023-06-14 15:01:52 -04:00
Leibale
9795690364 docs 2023-06-08 07:17:42 -04:00
Leibale
cf79a806c5 WIP 2023-06-07 11:45:48 -04:00
Leibale
eb47bb03fc some docs
Co-authored-by: Guy Royse <guy@guyroyse.com>
2023-06-07 11:32:15 -04:00
Leibale
8ef0e47e57 RESP docs 2023-06-01 12:39:59 +03:00
Leibale
fcb3a011b5 cluster multi 2023-05-30 19:23:14 +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
100a5232ac use setImmediate instead of queueMicrotask (to improve performance) (#2516) 2023-05-29 09:01:22 -04:00
Leibale
e3326134ba deprecate QUIT and disconnect, implement close and destroy 2023-05-15 15:41:40 +03:00
Leibale
f8fa8878c3 fix some more 2023-05-14 14:54:09 +03:00
Leibale
13f1fa9e58 WIP 2023-05-10 14:55:03 +03:00
Leibale
d59254e497 some commands 2023-05-09 14:04:26 +03:00
Leibale
c6f9f6ee18 Merge branch 'v5' of github.com:leibale/node-redis into v5 2023-05-08 11:06:03 +03:00
Leibale
01e6821caa wip 2023-05-08 11:05:17 +03:00
dovi
65c691fd75 fix SMOVE 2023-05-03 18:23:45 -04:00
Leibale
11c1738e7e wip 2023-04-26 17:48:42 -04:00
Leibale
aae501e271 wip 2023-04-26 14:29:04 -04:00
Simon Prickett
7f880a64d2 Worked on phrasing etc for v5 doc changes. 2023-04-06 20:29:01 +01:00
Soumitra Shewale
bb9a024d91 fix: Fix small typo in Redis Pub/Sub docs (#2400) 2023-01-30 12:23:17 -05:00
Leibale Eidelman
c6e1124dff Update pub-sub.md 2023-01-25 13:41:53 -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
bodong.ybd
85bf97bb39 doc: add defaults option example to cluster documentation (#2377)
* doc: add defaults option example to cluster documentation

* Formatting update.

* Formatting.

Co-authored-by: Simon Prickett <simon@redis.com>
2023-01-24 17:52:15 -05:00
Samuel CHEMLA
6642278f96 Add 'Network error handling' section to documentation (#2250)
* Add 'Network error handling' section to documentation

* Merge 'Network error handling' section with existing doc

* typo

* Update README.md

* typos

Co-authored-by: Samuel CHEMLA <samuel.chemla@orange.com>
Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-01-24 09:15:14 -05:00
Leibale Eidelman
3c2f7ab92a Ping interval (#2321)
* fix #1598 fix #2276 - add `pingInterval` to client config

* setPingTimer on ready (instead of on connect)

* use isReady (instead of isOpen) and fix test

* Update client-configuration.md
2022-11-10 03:49:56 -05:00
Simon Prickett
72c0e7bf67 Fixed redis -> Redis in a couple places. (#2279) 2022-10-26 15:29:34 -04:00
Leibale Eidelman
7b7d0d2a36 fix nodeAddressMap docs (#2228) 2022-08-15 08:39:44 -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
0803f4e19c add nodeAddressMap config for cluster (#1827)
* add `nodeAddressMap` config for cluster

* Update cluster-slots.ts

* Update cluster-slots.ts

* update docs

Co-authored-by: Guy Royse <guy@guyroyse.com>

Co-authored-by: Guy Royse <guy@guyroyse.com>
2022-02-14 15:23:35 -05:00
Leibale Eidelman
6dd15d96aa ref #1888 - add disableOfflineQueue (#1900)
* ref #1888 - add disableOfflineQueue

* fix flushQueuesOnError

* update docs

Co-authored-by: Guy Royse <guy@guyroyse.com>

Co-authored-by: Guy Royse <guy@guyroyse.com>
2022-02-14 15:23:18 -05:00
DidaS
11b0c06a33 Sligth change to docs (#1902)
* Updated docs to avoid confusion

* Update v3-to-v4.md
2022-02-08 12:36:02 -05:00
Anastasios Selalmazidis
10da3710c1 Fix CHANGELOG link in migration guide (#1896) 2022-02-07 15:22:09 -05:00
Leif Segen
e66fa6af7d Correct relative link to changelog (#1868) 2022-01-24 12:02:54 -05:00
AnnAngela
9516b88f61 Add the list of removed events to migration guide (#1761)
* Update v3-to-v4.md

* Update README.md

* Correct the wrong description

* Update docs/v3-to-v4.md

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

* Update docs/v3-to-v4.md

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

Co-authored-by: Simon Prickett <simon@crudworks.org>
2022-01-13 06:51:41 -05:00
Dmitriy Fishman
b37038e9dc docs: fix a typo in isolated-execution.md (#1795) 2021-12-22 08:34:17 -05:00
Leibale Eidelman
2733e225ae fix TLS self-signed certificate example 2021-12-18 21:41:59 -05:00
leibale
0865d22777 fix #1774 #1767 - update docs
Co-authored-by: Chayim <chayim@users.noreply.github.com>
2021-12-13 10:17:12 -05:00
leibale
ec7ccaf827 fix #1758 - implement some CLIENT commands, add name to RedisClientOptions 2021-12-06 21:48:14 -05:00
AnnAngela
9257e2343b Update v3-to-v4.md (#1737)
* Update v3-to-v4.md

* Update v3-to-v4.md

* Update v3-to-v4.md

* Update docs/v3-to-v4.md

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

* Update docs/v3-to-v4.md

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

* Update docs/v3-to-v4.md

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

* Update docs/v3-to-v4.md

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

* Update docs/v3-to-v4.md

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

* Update docs/v3-to-v4.md

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

Co-authored-by: Leibale Eidelman <leibale1998@gmail.com>
Co-authored-by: Simon Prickett <simon@crudworks.org>
2021-11-29 11:03:49 -05:00
leibale
2d2d58d881 fix #1741 - change default to localhost and update docs 2021-11-27 22:53:59 -05:00
leibale
4ff9a05098 update docs 2021-11-24 21:17:55 -05:00
Leibale Eidelman
6946e36ba0 fix #1726 2021-11-19 21:43:06 -05:00
leibale
3979e30222 add .release-it.json files, update some md files 2021-11-15 16:42:34 -05:00
Henrique Corrêa
a9337b414f fix 'Scenario' typo (#1720) 2021-11-14 15:52:59 -05:00
leibale
ab339d396a fix #1714 - update README(s) 2021-11-09 18:07:26 -05:00
leibale
3eb99dbe83 use dockers for tests, use npm workspaces, add rejson & redisearch modules, fix some bugs 2021-11-08 19:21:15 -05:00
leibale
5cff3320d2 use dockers for tests, fix some bugs 2021-11-01 11:30:25 -04:00