ioredis-mock
Advanced tools
Changelog
[2.4.0] - 2017-03-05
exec
supports a callback argument. (#290)Changelog
[2.3.0] - 2017-02-28
Changelog
[2.2.0] - 2016-10-31
Changelog
[2.1.0] - 2016-10-05
smove
command. (#217)sdiff
command. (#216)sunion
command. (#215)sinter
command. (#214)Changelog
[2.0.0] - 2016-10-03
Bumping the version to v2 as there are fixes in this release that are breaking changes.
flushdb
command.append
updated to return an integer.dbsize
updated to return an integer.decr
updated to return an integer.decrby
updated to return an integer.expire
updated to return an integer.expireat
updated to return an integer.hdel
updated to return an integer.hexists
updated to return an integer.hincrby
updated to return an integer.hlen
updated to return an integer.hset
updated to return an integer.hsetnx
updated to return an integer.hstrlen
updated to return an integer.incr
updated to return an integer.incrby
updated to return an integer.lpush
updated to return an integer.lpushx
updated to return an integer.mget
required a single array argument, updated to use multiple arguments
(single array support will be added later when ioredis Argument Transformers
is properly implemented).msetnx
updated to return an integer.persist
updated to return an integer.pexpire
updated to return an integer.pexpireat
updated to return an integer.pttl
updated to return an integer.renamenx
updated to return an integer.rpush
updated to return an integer.rpushx
updated to return an integer.scard
updated to return an integer.setnx
updated to return an integer.sismember
updated to return an integer.strlen
updated to return an integer.ttl
updated to return an integer.hmset
no longer accepts passing an object with keys and values directly.
This will be added later when ioredis Argument Transformers is properly
implemented.Changelog
[1.15.0] - 2016-10-03
type
command (#207)sadd
no longer allow duplicate values (#204 @kesla)hset
learned to create a new hash if not existing instead of throwing error
(#207)hset
updated to return integer reply according to redis spec (#207)set
related commands (sadd
, scard
, etc) implemented using es6 Set
instead of Array
(#204 @kesla)hset
tests refactored (#207)Changelog
[1.14.0] - 2016-10-02
scard
command (#201)discard
command (#200)Changelog
[1.13.0] - 2016-10-02
mset
command (#181)msetnx
command (#182)dbsize
command (#183)lpushx
command (#184)incrbyfloat
command (#185)rpushx
command (#186)hincrbyfloat
command (#187)lpop
command (#189)rpop
command (#190)lindex
command (#191)srandmember
command (#192)lset
command (#193)