1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-01 16:46:54 +03:00
Commit Graph

2027 Commits

Author SHA1 Message Date
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
29a2dc5027 update issue templates and add new documentation issue template (#2357)
* feat: update issue templates and add new documentation issue template

* update templates

* refine templates

Co-authored-by: Leibale <me@leibale.com>
2023-01-24 17:31:21 -05:00
d77be811be add keywords in root package.json (#2389) 2023-01-24 13:02:08 -05:00
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
abf2b4bc82 update examples/README.md - add search-knn to the table 2023-01-18 14:36:57 -05:00
fa47b572d4 Adds example for mixing arbitrary and supported commands in a transaction context. (#2315)
* Adds example for transactions with arbitrary commands.

* Formatting.

* Update transaction-with-arbitrary-commands.js

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-01-18 12:59:04 -05:00
63511e5b9b Add latency graph command (#2359)
* add latency graph command

* fix coding style

* Clean code

* use "enable-debug-command" is redis 7+ only

* Update LATENCY_GRAPH.spec.ts

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-01-18 12:55:38 -05:00
fad23973a5 fix #2333 - fix quit reply (#2346) 2023-01-18 12:55:11 -05:00
2042a67f3c KNN example (#2352)
* Sketch KNN example

* Got KNN example to work. Closes #2351

* clean example

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-01-18 12:54:51 -05:00
a1dfa22517 fix #2364 - fix FT.SEARCH RETURN [] (#2366)
* fix #2364 - fix FT.SEARCH RETURN []

* remove console.log
2023-01-18 12:54:42 -05:00
aa75ee49c6 #2038 Resolve legacy mode hGetAll returning in the wrong format compared to v3 results (#2367)
* Ensure that transformReply is optionally passed through to commands in legacy mode within multi

* Execute transformReply on legacy #sendCommand

* Scope transform changes to hGetAll

* Extensible method of transforming legacy replies, expands RedisCommand interface

* check `TRANSFORM_LEGACY_REPLY` on client creation (rather then on command exec), add tests

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-01-18 12:54:29 -05:00
e895fa1d71 Adding redis-stack-docker (#2380) 2023-01-18 12:53:09 -05:00
a55fbafb88 Add support for BF.CARD command (#2376)
* Add support for BF.CARD command

* Update index.ts

* Update CARD.ts

* Update CARD.spec.ts

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-01-18 12:53:00 -05: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