Skip to content

Releases: fppt/jedis-mock

1.0.12

11 Nov 23:11
Compare
Choose a tag to compare

πŸš€ New features

  • #374 SMISMEMBER support

🐞 Bug fixes

  • #360 Redisson lock does not work with Jedis-mock
  • #371 HDEL without fields behaves differently to Redis

πŸ’Ό Maintenance

  • Reference Redis version is upgraded to 7.2, the reference list of commands now reflects version 7.2
  • Dependencies updated

πŸ™ Acklnowledgements

1.0.11

21 Oct 19:16
Compare
Choose a tag to compare

πŸš€ New features

🐞 Bugfixes

  • #354 Unable to put data into Redis hash with Redisson client

1.0.10

11 Aug 17:07
Compare
Choose a tag to compare

πŸš€ New feature

  • Support cluster mode emulation: mocking a single node holding all the hash slots (0-16383) so that common connectivity libraries can successfully connect and work. This feature was requested in #82, #133, and #142.

1.0.9

25 May 22:24
Compare
Choose a tag to compare

This is a bugfix release. Thanks to @newacct for reporting the bugs

🐞 Bugfixes

#330 Some operations fail after multiple EXPIREs
#331 SRANDMEMBER and SPOP with count on non-existent set should return an empty array instead of null reply

1.0.8

21 May 22:59
Compare
Choose a tag to compare

This huge release is a result of joint work of @TheCrashDown, @staketd and @Rheamer. Also big thanks for @newacct for reporting the bugs

πŸš€ New commands

Lua Scripting

(🍾 This is a long awaited functionality, requested in issues #12, #96, #100 and #56. See readme file for usage example and current limitations.)

Lists

Sets

πŸ§ͺ Native tests

LIST native tests

🟒 Nearly all native LIST tests are being succesfully run on CI, except for following scenarios

  • 🟑 Linked BRPOPLPUSH
  • 🟑 Circular BRPOPLPUSH
  • 🟑 BRPOPLPUSH does not affect WATCH while still blocked
  • 🟑 PUSH resulting from BRPOPLPUSH affect WATCH

SET native tests

🟒 All the SET native tests are now being successfully run on CI

🐞 Bug fixes

  • #310 HSET doesn't work with value longer than 1000 characters (degradation since 1.0.6)
  • #311 ZRANGEBYSCORE negative count doesn't work
  • #312 Sets, Zsets and Lists exist even after all elements removed
  • LIMIT parameter doesn't work for Z(REV)RANGEBYLEX
  • SPOP doesn't support a parameter with a number of elements to return
  • Zero must mean indefinite wait in list blocking operations
  • Not checking for target type in RPOPLPUSH. JedisMock could pop element and not push it into target, thus losing element
  • Throttling thread in RedisClient when client has closed connection.
  • handle negative timeout
  • handle transaction mode in blocking operations
  • correctly check for types in BRPOP, BLPOP
  • check for key existence in LSET
  • Fix LRANGE end parameter out of negative range case
  • Fix not handling wrong direction name in LINSERT
  • RENAME must notify blocked keys
  • List pop operations missing type validation
  • List pop operations not handling watched keys

πŸ’Ό Maintenance

Dependencies updated

1.0.7

08 Mar 18:26
Compare
Choose a tag to compare

πŸš€ New commands supported

🐞 Bug fixes

  • MGET should return null for non-string keys (instead of an error)

πŸ§ͺ Infrastructure

  • Native tests for INCRBY / INCRBYFLOAT are now being executed

πŸ’Ό Maintenance

  • Dependencies are updated

1.0.6

17 Jan 15:34
Compare
Choose a tag to compare

πŸš€ New commands supported

πŸ§ͺ Infrastructure

πŸ’Ό Maintenance

  • Dependencies are updated

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