Version 2.9.0.11
- Support:
scan_iter,sscan_iter,zscan_iter,hscan_iter
Version 2.9.0.10
- Return & store byte strings everywhere (unicode turns into utf-8 by default)
- Fix *SCAN returning non-long values.
- Fix *TTL returning -1/-2/None - this varies depending on whether StrictRedis is in use.
Version 2.9.0.9
- Support: RENAME and RENAMENX
- SADD will raise an exception if an empty list is passed to it
Version 2.9.0.8
- Add inclusive syntax (parenthesis) support for zero sets ZRANGEBYSCORE, ZREVRANGEBYSCORE & ZREMRANGEBYSCORE
- Expire can accept a timedelta value
Version 2.9.0.1
- Rename
redis.pymodule asclient.pyto avoid naming conflicts from the nose plugin. - Support contextmanager uses of
MockRedisLock - Support
stringoperation: MSET
Version 2.9.0.0
- Support redis-py 2.9.0
- Support: SCAN, SSCAN, HSCAN, and ZSCAN
Version 2.8.0.3
- Support verifying unit tests against actual redis-server and redis-py.
- Improve exception representation/mapping.
- Update TTL to return -2 for unknown keys.
- Fix
zsetscore_range_funcbehavior to expect string input - Raise
WatchErrorinMockRedisPipeline.execute() - Added
listoperations: SORT
Version 2.8.0.2
- Added
stringoperations: MGET, MSETNX, and GETSET - Added "*" support to KEYS
- Added container functions: getitem, setitem, delitem, member
- Added
pubsuboperations: PUBLISH
Version 2.8.0.1
- Fixed for RPOPLPUSH
Version 2.8.0.0
- Update LREM argument order to match redispy
Version 2.7.5.2
- Added
listoperations: LSET, LTRIM - Added
keyoperations: INCRBY, DECRBY - Added
transactionoperations: WATCH, MULTI, UNWATCH - Added expiration operations: EXPIREAT, PEXPIRE, PTTL, PSETX
- Fixed return values for some
setoperations
Version 2.7.5.1
- Changed DEL to support a list of keys as arguments and return the number of keys that were deleted.
- Improved pipeline support
Version 2.7.5.0
- Added
scriptoperations: EVAL, EVALSHA, SCRIPT_EXISTS, SCRIPT_FLUSH, SCRIPT_LOAD, REGISTER_SCRIPT - Added
listoperations: RPOPLPUSH - Added
stringoperations: SETEX, SETNX - Changed
stringoperation SET to support EX, PX, NX and XX options (available in redis-py since 2.7.4).
Version 2.7.2.5
- Added
hashoperations: HMGET, HSETNX, HINCRBYFLOAT, HKEYS, HVALS
Version 2.7.2.4
- Added
listoperations: LREM
Version 2.7.2.3
- Changed distribution name to "mockredispy"
- Added
setoperations: SADD (multivalue), SCARD, SDIFF, SDIFFSTORE, SINTER, SINTERSTORE, SISMEMBER, SMEMBERS (minor improvement), SMOVE, SPOP, SRANDMEMBER (improvement), SREM (multivalue), SUNION, SUNIONSTORE
Version 2.7.2.2
- Added
listoperations: LLEN, LPUSH, RPOP - Ensure that saved values are strings.
Version 2.7.2.1
- Added
zsetoperations: ZADD, ZCARD, ZCOUNT, ZINCRBY, ZINTERSTORE, ZRANGE, ZRANGEBYSCORE, ZRANK, ZREM, ZREMRANGEBYRANK, ZREMRANGEBYSCORE, ZREVRANGE, ZREVRANGEBYSCORE, ZREVRANK, ZSCORE, ZUNIONSTORE