Leibale Eidelman
0abd950f03
fix tsbuild ( #2307 )
...
* fix tsbuild
* fix tsbuild
* fix tsbuild
2022-10-26 15:32:19 -04:00
Leibale Eidelman
3ec17e31b3
fix legacy mode resp encoder ( #2118 )
...
* fix legacy mode resp encoder
* Update encoder.ts
2022-05-11 14:20:26 -04:00
Leibale Eidelman
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
Leibale Eidelman
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
Leibale Eidelman
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
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
b97d18b610
fix some types
2021-12-23 17:17:19 -05:00
leibale
a1bed9a10f
add buffer support to a bunch of commands
2021-12-15 17:08:50 -05:00
Leibale Eidelman
41bd136bb7
fix encodeCommand
2021-12-01 22:54:31 -05:00
leibale
f55de0efbf
improve encodeCommand performance, add set-get-delete-string benchmark
2021-12-01 20:17:52 -05:00
leibale
53bc564793
fix #1707 - handle number arguments in legacy mode
2021-11-10 16:57:15 -05:00
leibale
3eb99dbe83
use dockers for tests, use npm workspaces, add rejson & redisearch modules, fix some bugs
2021-11-08 19:21:15 -05:00