Avital-Fine
89f91eec16
improve transformArguments - (lgtm report)
2022-04-03 15:07:20 +03:00
Avital-Fine
9eb9adc4a2
נקודה פסיק
2022-04-03 15:04:01 +03:00
Avital-Fine
e2c3627870
fix reply parshing
2022-04-03 14:57:17 +03:00
Avital-Fine
7f3a35c309
Merge branch 'master' of github.com:redis/node-redis into COMMAND_DOCS
2022-04-03 14:08:19 +03:00
Leibale Eidelman
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
Avital Fine
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
Leibale Eidelman
18ec52d5ee
fix #2044 - handle "isolated clients" errors ( #2059 )
2022-03-30 06:30:43 -04:00
Avital Fine
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
Avital Fine
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
Leibale Eidelman
5ade5dadc0
upgrade dependencies ( #2057 )
...
* upgrade dependencies
* fix "Property 'uninstall' does not exist on type 'SinonFakeTimers'."
2022-03-27 16:27:05 -04:00
Avital Fine
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
Quentin Rankin
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
Avital Fine
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
Avital Fine
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
Avital Fine
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
Avital Fine
ba3dfde74c
Update packages/client/lib/commands/COMMAND_DOCS.ts
...
Co-authored-by: Precious <lilonaony@gmail.com >
2022-03-22 10:23:30 +01:00
Avital Fine
7507de770a
Update packages/client/lib/commands/COMMAND_DOCS.ts
...
Co-authored-by: Precious <lilonaony@gmail.com >
2022-03-22 10:23:19 +01:00
Avital Fine
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
Avital Fine
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
Avital-Fine
832519d762
fix history type
2022-03-16 14:31:46 +01:00
Avital-Fine
56f01b2508
fix history type
2022-03-16 14:30:54 +01:00
Avital-Fine
4fa53a88b1
Support COMMAND DOCS
2022-03-16 14:27:33 +01:00
Avital Fine
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
Leibale Eidelman
c57da8b78b
add missing FIRST_KEY_INDEX ( #2028 )
2022-03-08 17:26:13 -05:00
John Hiesey
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
Simon Prickett
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
Leibale Eidelman
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
Leibale Eidelman
c03ab8803d
fix #1998 - fix RPOPLPUSH return type ( #1999 )
2022-02-21 12:56:42 -05:00
Leibale Eidelman
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
Leibale Eidelman
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
Leibale Eidelman
46b831c922
fix #1864 - cluster.quit ( #1886 )
2022-01-31 08:35:35 -05:00
Leibale Eidelman
8160fa7d65
fix #1865 - add defaults to RedisModules and RedisScripts ( #1885 )
2022-01-31 08:35:24 -05:00
Leibale Eidelman
51475211a3
fix #1874 - fix TIME return type ( #1880 )
2022-01-31 05:41:38 -05:00
Leibale Eidelman
21270ba6e2
fix #1875 - fix XPENDING_RANGE id type ( #1879 )
2022-01-31 05:41:31 -05:00
Matan Yemini
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
Leibale Eidelman
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
Leibale Eidelman
551d2041dc
fix #1854 - fix __redis__:invalidate messages handler ( #1856 )
2022-01-24 12:03:40 -05:00
Leibale Eidelman
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
leibale
8062c2bc77
fix #1783 - fix some commands in legacy mode
2022-01-03 23:25:15 -05:00
leibale
24f3e3f43c
clean code
2022-01-03 16:37:03 -05:00
leibale
7e2059b1cf
ref #1789 - reject "hanging" promises when closing connection
2022-01-03 16:24:59 -05:00
leibale
2203be5fbd
add test for RootNodesUnavailableError
2021-12-30 18:32:48 -05:00
leibale
8f88eb289b
fix ASK and MOVED errors in multi as well
2021-12-30 17:12:13 -05:00
leibale
627eb78315
run XPEDNDING with consumers test on redis 6.2 and up, fix redis 6 tests
2021-12-29 17:24:20 -05:00
leibale
77022209bd
fix returnBuffers
, add some tests
2021-12-29 17:09:59 -05:00
leibale
74daee3023
fix #1801
2021-12-29 14:28:22 -05:00
Avital Fine
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
leibale
fd72a287b7
fix #1798 - temp fix for __redis__:invalidate null messages
2021-12-28 20:21:51 -05:00
leibale
b97d18b610
fix some types
2021-12-23 17:17:19 -05:00
leibale
a0de7967f9
buffers, buffers everywhere...
2021-12-20 14:47:51 -05:00