1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00
Commit Graph

84 Commits

Author SHA1 Message Date
33a3f3f6c6 run tests with redis 7 as well - copied from #2020 (#2062)
* run tests on redis 7 as well - copied from #2020

* copy some changes from #2020

* clean BITCOUNT
2022-03-30 08:12:21 -04:00
b0fb3bd63f Support COMMAND GETKEYSANDFLAGS (#2039)
* Support COMMAND GETKEYSANDFLAGS

* Update COMMAND_GETKEYSANDFLAGS.spec.ts

remove '.only'

* clean code

Co-authored-by: leibale <leibale1998@gmail.com>
2022-03-30 06:31:26 -04:00
18ec52d5ee fix #2044 - handle "isolated clients" errors (#2059) 2022-03-30 06:30:43 -04:00
f6f645bdbb Support SORT_RO (#2041)
* Support SORT_RO

* move pushSortReadOnlyArgs and SortReadOnlyOptions to generic-transformers

* clean code

Co-authored-by: leibale <leibale1998@gmail.com>
2022-03-28 18:36:47 -04:00
5821fcbe4d Support CLUSTER commands (#2015)
* Support CLUSTER commands

* add some client tests

* remove only

* delete cluster slaves

* delete reset clietn test

* SET SLOT

* test with client

* fix fail

* Update CLUSTER_COUNTKEYSINSLOT.spec.ts

* move commands to client/commands.ts

* clusterNode

* remove CLUSTER-SET-CONFIG-EPOCH test with client

* clean code

Co-authored-by: leibale <leibale1998@gmail.com>
2022-03-28 18:31:15 -04:00
5ade5dadc0 upgrade dependencies (#2057)
* upgrade dependencies

* fix "Property 'uninstall' does not exist on type 'SinonFakeTimers'."
2022-03-27 16:27:05 -04:00
515adf1346 Support OBJECT [...] commands (#2014)
* Support OBJECT [...] commands

* move commands to cluster/commands.ts

Co-authored-by: leibale <leibale1998@gmail.com>
2022-03-27 13:35:01 -04:00
6ca45f674d support command LATENCY DOCTOR (#2053)
* The Latency Doctor Command has been added to the project

* Update LATENCY_DOCTOR.ts

* Update LATENCY_DOCTOR.spec.ts

* Update LATENCY_DOCTOR.spec.ts

Co-authored-by: QuentinRK <q.rankin@outlook.com>
Co-authored-by: Leibale Eidelman <leibale1998@gmail.com>
2022-03-27 13:29:10 -04:00
6b8a40a36b Support new cluster commands (#2050)
* Support new cluster commands

* clean code

Co-authored-by: leibale <leibale1998@gmail.com>
2022-03-27 13:06:27 -04:00
fe16dc0eae Support BIT|BYTE option (#2035)
* Support BIT|BYTE option

* clean code

* clean code

* clean code

Co-authored-by: leibale <leibale1998@gmail.com>
2022-03-24 11:00:08 -04:00
24cd9ba9a4 Support new expire features (#2036)
* Support new expire features

* Update PEXPIRETIME.ts

* Update EXPIRETIME.ts

* fix version skip

* clean code

Co-authored-by: leibale <leibale1998@gmail.com>
2022-03-24 10:17:01 -04:00
c5c2bf9042 Support multiple parametrs on CONFIG SET (#2042)
* support multiple parametrs on CONFIG SET

* clean code

Co-authored-by: leibale <leibale1998@gmail.com>
2022-03-20 13:40:27 -04:00
875298e6e3 Support ZINTERCARD and SINTERCARD (#2040)
* Support ZINTERCARD and SINTERCARD

* clean code

* clean code

Co-authored-by: leibale <leibale1998@gmail.com>
2022-03-20 13:40:19 -04:00
be51abe347 Support COMMAND LIST (#2013)
* Support COMMAND LIST

* Update COMMAND_LIST.spec.ts

* add version check

* clean code

Co-authored-by: leibale <leibale1998@gmail.com>
2022-03-10 12:20:01 -05:00
c57da8b78b add missing FIRST_KEY_INDEX (#2028) 2022-03-08 17:26:13 -05:00
f79e14c8c3 Fix #1870: TypeError in PubSub (#2016)
* Fix #1870: TypeError in PubSub

* Add test

This test is for a race condition; it should reliably pass now,
but is not guaranteed to fail with the previous version.
2022-03-07 07:27:04 -05:00
88586048e1 Fixes the time command response. (#2008)
* Fixes the time command response.

* Adds TIME example.

* Update TIME.ts

* Update get-server-time.js

Co-authored-by: Leibale Eidelman <leibale1998@gmail.com>
2022-03-07 07:20:19 -05:00
9180b91047 fix #1906 - implement BITFIELD_RO (#1988)
* fix #1906 - implement BITFIELD_RO

* set bitfield_ro min version to 6.2
2022-03-02 05:29:42 -05:00
c03ab8803d fix #1998 - fix RPOPLPUSH return type (#1999) 2022-02-21 12:56:42 -05:00
0803f4e19c add nodeAddressMap config for cluster (#1827)
* add `nodeAddressMap` config for cluster

* Update cluster-slots.ts

* Update cluster-slots.ts

* update docs

Co-authored-by: Guy Royse <guy@guyroyse.com>

Co-authored-by: Guy Royse <guy@guyroyse.com>
2022-02-14 15:23:35 -05:00
6dd15d96aa ref #1888 - add disableOfflineQueue (#1900)
* ref #1888 - add disableOfflineQueue

* fix flushQueuesOnError

* update docs

Co-authored-by: Guy Royse <guy@guyroyse.com>

Co-authored-by: Guy Royse <guy@guyroyse.com>
2022-02-14 15:23:18 -05:00
46b831c922 fix #1864 - cluster.quit (#1886) 2022-01-31 08:35:35 -05:00
8160fa7d65 fix #1865 - add defaults to RedisModules and RedisScripts (#1885) 2022-01-31 08:35:24 -05:00
51475211a3 fix #1874 - fix TIME return type (#1880) 2022-01-31 05:41:38 -05:00
21270ba6e2 fix #1875 - fix XPENDING_RANGE id type (#1879) 2022-01-31 05:41:31 -05:00
741aff0c30 update tls type to be boolean instead of "true" (RedisTlsSocketOptions) (#1851)
* update tls type to be boolean instead of "true"

* Update socket.ts

* Update socket.ts

* Update socket.ts

Co-authored-by: Matan Yemini <matan@engageli.com>
Co-authored-by: Leibale Eidelman <leibale1998@gmail.com>
2022-01-31 04:33:11 -05:00
7ded3dd79f fix #1846 - handle arguments that are not buffers or strings (#1849)
* fix #1846 - handle arguments that are not buffers or strings

* use toString() instead of throw TypeError

* remove .only and uncomment tests
2022-01-24 12:04:30 -05:00
551d2041dc fix #1854 - fix __redis__:invalidate messages handler (#1856) 2022-01-24 12:03:40 -05:00
d34cb9c07b fix #1819 - fix EXISTS reply (#1820)
* fix #1819 - fix EXISTS reply

* fix for f3f946fd9a - "fix" tests
2022-01-11 11:45:50 -05:00
8062c2bc77 fix #1783 - fix some commands in legacy mode 2022-01-03 23:25:15 -05:00
24f3e3f43c clean code 2022-01-03 16:37:03 -05:00
7e2059b1cf ref #1789 - reject "hanging" promises when closing connection 2022-01-03 16:24:59 -05:00
2203be5fbd add test for RootNodesUnavailableError 2021-12-30 18:32:48 -05:00
8f88eb289b fix ASK and MOVED errors in multi as well 2021-12-30 17:12:13 -05:00
627eb78315 run XPEDNDING with consumers test on redis 6.2 and up, fix redis 6 tests 2021-12-29 17:24:20 -05:00
77022209bd fix returnBuffers, add some tests 2021-12-29 17:09:59 -05:00
74daee3023 fix #1801 2021-12-29 14:28:22 -05:00
f93ac04436 Bloom commands (#1786)
* ft.alter

* bloom commands

* tdigest

* delete tdigest

* uncomment tests

* small changes

* Update MADD.ts

* small changes

* clean code

* Update README.md

* Update README.md

Co-authored-by: leibale <leibale1998@gmail.com>
2021-12-29 11:55:09 -05:00
fd72a287b7 fix #1798 - temp fix for __redis__:invalidate null messages 2021-12-28 20:21:51 -05:00
b97d18b610 fix some types 2021-12-23 17:17:19 -05:00
a0de7967f9 buffers, buffers everywhere... 2021-12-20 14:47:51 -05:00
4975eb798e fix defineScript types (#1788) 2021-12-17 10:39:19 -05:00
a1bed9a10f add buffer support to a bunch of commands 2021-12-15 17:08:50 -05:00
aa63580b4b clean code 2021-12-13 14:20:46 -05:00
bb75b06d67 fix #1734 - fix PubSub unsubscribe race condition 2021-12-11 08:33:46 -05:00
b70aa4e470 fix for e11256854e - should not retry connecting if failed due to wrong auth 2021-12-09 02:48:10 -05:00
ac808ea781 fix #1766 - allow .quit() in PubSub mode 2021-12-08 10:28:34 -05:00
e11256854e fix #1771 - fix PubSub resubscribe 2021-12-08 10:27:29 -05:00
73f6e6b86c fix LINSERT test title 2021-12-07 11:01:54 -05:00
12173e1cd7 ref #1765 - support lowercase command names in legacy mode 2021-12-07 01:31:18 -05:00