Skip to content

Releases: fppt/jedis-mock

1.1.8

17 Nov 08:55
Compare
Choose a tag to compare

πŸš€ Enhancement

πŸ’Ό Maintenance

  • Updated dependencies

1.1.7

09 Nov 14:29
Compare
Choose a tag to compare

🐞 Bugfix

  • #551 PERSIST on a key with no timeout should return 0 (thanks @newacct for reporting)

πŸ’Ό Maintenance

  • Updated dependencies

1.1.6

27 Oct 09:26
Compare
Choose a tag to compare

🐞 Bugfix

  • #520 Bitmaps not interchangeable with strings (thanks @newacct for reporting)
  • SETRANGE should fail for out-of-range parameter values

πŸ§ͺ Native tests

  • A subset of native string tests (verifying all variations on GET/SET, SETBIT/GETBIT and SETRANGE) are added to the build script

1.1.5

26 Oct 12:07
Compare
Choose a tag to compare

🐞 Bugfix

  • #537 CLUSTER fails if server and client are bound to different addresses (thanks @antb88 for reporting)
  • #540 XREAD $ fails for an empty stream (thanks @uhrm for reporting and @1BAH for fixing this)

πŸ’Ό Maintenance

  • Updated dependencies

1.1.4

12 Sep 16:50
Compare
Choose a tag to compare

🐞 Bugfix

  • #521 unpack() in Lua scripts doesn't work (thanks @newacct for reporting this)

πŸ’Ό Maintenance

  • Updated dependencies

1.1.3

23 Jul 21:01
Compare
Choose a tag to compare

πŸš€ New feature

  • Injected Clock support (as requested in #343). See README for details.

πŸš€ New commands support

  • COPY
  • MOVE
  • EXPIRETIME
  • PEXPIRETIME

🐞 Bugfixes

  • XX, NX, LT, GT options in EXPIRE and PEXPIRE are now supported.
  • KEEPTTL option in SET is now supported.
  • Any expiration time value set in SET ... EX, SETEX and EXPIRE which leads to 64-bit overflow should be reported as invalid expiration time instead of a silent arithmetic overflow.

πŸ§ͺ Native tests

  • Added partial support of keyspace and expire native test set.

πŸ’Ό Maintenance

  • Updated dependencies

1.1.2

06 Jul 10:22
Compare
Choose a tag to compare

🐞 Bugfix

  • #480 Non-integer scores in zset get rounded to integer in zrange withscores
  • Thread leak if a large number of RedisServer instances is being created and stopped.

πŸš€ Enhancement

  • #475 RedisServer now has isRunning() method which allows one to check if the server is running from another thread.

πŸ’Ό Maintenance

  • Dependencies updates

Thanks @penev-ff and @newacct for reporting issues and @Alex286756 for providing the quick solution

1.1.1

24 Apr 08:34
Compare
Choose a tag to compare

🐞 Bugfixes

Streams

  • #452 XADD does not unblock XREAD with BLOCK > 0

Transactions

  • FLUSHALL must be queued inside MULTI-EXEC transaction
  • FLUSHALL must notify all the WAIT-monitored keys
  • MULTI and WAIT inside transaction should return errors but not discard the transaction
  • In case there are errors when collecting the transaction queue, the whole transaction is not executed

πŸ’Ό Maintenance

  • Code refactoring
  • Dependencies updates

Thanks @filipezlopez for reporting the bug and @1BAH for providing the fix and refactorings

1.1.0

20 Jan 22:43
Compare
Choose a tag to compare

πŸš€ Streams support

Starting from version 1.1.0, JedisMock partially supports stream operations: a feature requested years ago, in particular in tickets #134 and #138.

New commands:

  • XADD
  • XDEL
  • XLEN
  • XRANGE
  • XREAD
  • XREVRANGE
  • XTRIM

🐞 Bug fixes

  • Negative TTL values in commands SETEX, PSETEX, SET should produce an error (instead of setting expiration time in the past).
  • Command submission inside MULTI...EXEC transactions should return QUEUED instead of OK.

πŸ’Ό Maintenance

Dependencies are updated

Thanks to @1BAH for development of streams functionality for Jedis-Mock!

1.0.13

17 Dec 01:06
Compare
Choose a tag to compare

πŸš€ New commands supported

Sorted Set operations

  • ZDIFF
  • ZDIFFSTORE
  • ZINCRBY
  • ZINTER
  • ZINTERCARD
  • ZINTERSTORE
  • ZLEXCOUNT
  • ZMPOP
  • ZMSCORE
  • ZPOPMAX
  • ZPOPMIN
  • ZRANGESTORE
  • ZRANK
  • ZREMRANGEBYLEX
  • ZREMRANGEBYRANK
  • ZREVRANK
  • ZSCAN
  • ZUNION
  • ZUNIONSTORE
  • BZMPOP
  • BZPOPMAX
  • BZPOPMIN

Thanks @Alex286756 for your contribution!

πŸ§ͺ Testing

  • Enabled native tests for Sorted Sets operations
  • All the tests now use AssertJ

πŸ’Ό Maintenance

  • Added support for Lettuce 6.3.0
  • Updated dependencies