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

2164 Commits

Author SHA1 Message Date
64fca37944 Support the NOVALUES option of HSCAN (#2711)
* Support the NOVALUES option of HSCAN

Issue #2705

The NOVALUES option instructs HSCAN to only return keys, without their
values. This is materialized as a new command, `hScanNoValues`, given
that the return type is different from the usual return type of `hScan`.
Also a new iterator is provided, `hScanNoValuesIterator`, for the same
reason.

* skip hscan novalues test if redis < 7.4

* Also don't test hscan no values iterator < 7.4

---------

Co-authored-by: Shaya Potter <spotter@gmail.com>
2024-07-14 14:20:30 +03:00
5576a0db49 CAE-193: add "IGNORE" options to time series commands (for v4 branch) (#2752) 2024-07-10 19:45:33 +03:00
a1bee1caaf add geoshape support (#2788)
copied from what leibele did for v5
2024-07-10 19:45:17 +03:00
7d43a97bc7 add CLIENT KILL maxAge support (v4) (#2761) 2024-07-10 19:45:06 +03:00
b4df2b24a8 add support for all hash field expiration commands (#2787) 2024-07-10 19:44:30 +03:00
72345fe1a2 Release redis@4.6.15 redis@4.6.15 2024-07-02 13:38:40 -04:00
b4c1e59fc9 Upgrade @redis/client 2024-07-02 13:38:04 -04:00
60c1c466ba Release client@1.5.17 client@1.5.17 2024-07-02 13:37:23 -04:00
4ac97eeaac fix createCluster - copy options.defaults.socket before modifying it (#2783)
* shallow copy of this.#options.defaults.socket

* shallow copy of this.#options.defaults.socket

* nit

---------

Co-authored-by: Max Gruenfelder <maximilian.gruenfelder@sap.com>
Co-authored-by: Leibale Eidelman <me@leibale.com>
2024-07-02 09:00:27 -07:00
d5355d4327 Release redis@4.6.14 redis@4.6.14 2024-05-16 14:05:01 -04:00
fcf41192d1 upgrade @redis/client 2024-05-16 14:03:30 -04:00
d5518e0b5f Release client@1.5.16 client@1.5.16 2024-05-16 14:01:01 -04:00
1a3ac1e097 upgrade @redis/client 2024-05-16 13:56:30 -04:00
d7f7f79e53 Release client@1.5.15 client@1.5.15 2024-05-16 13:53:52 -04:00
bfa803fa55 Fix race condition when slots are re-calculated (#2731) 2024-05-16 10:17:32 -07:00
dbf8f59a47 Release redis@4.6.13 redis@4.6.13 2024-02-05 09:26:12 -05:00
b6a31dd71f upgrade @redis/client 2024-02-05 09:25:14 -05:00
03ab4fbd6c Release client@1.5.14 client@1.5.14 2024-02-05 09:24:20 -05:00
0f29f4238f Change json docker version to 2.6.9 2024-02-05 09:14:24 -05:00
295647cf9d fix(clustered pubsub): check that client.isOpen before calling client.disconnect() when unsubscribing (#2687)
* Confirm the client isOpen before disconnecting

* Write tests

* fix tests

* fix tests

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2024-01-29 00:25:26 -08:00
5a96058c2f Linking to Redis learning resources (#2628) 2023-12-20 12:32:49 +02:00
ccd9610177 Release redis@4.6.12 redis@4.6.12 2023-12-18 15:20:52 -05:00
55d07d2767 upgrade @redis/client 2023-12-18 15:20:16 -05:00
bb6f14cf7e Release client@1.5.13 client@1.5.13 2023-12-18 15:18:29 -05:00
f4680f0849 fix #2665 - handle errors in multi/pipeline replies (#2666)
* fix #2665 - handle errors in multi/pipeline replies

* fix MultiErrorReply replies type

* run tests on all versions, remove console.log, fix bug

* add errors iterator helper

* test `.errors()` as well
2023-12-18 15:15:21 -05:00
d6d2064c72 Release redis@4.6.11 redis@4.6.11 2023-11-20 13:50:15 -05:00
5e4165eb6a upgrade subpackages 2023-11-20 13:49:56 -05:00
a227cb0cef Release search@1.1.6 search@1.1.6 2023-11-20 13:49:13 -05:00
0419b600b8 Release graph@1.1.1 graph@1.1.1 2023-11-20 13:48:43 -05:00
debd277002 Release client@1.5.12 client@1.5.12 2023-11-20 13:48:13 -05:00
9ed9cb5be9 export missing graph types 2023-11-20 13:42:35 -05:00
0ee3278085 chore(search): export languages (#2651) 2023-11-20 13:41:44 -05:00
623b56b5ca fix cluster.sUnsubscribe - make listener optional 2023-11-20 13:40:38 -05:00
e91509a3e1 fix GRAPH.EXPLAIN - fix transform typo in transformReply 2023-11-20 13:40:06 -05:00
68d835d7a2 fix #2632 - handle socket close in "socket initiator" phase (#2653) 2023-11-20 13:16:36 -05:00
a8b81bdd01 Send client user-agent during connection, via CLIENT SETINFO (#2645)
* Add SETINFO support to client connection, with the ability to disable sending the user agent if the end user desires.  * Also enables modifying the user-agent with a tag to enable distinguishing different usages.
2023-11-07 14:43:20 +02:00
c64ce74383 Release redis@4.6.10 redis@4.6.10 2023-09-22 07:03:52 -04:00
14909e7ccb ugprade subpackages 2023-09-22 07:03:34 -04:00
3862fd2e9f Release search@1.1.5 search@1.1.5 2023-09-22 07:03:00 -04:00
f7d400e896 Release json@1.0.6 json@1.0.6 2023-09-22 07:02:29 -04:00
d1fdf1e7e2 Release client@1.5.11 client@1.5.11 2023-09-22 07:01:48 -04:00
38e9a40d1a fix #2619 #2618 #2617 #2616 - support for node >= 14 2023-09-22 07:00:26 -04:00
7706a5e86d Release redis@4.6.9 redis@4.6.9 2023-09-19 17:58:47 -04:00
077e099938 upgrade subpackages 2023-09-19 17:58:22 -04:00
d258296f33 Release json@1.0.5 json@1.0.5 2023-09-19 17:56:29 -04:00
6cc635cb93 Release search@1.1.4 search@1.1.4 2023-09-19 17:54:58 -04:00
fef006cc1d Release client@1.5.10 client@1.5.10 2023-09-19 17:53:20 -04:00
e00041e0eb Fix: XAUTOCLAIM after a TRIM with pending messages returns nil (#2565)
* fix(client): XCLAIM & XAUTOCLAIM after a TRIM might return nils

* fix(client): Fix race condition in specs

* revert test utils changes

* make tests faster

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-09-19 17:37:16 -04:00
4ec97be4f0 fix #1956 - add support for LATENCY HISTORY (#2555)
* added support for LATENCY_HISTORY command

* clean code

* Update LATENCY_HISTORY.ts

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-09-19 16:21:54 -04:00
6848f3d207 Add support for PUBSUB SHARDNUMSUB (#2541)
* Add support for command 'PUBSUB SHARDNUMSUB'

* Use import from PUBSUB_SHARDNUMSUB

* Add test case for non-empty reply

* clean tests

* run tests in redis >= 7, fix integration test

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-09-19 15:59:02 -04:00