Releases: fppt/jedis-mock
Releases Β· fppt/jedis-mock
1.1.6
1.1.5
1.1.4
1.1.3
π New feature
π New commands support
COPY
MOVE
EXPIRETIME
PEXPIRETIME
π Bugfixes
XX
,NX
,LT
,GT
options inEXPIRE
andPEXPIRE
are now supported.KEEPTTL
option inSET
is now supported.- Any expiration time value set in
SET ... EX
,SETEX
andEXPIRE
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
andexpire
native test set.
πΌ Maintenance
- Updated dependencies
1.1.2
π Bugfix
- #480 Non-integer scores in
zset
get rounded to integer inzrange withscores
- Thread leak if a large number of
RedisServer
instances is being created and stopped.
π Enhancement
- #475
RedisServer
now hasisRunning()
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
π Bugfixes
Streams
- #452
XADD
does not unblockXREAD
with BLOCK > 0
Transactions
FLUSHALL
must be queued insideMULTI
-EXEC
transactionFLUSHALL
must notify all theWAIT
-monitored keysMULTI
andWAIT
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
π 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 returnQUEUED
instead ofOK
.
πΌ Maintenance
Dependencies are updated
Thanks to @1BAH for development of streams functionality for Jedis-Mock!
1.0.13
π 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
1.0.12
π 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
- Thanks @mikemole, @SHildebrandt, and @ngophuhung96 for reporting the issues.
- Thanks @Alex286756 and @1BAH for their code contributions.
1.0.11
π New features
GETDEL
command support (thanks @Andrewsoares15)
π Bugfixes
- #354 Unable to put data into Redis hash with Redisson client