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

1841 Commits

Author SHA1 Message Date
25b76d460b Merge branch 'master' of github.com:redis/node-redis 2022-06-30 13:38:29 -04:00
11e6d495b0 Release client@1.1.1 client@1.1.1 2022-06-30 13:29:56 -04:00
6a850d36ae upgrade deps, fix "invalid save argument" error (#2174) 2022-06-30 13:07:29 -04:00
5fefcca8df Fixed a small typo. (#2168) 2022-06-30 12:53:26 -04:00
e1c13f874a Fixed erroneous reference to Top-K (#2158) 2022-06-15 15:18:36 -04:00
f269319f42 Updated search example to show sorting. (#2148)
* Updated search example to show sorting.

* Fixed example response.
2022-05-26 09:57:08 -04:00
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
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
7196b907e5 fix #1915 - CLIENT TRACKINGINFO (#2127)
* fix #1915 - CLIENT TRACKINGINFO

* remove .only
2022-05-12 13:05:27 -04:00
d8db974980 fix #1914 - CLIENT TRACKING (#2126) 2022-05-12 12:56:09 -04:00
429b11e020 fix #1959 - LCS (#2129)
* fix #1959 - LCS

* newlines at end of files
2022-05-11 14:24:07 -04:00
24c2c867f8 fix #1917 - CLIENT UNPAUSE (#2128)
* fix #1917 - CLIENT UNPAUSE

* fix CLIENT UNPAUSE
2022-05-11 14:20:52 -04:00
3ec17e31b3 fix legacy mode resp encoder (#2118)
* fix legacy mode resp encoder

* Update encoder.ts
2022-05-11 14:20:26 -04:00
94dbcc847b fix #1912 - CLIENT PAUSE (#2125)
* fix #1912 - CLIENT PAUSE

* fix client pause

* Update commands.ts
2022-05-11 10:02:29 -04:00
53a96ccce4 fix #1911 - CLIENT NO-EVICT (#2124) 2022-05-11 09:36:23 -04:00
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
5c9f31f244 fix #2123 - expose is ready (#2130) 2022-05-11 09:35:36 -04:00
a3b33d0177 nit: spelling fix memoery to memory (#2132) 2022-05-11 09:35:24 -04:00
2ca1ba4f09 Release redis@4.1.0 redis@4.1.0 2022-05-02 12:04:08 -04:00
eff2362d3a update @redis deps 2022-05-02 12:03:48 -04:00
9a62f61536 Release client@1.1.0 client@1.1.0 2022-05-02 11:58:47 -04:00
c990a5c0e2 Release time-series@1.0.3 time-series@1.0.3 2022-05-02 11:58:18 -04:00
ffc12344f5 Release search@1.0.6 search@1.0.6 2022-05-02 11:57:42 -04:00
f2a4e76d31 Release json@1.0.3 json@1.0.3 2022-05-02 11:57:06 -04:00
6dc9c83d99 Release graph@1.0.1 graph@1.0.1 2022-05-02 11:56:43 -04:00
14973f15f0 Release bloom@1.0.2 bloom@1.0.2 2022-05-02 11:56:09 -04:00
e5aaf38531 Release client@1.0.6 client@1.0.6 2022-05-02 11:55:18 -04:00
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
baf67fd87f fix #1976 - XSETID (#2104) 2022-04-26 09:05:44 -04:00
225524fabf Adds example of using a trim strategy with XADD. (#2105)
* Adds example of using a trim strategy with XADD.

* Update stream-producer.js

Co-authored-by: Leibale Eidelman <leibale1998@gmail.com>
2022-04-26 14:04:44 +01:00
b586ccb9d7 fix #1904 - ACL DRYRUN (#2102)
* fix #1904 - ACL DRYRUN

* clean code

* fix test
2022-04-26 09:04:21 -04:00
1e51680205 simplify example (#2072)
top level await is supported in modules
2022-04-25 16:54:59 -04:00
432a7e3ebb upgrade deps (#2098) 2022-04-25 16:42:20 -04:00
11c6c24881 Add support for redis functions (#2020)
* fix #1906 - implement BITFIELD_RO

* initial support for redis functions

* fix test utils

* redis functions commands and tests

* upgrade deps

* fix "Property 'uninstall' does not exist on type 'SinonFakeTimers'"

* upgrade dockers version

* Merge branch 'master' of github.com:redis/node-redis into functions

* fix FUNCTION LIST WITHCODE and FUNCTION STATS

* upgrade deps

* set minimum version for FCALL and FCALL_RO

* fix FUNCTION LOAD

* FUNCTION LOAD

* fix FUNCTION LOAD & FUNCTION LIST & FUNCTION LOAD WITHCODE

* fix FUNCTION_LIST_WITHCODE test
2022-04-25 09:09:23 -04:00
23b65133c9 New RESP2 parser (#1899)
* parser

* a new RESP parser :)

* clean code

* fix simple string and bulk string cursor

* performance improvements

* change typescript compiler target

* do not use stream.Transform

* Update decoder.ts

* fix for 1d09acb

* improve integer performance

* revert 1d09acb

* improve RESP2 decoder performance

* improve performance

* improve encode performance

* remove unused import

* upgrade benchmark deps

* clean code

* fix socket error handlers, reset parser on error

* fix #2080 - reset pubSubState on socket error

* reset decoder on socket error

* fix pubsub

* fix "RedisSocketInitiator"

* fix returnStringsAsBuffers

* fix merge
2022-04-25 08:24:33 -04:00
b1a0b48d2c Support new muilti pop commands (#2051)
* Support new muilti pop commands

* remove .only

* clean code

* fix for 4558ec6a31

* fix tests

Co-authored-by: leibale <leibale1998@gmail.com>
2022-04-25 07:50:43 -04:00
0f7ae937df Updates topk example for new withcount option. (#2093) 2022-04-25 05:58:24 -04:00
448ac9daae fix #2090 - topK.listWithCount (#2091) 2022-04-25 05:48:02 -04:00
e6de453fdd fix socket error handlers (#2092)
* fix socket error handlers, reset parser on error

* fix #2080 - reset pubSubState on socket error

* fix pubsub

* fix "RedisSocketInitiator"
2022-04-25 05:47:51 -04:00
8b5a5473a4 Bump async from 2.6.3 to 2.6.4 (#2087)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-20 15:25:00 -04:00
79ee8f2029 upgrade dependencies (#2081) 2022-04-18 12:29:01 -04:00
c5b706b385 exported GeoReplyWith (#2082) 2022-04-18 12:28:53 -04:00
4d1a86543b remove console.log (#2083) 2022-04-18 12:28:36 -04:00
c473c5fcce call setKeepAlive after the connect event (#2074) 2022-04-11 13:28:03 -04:00
329885b4ae Flatten array arguments in legacyMode multi commands (#2064) 2022-04-06 11:43:32 -04:00
d8e9da0f8e support for buffers in redisearch params (#2073) 2022-04-06 05:33:50 -04:00
0f65690e85 Remove console.log (#2068) 2022-04-03 10:11:22 -04:00
a5d06937db Release redis@4.0.6 redis@4.0.6 2022-03-31 14:50:22 +03:00
738753cfe5 upgrade search 2022-03-31 14:49:47 +03:00
9b8f72a63c Release search@1.0.5 search@1.0.5 2022-03-31 14:48:06 +03:00