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

1895 Commits

Author SHA1 Message Date
2750e492e3 ref #2521 - fix EVAL FIRST_KEY_INDEX 2023-07-06 20:59:12 -04:00
a7d5bc7ca4 fix #2526 - fix json README links (#2527) 2023-06-06 10:24:59 -04:00
79b0df8229 Release redis@4.6.7 redis@4.6.7 2023-05-31 15:47:56 +03:00
9250fd740c upgrade subpackages 2023-05-31 15:47:25 +03:00
2baf5df23c Release client@1.5.8 client@1.5.8 2023-05-31 15:46:32 +03:00
99c7cd7c55 Release search@1.1.3 search@1.1.3 2023-05-31 15:44:12 +03:00
454617bf83 Add a note about multiple Pub/Sub channel listeners (#2433)
* Add multiple listener language to pub/sub docks

Clarify that multiple subscriptions create multiple listeners.

* Update pub-sub.md

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-05-29 09:04:30 -04:00
0298c1ac41 upgrade deps (#2517)
* upgrade deps

* fix graph tests
2023-05-29 09:01:34 -04:00
100a5232ac use setImmediate instead of queueMicrotask (to improve performance) (#2516) 2023-05-29 09:01:22 -04:00
e696653bf9 Add support for LATENCY LATEST (#2514)
* Add support for LATENCY LATEST.

* Fix the review comments.

* Fix the review comments.

* Update LATENCY_LATEST.ts

* Update dockers.ts

* Update LATENCY_GRAPH.spec.ts

* enable debug mode in tests

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-05-29 09:00:58 -04:00
499ea85594 Update search-hashes.js (#2519) 2023-05-29 07:18:59 -04:00
85091cde5a Add count option to FT.CURSOR READ (#2492)
* feat: Add count option to FT.CURSOR READ

* Update CURSOR_READ.spec.ts

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-05-21 08:08:27 -04:00
d4f194352f XINFO CONSUMERS - add support for the inactive field (#2490)
* Support XINFO CONSUMERS: Added the inactive field

* Update XINFO_CONSUMERS.ts

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-05-21 08:06:46 -04:00
8d37c115e6 Add support for TIMEOUT in FT.AGGREGATE and FT.SEARCH (#2488)
* #2486: add timeout as optional param in FT.Search

* return timeout from aggregate

* add test case for TIMEOUT in aggregate

* add TIMEOUT option in search file

* add test cases for TIMEOUT option in search file

* uodate search/aggregates to add timeout when it is not undefuned

* update search to add timeout when it is not undefuned

* update test case for AGGREGATE
2023-05-21 08:01:17 -04:00
67d9c3c46a syntax (#2510) 2023-05-16 07:15:53 -04:00
759e83742b Bump vm2 from 3.9.14 to 3.9.18 (#2509)
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.14 to 3.9.18.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.14...3.9.18)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-16 07:04:36 -04:00
260a41750c Auto release via drafting, step one (#2453)
* first step of auto-release with the release drafter

* PR Comments

* making leibale happy
2023-05-16 07:03:42 -04:00
3273c8540d Release redis@4.6.6 2023-04-27 18:48:02 -04:00
f0bd7e0c2a upgrade deps 2023-04-27 18:47:43 -04:00
e8e09a7b5b Release client@1.5.7 client@1.5.7 2023-04-27 18:46:40 -04:00
dc920d3b67 fix isolationPool after reconnect (#2409)
* fix #2406 - fix isolationPool after reconnect

* revert breaking change

* fix
redis@4.6.6
2023-04-26 14:44:09 -04:00
986a510237 fix #2481 - fix "falsy" arguments in TS.ALTER (#2483) 2023-04-26 14:29:39 -04:00
ba31c8a50e fix #2443 - fix multiple sockets on error in socket initiator (#2480)
* fix #2443 - fix multiple sockets on error in socket initiator

* handle `error` events in test
2023-04-26 12:56:42 -04:00
e1658ba6ef fix cluster extractFirstKey skip commandOptions() passed to args (#2439)
* cluster extractFirstKey skip commandOptions() passed to args

* cluster with commandOptions unit test

* improve performance

* fix type

* fix type

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-04-26 12:56:04 -04:00
c88dea6151 Augment subpackages npm info (#2478)
* augment subpackages npm info

* some more keywords

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-04-24 12:41:44 -04:00
9f2e27d07d Fixed a bug in the updateIsActive function (#2476)
Missing PubSubType.SHARDED and duplicate comparison of PubSubType.CHANNELS when comparing listeners size in updateIsActive function
2023-04-24 12:41:30 -04:00
d65a641b2d revert 1d8302c9db 2023-03-17 09:52:30 -04:00
1d8302c9db FT.CREATE - set FIRST_KEY_INDEX to 1 (#2440) 2023-03-14 12:37:13 -04:00
ca1d04f2ba Release redis@4.6.5 redis@4.6.5 2023-02-24 18:22:13 -05:00
4745fae37f ugprade subpackages 2023-02-24 18:16:56 -05:00
f756d9aaa9 Release client@1.5.6 client@1.5.6 2023-02-24 18:10:07 -05:00
f0794ece01 Release search@1.1.2 search@1.1.2 2023-02-24 18:07:31 -05:00
4937efca6b upgrade dependencies (#2426) 2023-02-24 18:05:43 -05:00
e95b258dca fix #2419 - fix RESP2 array decoder in edge cases (#2424) 2023-02-24 17:34:19 -05:00
63e5228ce6 fix #2411 - export RedisFlushModes (#2425) 2023-02-24 17:34:00 -05:00
26e057ebf9 fix FT.SEARCH RETURN [] (#2421)
* ref #2419 - fix FT.SEARCH RETURN []

* fix transformReply

* fix PROFILE SEARCH as well

* fix PROFILE SEARCH preserve

* move preserve login to `pushSearchOptions`

* attach preserve only if true

* fix RETURN: [] test
2023-02-24 17:33:33 -05:00
0f28dad2a2 Execute empty MULTI (#2423)
* Fix multi.exec with empty queue and previous watch

When calling exec on a multi instance which you did not use, no command is sent currently.

This is a problem for watched keys, because no EXEC means no unwatch, which might cause hard-to-debug problems.

Proposed Fix: Sending UNWATCH

* execute empty multi command (instead of skipping)

* Update index.ts

* Update index.ts

* Update multi-command.ts

* Update multi-command.ts

* Update multi-command.ts

* Update multi-command.ts

* short circuit empty pipelines

* Update index.ts

---------

Co-authored-by: Leibale <me@leibale.com>
2023-02-24 17:33:16 -05:00
1be84228b5 Remove redundant UNF sub-option in JSON example (#2418)
UNF option is not required with JSON and makes the 
example harder to read and understand.
2023-02-21 10:45:48 -05:00
9ffae592f1 Release redis@4.6.4 redis@4.6.4 2023-01-30 14:30:00 -05:00
9209245611 upgrade subpackages 2023-01-30 14:29:38 -05:00
e4229a40b6 Release client@1.5.5 client@1.5.5 2023-01-30 14:27:42 -05:00
7cb467ad23 fix #2398 - fix v4 interface in legacyMode (#2402) 2023-01-30 14:24:11 -05:00
b3c260a5db fix graph tests 2023-01-30 14:02:15 -05:00
bb9a024d91 fix: Fix small typo in Redis Pub/Sub docs (#2400) 2023-01-30 12:23:17 -05:00
7a0334f396 Release redis@4.6.3 redis@4.6.3 2023-01-28 18:27:34 -05:00
a8915536bf upgrade subpackages 2023-01-28 18:26:55 -05:00
f1e951debe Release client@1.5.4 client@1.5.4 2023-01-28 18:24:14 -05:00
b3cd78503d fix reconnecting event (#2396)
* fix #2395 - fix reconnecting event

* Update socket.ts
2023-01-28 18:20:48 -05:00
58e572bdc7 Release redis@4.6.2 redis@4.6.2 2023-01-27 09:51:20 -05:00
c00b20f02a upgrade subpackages 2023-01-27 09:50:34 -05:00