Shaya Potter
49fdb79897
Update doctest client with latest v4 release ( #2844 )
2024-09-29 13:19:06 +03:00
Ananda
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
Leibale Eidelman
fad23973a5
fix #2333 - fix quit reply ( #2346 )
2023-01-18 12:55:11 -05:00
Brandon
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
Leibale Eidelman
c5b6f77c33
exclude dist from coverage report
2022-12-26 13:35:37 -05:00
Vojtech Novak
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
Leibale Eidelman
1557164b1c
Release client@1.4.2
2022-11-24 14:10:38 -05:00
Leibale Eidelman
549a779a01
Merge branch 'master' of github.com:redis/node-redis
2022-11-24 14:06:20 -05:00
Leibale Eidelman
3b36963986
Release client@1.4.1
2022-11-24 14:05:42 -05:00
Leibale Eidelman
13ad249ae6
fix #2010 - stop reconnect after .disconnect() ( #2323 )
...
* fix #2010 - stop reconnect after .disconnect()
* fix quit
2022-11-24 14:03:34 -05:00
Leibale Eidelman
28b9701543
fix #2318 - add MULTI (uppercase) ( #2324 )
2022-11-24 14:01:43 -05:00
Leibale Eidelman
d923f7127a
fix #2205 - reject commands in connect phase when disableOfflineQueue
is true
( #2328 )
2022-11-24 14:01:09 -05:00
Leibale Eidelman
e5532706cf
fix #2205 - reject commands in connect phase when disableOfflineQueue
is true
2022-11-16 16:27:36 -05:00
Leibale Eidelman
2e6fdee052
Release client@1.4.0
2022-11-10 03:56:23 -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
Leibale Eidelman
aa869b72d4
Release client@1.3.1
2022-11-01 16:12:15 -04:00
Jonas Faure
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
Matthijs Dabroek
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
Leibale Eidelman
0abd950f03
fix tsbuild ( #2307 )
...
* fix tsbuild
* fix tsbuild
* fix tsbuild
2022-10-26 15:32:19 -04:00
Leibale Eidelman
29f734f60e
upgrade dependencies ( #2306 )
2022-10-26 14:47:10 -04:00
Kien Dang
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
Roman Poleguev
e1c0580d65
Fix CLUSTER_NODES ipv6 address parsing ( #2269 )
2022-09-19 13:31:21 -04:00
leibale
c73c3ef6fd
Release client@1.3.0
2022-08-22 18:28:28 -04:00
Leibale Eidelman
35be671332
upgrade dependencies ( #2242 )
2022-08-22 18:23:43 -04:00
Leibale Eidelman
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
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 Eidelman
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
Ștefan Cenușă
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
leibale
704cf5ad34
Release client@1.2.0
2022-07-05 11:44:06 -04:00
leibale
9ffc30c727
upgrade deps
2022-07-05 11:42:43 -04:00
leibale
25b76d460b
Merge branch 'master' of github.com:redis/node-redis
2022-06-30 13:38:29 -04:00
leibale
11e6d495b0
Release client@1.1.1
2022-06-30 13:29:56 -04:00
Leibale Eidelman
6a850d36ae
upgrade deps, fix "invalid save argument" error ( #2174 )
2022-06-30 13:07:29 -04:00
Tom Graham
82f43d9a53
Fix issue with buffers in objects using hSet ( #2139 )
...
* Fix issue with buffers in objects using hSet
When using hSet with an object, any buffer values inside the object are converted to strings instead of left as buffers.
This fix specifically handles the special case of buffers, whilst casting everything else strings (to continue "gracefully" handling the case where the value not a valid type).
* Update HSET.ts
* Update HSET.spec.ts
Co-authored-by: Leibale Eidelman <leibale1998@gmail.com >
2022-05-26 09:56:10 -04:00
Leibale Eidelman
bf80c163b1
fix #2046 - add support for multi in select ( #2133 )
...
* fix #2046 - add support for multi in select
* fix "Argument of type 'symbol | undefined' is not assignable to parameter of type 'number | undefined'"
2022-05-26 09:55:47 -04:00
Leibale Eidelman
7196b907e5
fix #1915 - CLIENT TRACKINGINFO ( #2127 )
...
* fix #1915 - CLIENT TRACKINGINFO
* remove .only
2022-05-12 13:05:27 -04:00
Leibale Eidelman
d8db974980
fix #1914 - CLIENT TRACKING ( #2126 )
2022-05-12 12:56:09 -04:00
Leibale Eidelman
429b11e020
fix #1959 - LCS ( #2129 )
...
* fix #1959 - LCS
* newlines at end of files
2022-05-11 14:24:07 -04:00
Leibale Eidelman
24c2c867f8
fix #1917 - CLIENT UNPAUSE ( #2128 )
...
* fix #1917 - CLIENT UNPAUSE
* fix CLIENT UNPAUSE
2022-05-11 14:20:52 -04:00
Leibale Eidelman
3ec17e31b3
fix legacy mode resp encoder ( #2118 )
...
* fix legacy mode resp encoder
* Update encoder.ts
2022-05-11 14:20:26 -04:00
Leibale Eidelman
94dbcc847b
fix #1912 - CLIENT PAUSE ( #2125 )
...
* fix #1912 - CLIENT PAUSE
* fix client pause
* Update commands.ts
2022-05-11 10:02:29 -04:00
Leibale Eidelman
53a96ccce4
fix #1911 - CLIENT NO-EVICT ( #2124 )
2022-05-11 09:36:23 -04:00
Avital Fine
06c1d2c243
Support all GEORADIUS Commands ( #2017 )
...
* Support all GEORADIUS Commands
* move store bool to options
* simplify transformReply for store commands
* clean code
Co-authored-by: leibale <leibale1998@gmail.com >
2022-05-11 09:36:12 -04:00
Leibale Eidelman
5c9f31f244
fix #2123 - expose is ready ( #2130 )
2022-05-11 09:35:36 -04:00
Adam Freidin
a3b33d0177
nit: spelling fix memoery to memory ( #2132 )
2022-05-11 09:35:24 -04:00
leibale
9a62f61536
Release client@1.1.0
2022-05-02 11:58:47 -04:00
leibale
e5aaf38531
Release client@1.0.6
2022-05-02 11:55:18 -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
baf67fd87f
fix #1976 - XSETID ( #2104 )
2022-04-26 09:05:44 -04:00
Leibale Eidelman
b586ccb9d7
fix #1904 - ACL DRYRUN ( #2102 )
...
* fix #1904 - ACL DRYRUN
* clean code
* fix test
2022-04-26 09:04:21 -04:00