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

258 Commits

Author SHA1 Message Date
49fdb79897 Update doctest client with latest v4 release (#2844) 2024-09-29 13:19:06 +03: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
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
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
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
1557164b1c Release 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 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
2e6fdee052 Release client@1.4.0 2022-11-10 03:56:23 -05:00
e8dfa6dcb8 Release 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
c322f3164d Release graph@1.1.0 2022-11-01 16:17:17 -04:00
66abec6c3a Release 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 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
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
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
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
7a57cc07a2 Release json@1.0.4 2022-09-06 03:40:40 -04:00
5dd7d3149a close #2192 close #2193 close #2194 close #2195 close #2196 close #2197 close #2198 - support for TimeSeries 1.8 (#2200) 2022-08-31 09:25:13 -04:00
3c3914adb8 Release search@1.1.0 2022-08-22 18:32:13 -04:00
c73c3ef6fd Release client@1.3.0 2022-08-22 18:28:28 -04:00
35be671332 upgrade dependencies (#2242) 2022-08-22 18:23:43 -04:00
942de1f0b4 Handle unhandled errors in socket.reconnectStrategry (#2226)
* handle errors in reconnect strategy

* add test

* fix retries typo

* fix #2237 - flush queues on reconnect strategy error

* Update socket.ts

* Update socket.ts
2022-08-22 17:59:45 -04:00
1fdee05dd2 close #2166 - add support for cursor api (#2217) 2022-08-15 08:40:03 -04:00
60ad6aab0b close #2210 - add support for FT.CREATE WITHSUFFIXTRIE (#2212) 2022-07-28 13:29:57 -04:00
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
71d582368a Add support for client.unref() and client.ref() (#2188)
* close #2185 - add support for client.unref() and client.ref()

* allow sync tests
2022-07-13 07:01:20 -04:00
f9f5e494dd fixed MIGRATE function when key is array (#2184)
* fix: 2163 push empty string as arg

* fix: updated migrate test with keys array
2022-07-07 14:33:58 -04:00
704cf5ad34 Release client@1.2.0 2022-07-05 11:44:06 -04:00
9ffc30c727 upgrade deps 2022-07-05 11:42:43 -04:00
25b76d460b Merge branch 'master' of github.com:redis/node-redis 2022-06-30 13:38:29 -04:00