Releases: fppt/jedis-mock
Releases · fppt/jedis-mock
1.0.5
1.0.5
🐞 Bug fix
#270 Support count parameter for LPOP and RPOP (thanks, @bluecontainer!)
💼 Maintenance
Dependencies updates
1.0.4
1.0.4
🐞 Bug fix
#263 Fix handling of curly braces in KEYS (thanks, @dev-hanz-ops!)
💼 Maintenance
Dependencies updates
1.0.3
🚀 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
🚀 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
1.0.0
🥳 🍾 This is a major release made as a result of a semester work of the following nice people (in alphabetic order):
- @aleksandr1101,
- @gogagum,
- @Julia-st96,
- @pekashy
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
andPUNSUBSCRIBE
(#26)PUBSUB CHANNELS
PUBSUB NUMPAT
PERSIST
(#53)WATCH
andUNWATCH
(#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
Extended parameters for SET
method supported
SET EX|PX NX|XX
(fix #91)
Release 0.1.22
Release 0.1.21
Bug fix
- #135 RedisClient not closed when user forgot to
quit
Release 0.1.20
Bug fixes
- #121
flushall
doesn't clear all the databases - #122
keys
andscan
don't take into account key expirations
New methods supported
zrevrangebylex
(thanks @checkpoint20!)hscan