Skip to content

Releases: fppt/jedis-mock

1.0.5

04 Nov 06:21
Compare
Choose a tag to compare

1.0.5

🐞 Bug fix

#270 Support count parameter for LPOP and RPOP (thanks, @bluecontainer!)

💼 Maintenance

Dependencies updates

1.0.4

27 Sep 09:02
Compare
Choose a tag to compare

1.0.4

🐞 Bug fix

#263 Fix handling of curly braces in KEYS (thanks, @dev-hanz-ops!)

💼 Maintenance

Dependencies updates

1.0.3

17 Jun 08:26
Compare
Choose a tag to compare

🚀 New features

  • HSTRLEN command supported
  • #178 Add support for non-localhost IPs for starting Mocking server

🐞 Bug fixes

Thanks @newacct for reporting the bugs!

  • #188 GET fails on HyperLogLog key
  • #218 ZREVRANGEBYSCORE doesn't work
  • #219 ZRANGEBYSCORE LIMIT doesn't follow ordering
  • #220 ZRANGEBYSCORE does not correctly interpret -inf
  • #233 String values and zset values do not store non-UTF8 binary values properly
  • #234 ZRANGEBYSCORE fails when bounds are out of order
  • #235 ZCARD incorrect result after ZREMRANGEBYSCORE
  • #236 HyperLogLog GET does not get same bytes as SET
  • #241 SETNX, SETEX, MSET, GETSET do not handle non-UTF8 binary data properly
  • #244 SET with empty value doesn't work

💼 Maintenance

  • Refactoring of the classes for internal data structures (especially for Sorted Sets)
  • Dependencies are updated

1.0.2

19 Apr 07:37
Compare
Choose a tag to compare

🚀 New commands

  • ZREVRANGE, ZREVRANGEBYSCORE per #177

🐞 Bug fixes

Thanks @newacct for reporting the bugs!

  • #185 HLEN fails when key does not exist
  • #186 ZRANGE returns incorrect order for elements with the same score
  • #187 HSET after EXPIRE discards the expiration
  • #189 SETBIT clears other bits
  • #191 HKEYS/HVALS/HGETALL fails when key does not exist
  • #192 HDEL does not work on additional arguments
  • #202 When calling RedisServer.stop, disconnect existing clients (thanks @bluecontainer!)

1.0.1

04 Feb 11:42
Compare
Choose a tag to compare

Bug fixes

  • #172 (Messages sent to subsribe twice, degradation since 1.0.0)

New commands

1.0.0

21 Dec 07:55
Compare
Choose a tag to compare

🥳 🍾 This is a major release made as a result of a semester work of the following nice people (in alphabetic order):

New features

RedisCommandInterceptor introduced, allowing users to intercept calls to jedis-mock and

  • perform additional verifications
  • stub the replies for unsupported operations
  • generally use jedis-mock as a testing proxy

New supported operations

  • PSUBSCRIBE and PUNSUBSCRIBE (#26)
  • PUBSUB CHANNELS
  • PUBSUB NUMPAT
  • PERSIST (#53)
  • WATCH and UNWATCH (#80)
  • DISCARD

Bug fixes

  • Fixed concurrency code. Multiple issues randomly occured in multithreaded environment are expected to be gone.
  • subscribe didn't work for multiple channels

Maintenance

  • Major code clean up:
    • Operation classes are categorized, put to separate packages and are being registered automatically in runtime.
    • Tests are categorized and put to separate packages.
  • Google Guava dependency removed.
  • Do not use serialization for internal storage of data structures.
  • Automatic report with list of supported and unsupported operations introduced.
  • Dependabot introduced. All the Maven dependencies are now automatically updated to their latest versions.
  • Upgraded reference Redis version to 6.2

0.1.23

08 Nov 10:14
Compare
Choose a tag to compare

Extended parameters for SET method supported

Release 0.1.22

02 Aug 12:48
Compare
Choose a tag to compare

New method supported

Release 0.1.21

12 Jul 14:24
51a269f
Compare
Choose a tag to compare

Bug fix

  • #135 RedisClient not closed when user forgot to quit

Release 0.1.20

17 May 08:23
d6dab66
Compare
Choose a tag to compare

Bug fixes

  • #121 flushall doesn't clear all the databases
  • #122 keys and scan don't take into account key expirations

New methods supported