1
0
mirror of https://github.com/redis/node-redis.git synced 2025-07-31 05:44:24 +03:00
Commit Graph

1815 Commits

Author SHA1 Message Date
6feff02509 Including startup instructions via redis-stack docker 2023-01-02 09:36:55 +02:00
c5b6f77c33 exclude dist from coverage report 2022-12-26 13:35:37 -05:00
9dccd9a678 Update README.md 2022-12-26 05:22:01 -05:00
5a41d6d60b Update README.md
https://github.com/badges/shields/issues/8671
2022-12-19 16:15:19 -05:00
f6093b7b0f fix: zero ttl is ignored (#2349)
* fix: zero ttl is ignored

* Update SET.ts

* Update SET.ts

Co-authored-by: Leibale Eidelman <me@leibale.com>
2022-12-15 12:04:13 -05:00
ce1b8f7f4e ref #1982 - fix redisearch schema types (#2348) 2022-12-14 17:11:28 -05:00
ab69c81c36 fix(search): fix types for sort (#2343) 2022-12-14 17:03:30 -05:00
da3face951 Add connection status check example and documentation. (#2340)
* Adds example for transactions with arbitrary commands.

* Formatting.

* Adds isReady doc and example for isReady and isOpen.

* Improved example.

* Added isOpen explanation.

* Removed example from a different PR.
2022-12-13 15:19:45 -05:00
118dc11191 Create codeql.yml (#2336) 2022-11-30 16:30:31 -05:00
72cbceedfd Removing LGTM as the service is going offline shortly (#2335) 2022-11-30 16:27:41 -05:00
55a3a5165d Release redis@4.5.1 redis@4.5.1 2022-11-24 14:13:40 -05:00
ec57a9a77a upgrade subpackages 2022-11-24 14:12:49 -05:00
1557164b1c Release client@1.4.2 client@1.4.2 2022-11-24 14:10:38 -05:00
549a779a01 Merge branch 'master' of github.com:redis/node-redis 2022-11-24 14:06:20 -05:00
3b36963986 Release client@1.4.1 client@1.4.1 2022-11-24 14:05:42 -05:00
13ad249ae6 fix #2010 - stop reconnect after .disconnect() (#2323)
* fix #2010 - stop reconnect after .disconnect()

* fix quit
2022-11-24 14:03:34 -05:00
28b9701543 fix #2318 - add MULTI (uppercase) (#2324) 2022-11-24 14:01:43 -05:00
d923f7127a fix #2205 - reject commands in connect phase when disableOfflineQueue is true (#2328) 2022-11-24 14:01:09 -05:00
e5532706cf fix #2205 - reject commands in connect phase when disableOfflineQueue is true 2022-11-16 16:27:36 -05:00
d09732280b Release redis@4.5.0 redis@4.5.0 2022-11-10 03:59:32 -05:00
787afc9c0a upgrade @redis deps 2022-11-10 03:59:00 -05:00
2e6fdee052 Release client@1.4.0 client@1.4.0 2022-11-10 03:56:23 -05:00
e8dfa6dcb8 Release time-series@1.0.4 time-series@1.0.4 2022-11-10 03:52:29 -05:00
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
e0e96aef2a fix(#2231): created doc for using timeseries (#2312)
* fix(doc): created doc for using timeseries

* fix(doc): created doc for using timeseries

* Apply suggestions from code review

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

Co-authored-by: Simon Prickett <simon@crudworks.org>
2022-11-06 02:00:35 -05:00
2a5dc751c0 Release redis@4.4.0 redis@4.4.0 2022-11-01 16:20:39 -04:00
0550199715 upgrade deps 2022-11-01 16:20:03 -04:00
c322f3164d Release graph@1.1.0 graph@1.1.0 2022-11-01 16:17:17 -04:00
66abec6c3a Release bloom@1.1.0 bloom@1.1.0 2022-11-01 16:15:08 -04:00
2eee51a11c Merge branch 'master' of github.com:redis/node-redis 2022-11-01 16:12:47 -04:00
aa869b72d4 Release client@1.3.1 client@1.3.1 2022-11-01 16:12:15 -04:00
597112bf29 Update README.md 2022-11-01 15:54:29 -04:00
be90e62360 Add support for T-Digest (#2214)
* wip

* close #2216 - add support for TDIGEST.MERGESTORE and make compression optional on TDIGEST.CREATE

* fix some tdigest commands, use bloom edge docker

* fix index.ts

* 2.4-RC2 (v2.4.1)

* fix some commands and tests

* clean code
2022-11-01 15:45:47 -04:00
1c6d74ffcb fix #2189 - add graph --compact support (#2305)
* fix #2189 - add graph --compact support

* clean code

* fix graph string param escaping

* fix "is not assignable to parameter of type 'GraphClientType'"

* fix README
2022-11-01 15:45:35 -04:00
64f86d6a00 disconnect in basic example (#2235) 2022-10-31 09:47:53 -04:00
59256f8f19 test with node 19 instead of 17 (#2316) 2022-10-31 09:46:46 -04:00
5a25078831 Update search-json.js (#2317) 2022-10-31 09:44:30 -04:00
252c2192ea fix(client): Avoids infinite promise-chaining when socket's creation fails (#2295)
* fix(client): timeout issues during tests

* fix(client): avoiding infinite Promise chaining while socket creation fails

* fix(client): Added missing semicolons

* clean test

Co-authored-by: leibale <leibale1998@gmail.com>
2022-10-26 16:42:52 -04:00
c413657357 Reject multi.exec() promise with ClientClosedError after client disconnect (#2293)
* Add reject multi chain on client disconnect assertion to client test suite

* Reject multi chain exec with client closed error after client disconnect
2022-10-26 16:40:14 -04:00
0abd950f03 fix tsbuild (#2307)
* fix tsbuild

* fix tsbuild

* fix tsbuild
2022-10-26 15:32:19 -04:00
72c0e7bf67 Fixed redis -> Redis in a couple places. (#2279) 2022-10-26 15:29:34 -04:00
e129d10952 Fixes typo Redis Search -> RediSearch (#2278) 2022-10-26 15:29:20 -04:00
29f734f60e upgrade dependencies (#2306) 2022-10-26 14:47:10 -04:00
4cfad3dab2 Update RedisGraph README.md (#2239)
* Update README.md

Simple example using Cypher to CREATE a graph with relationships and then MATCH on that graph

* Update README.md

Co-authored-by: Leibale Eidelman <leibale1998@gmail.com>
2022-10-25 07:20:55 -04:00
64e982d2bf Adds transaction with watched key example script. (#2297)
* transction example improved

* readme fixed

* delay added for watched key changes

* pooling error fixed on recursion

* Minor comment update.

Co-authored-by: Ajay <ajay.markana@yudiz.com>
Co-authored-by: Simon Prickett <simon@redis.com>

Closes #2280.
2022-10-19 17:50:57 +01:00
1eed12ec65 Connecting to cluster example (#2298)
* Connecting to cluster example

* Connecting to cluster example

* Making changes according to review

* Adding example to Readme.md in alphabetical order

* Fixed order of scripts so they are alphabetic.

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

Closes #2281.
2022-10-19 13:02:07 +01:00
d0bfa771a8 #2287 Add example scripts showing pub/sub usage. (#2288)
* #2287 Add example scripts showing pub/sub usage.
https://github.com/redis/node-redis/issues/2287

* #2287 Add example scripts showing pub/sub usage.
Fixing comments requested
Adding client.connect() to pubsub-subscriber.js
Reformatting Readme
updating logging in pubsub-publisher.js

* #2287 Add example scripts showing pub/sub usage.
Fix publish and subscriber
Update tidy up comments

* Update examples/pubsub-subscriber.js

Making suggested changes

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

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

Closes #2287.
2022-10-14 23:07:28 +01:00
9398e5d05e #2285-Add-example-scripts-hyperloglog - Added hyperloglog examples to… (#2289)
* #2285-Add-example-scripts-hyperloglog - Added hyperloglog examples to address Issue #2285

* #2285-Add-example-scripts-hyperloglog - Added the results as comments

* #2285-Add-example-scripts-hyperloglog - Changes from review

* #2285-Add-example-scripts-hyperloglog - Changes from review
2022-10-14 20:34:06 +01:00
2a8e11a51d Export SetOptions type in redis/client command (#2268)
* Export setOptions type

* Export setOptions type in commands

* Revert "Export setOptions type in commands"

* Export SetOptions type in redis client

* Export SetOptions type in @redis/client

* Fix lint
2022-09-21 17:05:16 -04:00
e1c0580d65 Fix CLUSTER_NODES ipv6 address parsing (#2269) 2022-09-19 13:31:21 -04:00