- fix(protocol): ensure writing network and queue in sync, avoiding disorder of execution queue.
- fix(command): Return keys in
HMGET
command correctly. - fix(protocol): decode
*-1
correctly - feat(command): added lmove and blmove commands
- fix(command): Incorrect preprocessing of arguments for
SREM
command. - feat(command): Added basic supports for
ZADD
,ZREM
,ZRANGE
commands. - fix(docs): Fixed the links to the command documents.
- build(test): Initialized test flows.
- fix(docs): fixed comments.
- build(deps): dropped
@litert/exception
and@litert/observable
.
- fix(command): fixed command
lpop
andrpop
.
-
fix(connection): refactored connection management
- Not use internal reconnection anymore. Instead, if a connection dead, redis.js will try reconnect only when a command requested. Except for subscriber clients.
- Disabled command timeout by default.
-
fix(protocol): fixed empty list like
*-1<CR><LF>
. -
fix(command): fixed command
LPOP
/RPOP
with 2nd argumentcount
. -
fix(command): fixed command
MOVE
. -
feat(command): added command
COPY
supports. -
feat(command): added command
SWAPDB
supports. -
feat(command): added command
TIME
supports with methodstime
,secTime
,msTime
,usTime
. -
feat(command): added ACL user supports to command
AUTH
.
- feat(command): added command
HRANDFILED
supports. - feat(command): added
count
param of commandR/LPOP
. - feat(command): added command
GETEX
supports. - feat(command): added command
GETDEL
supports.
- fix(connection): select previous database if reconnected.
- config(deps): replaced exception mechanism with
@litert/exception
.
- fix(command): fixed the return value of EXISTS command.
-
Added following command methods:
mExists
eval
evalSHA
scriptLoad
scriptFlush
scriptKill
scriptExists
scriptDebug
- Fixed the watch mode with a new
WatchClient
class. - Replaced TSLint with ESLint.
- Fixed: The pipeline doesn't switch database following the parent client.
- Migrate deps from
@litert/events
to@litert/observable
.
- Refactored the code to improve the performance and maintainability.
- Removed KEEP-ALIVE.
- Added keep-alive for clients.
- Auto switch to the selected database.
- Updated the dependency @litert/core to v0.6.0.
- Updated the dependency @litert/core to v0.5.0.
- Remove subscriber authentication when no password is required.
- Fixed the decoder error when reading half length of buffer.
- Achieved the listen mode for subscriber.