Skip to content

Latest commit

 

History

History
72 lines (49 loc) · 2.11 KB

CHANGES.md

File metadata and controls

72 lines (49 loc) · 2.11 KB

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 zset score_range_func behavior to expect string input
  • Raise WatchError in MockRedisPipeline.execute()
  • Added list operations: SORT

Version 2.8.0.2

  • Added string operations: MGET, MSETNX, and GETSET
  • Added "*" support to KEYS
  • Added container functions: getitem, setitem, delitem, member
  • Added pubsub operations: 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 list operations: LSET, LTRIM
  • Added key operations: INCRBY, DECRBY
  • Added transaction operations: WATCH, MULTI, UNWATCH
  • Added expiration operations: EXPIREAT, PEXPIRE, PTTL, PSETX
  • Fixed return values for some set operations

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 script operations: EVAL, EVALSHA, SCRIPT_EXISTS, SCRIPT_FLUSH, SCRIPT_LOAD, REGISTER_SCRIPT
  • Added list operations: RPOPLPUSH
  • Added string operations: SETEX, SETNX
  • Changed string operation SET to support EX, PX, NX and XX options (available in redis-py since 2.7.4).

Version 2.7.2.5

  • Added hash operations: HMGET, HSETNX, HINCRBYFLOAT, HKEYS, HVALS

Version 2.7.2.4

  • Added list operations: LREM

Version 2.7.2.3

  • Changed distribution name to "mockredispy"
  • Added set operations: 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 list operations: LLEN, LPUSH, RPOP
  • Ensure that saved values are strings.

Version 2.7.2.1

  • Added zset operations: ZADD, ZCARD, ZCOUNT, ZINCRBY, ZINTERSTORE, ZRANGE, ZRANGEBYSCORE, ZRANK, ZREM, ZREMRANGEBYRANK, ZREMRANGEBYSCORE, ZREVRANGE, ZREVRANGEBYSCORE, ZREVRANK, ZSCORE, ZUNIONSTORE