1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00
Commit Graph

476 Commits

Author SHA1 Message Date
Shaya Potter
8dab27ed02 fix sentinel generics (#2859)
* fix sentinel generics

* comment nit
2024-11-04 10:23:34 -05:00
Shaya Potter
4708736f3b new "transform arguments" API for better key and metadata extraction (#2733)
* Parser support with all commands

* remove "dist" from all imports for consistency

* address most of my review comments

* small tweak to multi type mapping handling

* tweak multi commands / fix addScript cases

* nits

* addressed all in person review comments

* revert addCommand/addScript changes to multi-commands

addCommand needs to be there for sendCommand like ability within a multi.

If its there, it might as well be used by createCommand() et al, to avoid repeating code.

addScript is there (even though only used once), but now made private to keep the logic for bookkeeping near each other.
2024-10-31 12:16:59 -04:00
dmaier-redislabs
5ace34b9c9 Release redis@5.0.0-next.5 2024-10-15 17:51:47 +02:00
dmaier-redislabs
78a7f32e24 Updated the main package to use the 5.0.0-next.5 sub-packages 2024-10-15 17:48:26 +02:00
dmaier-redislabs
e01f8496f9 Release time-series@5.0.0-next.5 2024-10-15 17:46:09 +02:00
dmaier-redislabs
9fbd346a88 Updated the TimeSeries package to use client@5.0.0-next.5 2024-10-15 17:45:22 +02:00
dmaier-redislabs
d3e720ffbd Release search@5.0.0-next.5 2024-10-15 17:43:16 +02:00
dmaier-redislabs
c0a418140e Updated the Search package to use client@5.0.0-next.5 2024-10-15 17:42:24 +02:00
dmaier-redislabs
91476f9ba7 Release json@5.0.0-next.5 2024-10-15 17:40:46 +02:00
dmaier-redislabs
a4466d2049 Updated the JSON package to use client@5.0.0-next.5 2024-10-15 17:40:01 +02:00
dmaier-redislabs
875ed36d3a Release graph@5.0.0-next.5 2024-10-15 17:38:48 +02:00
dmaier-redislabs
c7b40889ac Updated the Graph package to use client@5.0.0-next.5 2024-10-15 17:37:31 +02:00
dmaier-redislabs
4bb8cf5209 Release bloom@5.0.0-next.5 2024-10-15 17:36:26 +02:00
dmaier-redislabs
accc5c47a8 Updated the Bloom package to use client@5.0.0-next.5 2024-10-15 17:34:46 +02:00
dmaier-redislabs
dca39e1402 Release client@5.0.0-next.5 2024-10-15 17:30:06 +02:00
Shaya Potter
b2d35c5286 V5 bringing RESP3, Sentinel and TypeMapping to node-redis
RESP3 Support
   - Some commands responses in RESP3 aren't stable yet and therefore return an "untyped" ReplyUnion.
 
Sentinel

TypeMapping

Correctly types Multi commands

Note: some API changes to be further documented in v4-to-v5.md
2024-10-15 17:46:52 +03:00
Leibale
b493afac60 Release client@1.6.0 2024-07-29 10:29:17 -04:00
Leibale
268ceda625 Release time-series@1.1.0 2024-07-29 10:27:51 -04:00
Leibale
fff7b006c3 Release search@1.2.0 2024-07-29 10:25:26 -04:00
Leibale
18ccc28c2f fix hash expiration tests 2024-07-29 10:11:04 -04:00
Leibale
3973fa24e1 Release json@1.0.7 2024-07-29 09:39:21 -04:00
Shaya Potter
840ec57fb9 small refactor per discussion with leibele (#2801)
* small refactor per discussion with leibele

* move true type to boolean type

* fix geoshape to support NOINDEX & SORTABLE, clean code

* fix for last commit

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2024-07-29 09:27:53 -04:00
Marco Reni
179b9e0094 fix: json.mget should be readonly (#2807) (#2808)
* fix: json.mget should be readonly (#2807)

* lint
2024-07-29 09:25:03 -04:00
Shaya Potter
54b3e178f9 add addscores to aggregate search command (#2799)
* add addscores to aggregate search command

* change `true` to `boolean`

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2024-07-29 09:22:38 -04:00
Shaya Potter
6f79b49f73 updated per discussion w/ leibele (#2804) 2024-07-24 13:15:01 -04:00
Shaya Potter
b884e132fa don't expand/copy rawValues, return it directly. (#2800) 2024-07-23 21:07:32 +03:00
Shaya Potter
d09aaa311d small internal tweak for maxage per discussion w/ leibele (#2803) 2024-07-23 12:59:27 -04:00
Shaya Potter
0e7e2e6e29 add missing fields support to schema (v4) (#2789) 2024-07-17 11:36:45 +03:00
Gabriel Erzse
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
Shaya Potter
5576a0db49 CAE-193: add "IGNORE" options to time series commands (for v4 branch) (#2752) 2024-07-10 19:45:33 +03:00
Shaya Potter
a1bee1caaf add geoshape support (#2788)
copied from what leibele did for v5
2024-07-10 19:45:17 +03:00
Shaya Potter
7d43a97bc7 add CLIENT KILL maxAge support (v4) (#2761) 2024-07-10 19:45:06 +03:00
Shaya Potter
b4df2b24a8 add support for all hash field expiration commands (#2787) 2024-07-10 19:44:30 +03:00
Leibale
60c1c466ba Release client@1.5.17 2024-07-02 13:37:23 -04:00
Max Gruenfelder
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
Leibale
d5518e0b5f Release client@1.5.16 2024-05-16 14:01:01 -04:00
Leibale
d7f7f79e53 Release client@1.5.15 2024-05-16 13:53:52 -04:00
jjsimps
bfa803fa55 Fix race condition when slots are re-calculated (#2731) 2024-05-16 10:17:32 -07:00
Leibale
03ab4fbd6c Release client@1.5.14 2024-02-05 09:24:20 -05:00
Leibale Eidelman
0f29f4238f Change json docker version to 2.6.9 2024-02-05 09:14:24 -05:00
Brent Layne
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
Leibale
bb6f14cf7e Release client@1.5.13 2023-12-18 15:18:29 -05:00
Leibale Eidelman
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
Leibale
a227cb0cef Release search@1.1.6 2023-11-20 13:49:13 -05:00
Leibale
0419b600b8 Release graph@1.1.1 2023-11-20 13:48:43 -05:00
Leibale
debd277002 Release client@1.5.12 2023-11-20 13:48:13 -05:00
Guy Korland
9ed9cb5be9 export missing graph types 2023-11-20 13:42:35 -05:00
Savvas Papageorgiadis
0ee3278085 chore(search): export languages (#2651) 2023-11-20 13:41:44 -05:00
Clubsandwich
623b56b5ca fix cluster.sUnsubscribe - make listener optional 2023-11-20 13:40:38 -05:00
Mustafa Ateş Uzun
e91509a3e1 fix GRAPH.EXPLAIN - fix transform typo in transformReply 2023-11-20 13:40:06 -05:00