All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
3.11.0 - 2018-07-18
zcountcommand (#460 @jmelion)
3.10.2 - 2018-07-11
- Closer mock of pipeline/multi feature (#458 @BastienAr)
3.10.1 - 2018-06-25
- redis format for xread for multiple streams. (#455 @critocrito)
3.10.0 - 2018-06-24
xadd,xlen,xrange,xrevrangeandxreadfor stream support (#449 @critocrito)
3.9.1 - 2018-06-09
zrangefunctions sort items with the same score in lexicographical order (#446 @kylewm)
3.9.0 - 2018-06-04
zrevrangebyscorecommands (#442 @kylewm)zremandzincrbycommands (#443 @kylewm)
3.8.3 - 2018-05-25
- missing case in
spop(#433 @BastienAr)
3.8.2 - 2018-05-24
spopbehaviour (#432 @BastienAr)
3.8.1 - 2018-04-12
- flatten (smoosh) args correctly (#405 @BastienAr)
3.8.0 - 2018-04-10
zscanStreamandhscanStreamcommands (#393 @BastienAr)
3.7.1 - 2018-04-03
pexpire, pexpireat, psetexto set correct expire time (#389 @vaskevich)
3.7.0 - 2018-04-01
scanStreamcommand (#363 @BastienAr)
3.6.4 - 2018-02-17
keysno longer returns empty sets, just like real redis (#358)
3.6.3 - 2018-02-06
srandomnot usingSet. (#356 @ianmuninio)
3.6.2 - 2018-02-01
delshould return number of keys deleted from the data, not the number of arguments (#355 @donaldjarmstrong)
3.6.1 - 2018-01-06
- Passing null values should not throw exceptions (#353 @kkragenbrink)
3.6.0 - 2018-01-03
zrangebyscorecommand in addition tounsubscribeandquitstubs (#350 @usebaz)
3.5.0 - 2017-12-07
subscribecommand stub (#348 @yitongding)
3.4.2 - 2017-11-28
- Remove .eslintcache file from package (#347)
3.4.1 - 2017-11-28
- More detailed RunKit example (#346)
3.4.0 - 2017-11-27
- Argument and Reply Transformers (#342 @DrMegavolt)
3.3.1 - 2017-11-17
- RunKit example (#340)
3.3.0 - 2017-11-16
zadd,zrange,zremrevbyrankandzrevrangecommands. (#321 @ddunkin)- Added support for passing objects and maps to
hmset(#337)
3.2.0 - 2017-11-15
lrangecommand. (#335 @sseidametov)scancommand. (#334 @DrMegavolt)
3.1.3 - 2017-11-12
- Fixed errors in smembers and srem when no data is set (#332)
3.1.2 - 2017-11-09
- Fixed hexists edge cases. (#331 @wraytw)
3.1.1 - 2017-10-19
- Ignore codeclimate in npm package
3.1.0 - 2017-10-03
- Added
pipelinewith method chaining (#312 @funnisimo)
3.0.2 - 2017-10-02
- Added back support for node v0.10.x like ioredis.
3.0.1 - 2017-10-02
- Removed README and RunKit references to old import style.
3.0.0 - 2017-10-02
- Use module.exports to be in line with ioredis. (#311 @rexxars)
- Error thrown in sismember() if key does not exist. (#318 @theogravity)
2.4.1 - 2017-10-02
- Allow ioredis 3 as peer dependency. (#317 @aruberto)
2.4.0 - 2017-03-05
execsupports a callback argument. (#290)
- Don't modify objects passed to or returned from the internal datastore. (#281 @jeffkenney)
- Fix hash get commands for missing hashes. (#284 @jeffkenney)
2.3.0 - 2017-02-28
- Add event emitter inheritance. (#248 @xsellier)
- Trigger connect & ready events on instantiation. (#280 @rexxars)
- Prevent conversion of buffer arguments to strings. (#236 @dpikt)
- updated all dependencies to latest stable versions. (@greenkeeperio-bot)
2.2.0 - 2016-10-31
- buffer operation aliases. (#234 @dpikt)
- yarn lockfile.
- updated redis-commands dependency and updated the compat table with new commands.
2.1.0 - 2016-10-05
smovecommand. (#217)sdiffcommand. (#216)sunioncommand. (#215)sintercommand. (#214)
- added compat table badge to readme. (#213)
2.0.0 - 2016-10-03
Bumping the version to v2 as there are fixes in this release that are breaking changes.
flushdbcommand.
- Command arguments is now transformed to strings before being passed to the command itself helping the mock behave more like a real ioredis client.
appendupdated to return an integer.dbsizeupdated to return an integer.decrupdated to return an integer.decrbyupdated to return an integer.expireupdated to return an integer.expireatupdated to return an integer.hdelupdated to return an integer.hexistsupdated to return an integer.hincrbyupdated to return an integer.hlenupdated to return an integer.hsetupdated to return an integer.hsetnxupdated to return an integer.hstrlenupdated to return an integer.incrupdated to return an integer.incrbyupdated to return an integer.lpushupdated to return an integer.lpushxupdated to return an integer.mgetrequired a single array argument, updated to use multiple arguments (single array support will be added later when ioredis Argument Transformers is properly implemented).msetnxupdated to return an integer.persistupdated to return an integer.pexpireupdated to return an integer.pexpireatupdated to return an integer.pttlupdated to return an integer.renamenxupdated to return an integer.rpushupdated to return an integer.rpushxupdated to return an integer.scardupdated to return an integer.setnxupdated to return an integer.sismemberupdated to return an integer.strlenupdated to return an integer.ttlupdated to return an integer.
hmsetno longer accepts passing an object with keys and values directly. This will be added later when ioredis Argument Transformers is properly implemented.
1.15.0 - 2016-10-03
typecommand (#207)
saddno longer allow duplicate values (#204 @kesla)hsetlearned to create a new hash if not existing instead of throwing error (#207)hsetupdated to return integer reply according to redis spec (#207)
setrelated commands (sadd,scard, etc) implemented using es6Setinstead ofArray(#204 @kesla)hsettests refactored (#207)
1.14.0 - 2016-10-02
- added
scardcommand (#201) - added
discardcommand (#200)
- added CHANGELOG.md file
1.13.0 - 2016-10-02
- added
msetcommand (#181) - added
msetnxcommand (#182) - added
dbsizecommand (#183) - added
lpushxcommand (#184) - added
incrbyfloatcommand (#185) - added
rpushxcommand (#186) - added
hincrbyfloatcommand (#187) - added
lpopcommand (#189) - added
rpopcommand (#190) - added
lindexcommand (#191) - added
srandmembercommand (#192) - added
lsetcommand (#193)
1.12.0 - 2016-10-02
- added
authcommand (#160) - added
bgrewriteaofcommand (#161) - added
savecommand (#162) - added
lastsavecommand (#163) - added
bgsavecommand (#164) - added
getrangecommand (#165) - added
echocommand (#166) - added
randomkeycommand (#167) - added
rolecommand (#168) - added
flushallcommand (#169) - added
pingcommand (#170) - added
persistcommand (#171) - added
expireatcommand (#172) - added
pttlcommand (#173) - added
hkeyscommand (#174) - added
setexcommand (#175) - added
pexpireatcommand (#176) - added
hlencommand (#177) - added
pexpirecommand (#178) - added
psetexcommand (#179)
1.11.0 - 2016-10-01
- added
expirecommand (#155) - added
ttlcommand (#157)
- cleaned up compat table (#158)
- circleci now run parallel builds to distribute node v4 - v6 tests between containers, speeding things up a bit
1.10.0 - 2016-10-01
- added
renamenxcommand (#152)
1.9.0 - 2016-09-26
- added
mgetcommand (#134 @kesla)
- updated all dependencies to latest versions (thanks, @greenkeeperio-bot!)
1.8.0 - 2016-08-13
- added
brpoplpushcommand (#106 @davemcorwin) - added
llencommand (#106 @davemcorwin) - added
lpushcommand (#106 @davemcorwin) - added
lremcommand (#106 @davemcorwin) - added
publishstub (#106 @davemcorwin) - added
rpoplpushcommand (#106 @davemcorwin) - added
rpushcommand (#106 @davemcorwin)
hmsetcommand supports objects (#106 @davemcorwin)incrcommand sets default value'0'if not exists (#106 @davemcorwin)
- updated all dependencies to latest versions (thanks, @greenkeeperio-bot!)
1.7.0 - 2016-08-02
- added
keyscommand (#92 @pivotal-csaa)
- updated test and linting dependencies to latest versions (thanks, @greenkeeperio-bot!)
1.6.0 - 2016-07-04
- added
setnxcommand
hsetnxwould report '0' to signal the key was a no-op but in reality did change the existing value.
1.5.0 - 2016-06-28
- added strlen command (#53)
- added hdel command (#54)
- added hexists command (#55)
- added hincrby command (#56)
- added hstrlen command (#57)
- Added a note about tonicdev to readme (#52)
1.4.1 - 2016-06-27
- updated istanbul devDependency
1.4.0 - 2016-06-26
- added
hmgetcommand - added
renamecommand - added
appendcommand
- performance penalties for using delete (#45)
1.3.0 - 2016-06-21
- added
existscommand. - added
timecommand. - added
getsetcommand.
1.2.0 - 2016-06-16
- added incrby and decrby commands (#34).
- compat.md now links to redis docs for easy lookup.
1.1.1 - 2016-06-15
- #30 Fix regression in v1.1.0 that broke the whole module (sorry!).
1.1.0 - 2016-06-14
- refactored to Bluebird promises.
- node style callbacks supported, like in ioredis.
- added del and decr.
1.0.6 - 2016-06-14
- added compat table.
- added npm preversion and prepublish scripts to prevent easy maintenance mistakes.
1.0.5 - 2016-06-14
- updated readme
1.0.4 - 2016-06-12
- 100% test coverage
- srem and sadd accepts multiple items
- added set and get commands
1.0.3 - 2016-06-12
- setup CircleCI to cover latest stable node releases.
- incr didn't persist changes to data.
1.0.2 - 2016-06-10
- Setup travis CI and AppVeyor integrations.
- Added tests for exec, hget, hset, hsetnx and incr.
- Setup coveralls and codeclimate integrations.
- Fixed broken hset implementation.
1.0.1 - 2016-06-09
- lodash was missing in the package.json dependencies
- fixes to documentation
- added tonicExample
- Integers
- incr
- Hashing
- hset
- hget
- hgetall
- hsetnx
- hmset
- hvals
- Lists
- sadd
- srem
- smembers
- sismember
- Transaction
- multi
- exec