Skip to content

Releases: fppt/jedis-mock

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

Release 0.1.19

08 May 14:32
cde9839
Compare
Choose a tag to compare

Bug fixes

  • ZREMRANGEBYSCORE does not work for negative scores (#116)
  • INCRBYFLOAT invocation causes exception with message "Long cannot be cast to [B"
  • When HINCRBYFLOAT is called with int parameter on int value, it should return int (thanks @24kpure for the fix provided in #101)

Newly Supported Operations

Release 0.1.18

06 May 15:00
3f561ff
Compare
Choose a tag to compare

Special thanks to

@mwiede
@fxshlein
@mpetricek-corp
@fluffy88
@etolbakov

Bug fix

  • hsetnx is not returning 0 if field already exists (#97)

Changes

  • We now use TestContainers and Redis 5.0 as a comarison base
  • Jedis is updated to 3.6.0

Newly Supported Operations

  • HSET now supports Map as a parameter in order to set multiple sub-keys at once
  • CLIENT SETNAME is now mocked according to the specification (just returns 'OK')
  • ZREMRANGEBYSCORE

Release 0.17.0

19 Apr 08:45
253b4b1
Compare
Choose a tag to compare

Release with client support and to test release pipeline still working

Release 0.1.16

28 Oct 15:44
a10ae06
Compare
Choose a tag to compare

Special thanks to:

For all the new features, fixes, and geniune awesomeness. Thanks folks!

Bug Fix:

  • incr was incorrectly clearing ttl - fixed
  • Flaky test, massive thanks here. That one was bothering me.

Newly Supported Operations

Release 0.1.15

08 Aug 10:39
Compare
Choose a tag to compare

Special thanks to @imanzano for the fix.

Bug Fix:

  • rpoplpush returning incorrect results when source is empty