Fix full sync offset bug. this bug could cause losing data in reconnection
Support for java 21.
Support for redis 7.2-RC2.
Support for rdb v11.
Add support SCAN
mode to instead of PSYNC
command.
Upgrade slf4j-api
to 2.0.6
.
Upgrade test dependency jedis
to 4.3.1
.
Upgrade example MigrationExample
.
Add cookie to Event.Context
class.
Fix lzf compress bug.
Fix listpack
decoding bug.
Redis 7.0-GA RDB_OPCODE_FUNCTION2
support.
- Deprecate
name
,engineName
,description
properties inFunction
class. - Deprecate
libraryName
,engineName
,description
properties inFunctionLoadCommand
class.
Fix BaseRdbEncoder.rdbSaveLen
bug.
Redis 7.0-RC2 support.
RDB
- Add support for Rdb event
RDB_TYPE_STREAM_LISTPACKS_2
. DumpRdbValueVisitor
support downgradeRDB_TYPE_STREAM_LISTPACKS_2
toRDB_TYPE_STREAM_LISTPACKS
.
AOF
XGROUP CREATE
andSETID
: newENTRIESREAD
optional argument.XSETID
newENTRIESADDED
andMAXDELETEDID
optional arguments.
Convert Timestamp annotations to unix timestamp
.
Jdk 17 support.
Redis 7.0 support.
RDB
- Add support for Rdb event
RDB_OPCODE_FUNCTION
. - Add support for Rdb event
RDB_TYPE_HASH_LISTPACK
. - Add support for Rdb event
RDB_TYPE_ZSET_LISTPACK
. - Add support for Rdb event
RDB_TYPE_LIST_QUICKLIST_2
.
AOF
- Add support for
SPUBLISH
command. - Add support for
FUNCTION LOAD
command. - Add support for
FUNCTION FLUSH
command. - Add support for
FUNCTION DELETE
command. - Add support for
FUNCTION RESTORE
command. - Add support for Timestamp annotations parser.
Bug fix.
Fix ValueIterableEventListener
NPE bug.
Optimize DumpRdbValueVisitor
memory usage.
Fix DumpRdbValueVisitor
lzf compress bug.
DumpRdbValueVisitor
support downgrade from redis 6.2 to 2.8.
Redis 6.2 support.
- Add
PXAT/EXAT
arguments toSET
command. - Add the
CH
,NX
,XX
arguments toGEOADD
. - Add the
COUNT
argument toLPOP
andRPOP
. - Add
SYNC
arg toFLUSHALL
andFLUSHDB
, andASYNC/SYNC
arg toSCRIPT FLUSH
- Add the
MINID
trimming strategy and theLIMIT
argument toXADD
andXTRIM
Fix DumpRdbValueVisitor
OOM bug.
Redis 6.2-rc1 support.
Add command COPY
,LMOVE
,BLMOVE
,ZDIFFSTORE
,GEOSEARCHSTORE
, XGROUP CREATECONSUMER
.
Modify command
ZADD
addGT
,LT
option.XADD
addNOMKSTREAM
option.SET
addGET
option.
External heartbeat scheduled executor support.
Configuration.setScheduledExecutor();
Fix ZPopMinCommand.getKey()
return null
bug.
Fix RedisURI
setAuthUser
bug.
Change default readTimeout
, connectionTimeout
from 30
seconds to 60
seconds.
Fix NPE of Configuration.toString()
.
add ssl support on AsyncRedisReplicator
.
fix issue #38.
Mask auth password.
Redis6 SSL, ACL support.
SetCommand
add keepttl parameter.
Parse PING
command.
Fix RedisCodec
bug.
Add GenericKeyCommand
,GenericKeyValueCommand
.
Add Event
offset.
Fix decode bug.
Fix select bug.
Add ConnectinoListener
.
Fix RedisScoketReplicator.executor
shutdown too early bug.
Support parse dump value.
Fix RedisScoketReplicator.executor
shutdown too early bug.
Fix offset bug.
Support redis-5.0-GA.
Add new command : XSETID
.
Support jdk9, jdk10.
Breaking change: migrate commons-longging-1.2
to slf4j-api-1.8.0-beta2
.
Add new command : ZPOPMAX
, ZPOPMIN
, XACK
, XADD
, XCLAIM
, XDEL
, XGROUP
, XTRIM
.
Change RESTORE
command to RESTORE key ttl serialized [REPLACE] [ABSTTL] [IDLETIME time] [FREQ freq]
.
Support redis-5.0-rc1 STREAM
.
Add ValueIterableRdbListener
to handle huge kv.
Add DefaultCommand
and DefaultCommandParser
to handle raw command.
Add DumpRdbVisitor
and DumpKeyValuePair
to convert rdb to dump
format.
Add new command : EVALSHA
.
Add ReplicatorRetirer
.
Add a new RdbVisitor : SkipRdbVisitor
.
Fix serializable bug.
Fix PSYNC2 bug.
Fix repl-stream-db bug.
Fix ByteArrayMap serialize bug.
Fix multi thread close
bug.
Fix restore
command bug.
Fix Replicator.open
IOException bug.
Add Replicator.getStatus
.
Fix close replicator bug.
Add RedisSocketReplicator.getStatus
.
Add constructor RedisReplicator(String uri)
.
Redis uri support.
Disk-less replication support.
Fix offset bug. only ping heartbeat offset after event consumed.
Add Configuration.rateLimit
.
Add 3 commands.
LTRIM
RPOPLPUSH
SORT
Fix reconnect bug.
Module_2 support.
Add a new RdbVisitor : ValueIterableRdbVisitor
.
API changes :
ModuleParser.parse(RedisInputStream in) -> ModuleParser.parse(RedisInputStream in, int version)
DefaultRdbModuleParser add following methods for module_2:
loadSigned(int version)
loadUnsigned(int version)
loadString(int version)
loadStringBuffer(int version)
loadDouble(int version)
loadFloat(int version)
Raw bytes support.
DefaultRdbModuleParser.loadUnSigned mark deprecated. use DefaultRdbModuleParser.loadUnsigned instead.
Fix compile warning.
Fix javadoc.
Fix log format.
API changes :
Add new commands :
SWAPDB, ZREMRANGEBYLEX, ZREMRANGEBYRANK, ZREMRANGEBYSCORE, MULTI, EXEC.
RPushXCommand value -> values (redis 4.0 compatibility)
LPushXCommand value -> values (redis 4.0 compatibility)
API changes :
RdbVisitor interface -> abstract
Command changes :
ZIncrByCommand.increment int -> double
SetTypeOffsetValue.value int -> long
SetRangeCommand.index int -> long
SetBitCommand.offset int -> long
LSetCommand.index int -> long
LRemCommand.index int -> long
IncrByTypeOffsetIncrement.increment int -> long
IncrByCommand.value int -> long
HIncrByCommand.increment int -> long
DecrByCommand.value int -> long
API changes :
ReplicatorListener.addRdbRawByteListener -> ReplicatorListener.addRawByteListener
ReplicatorListener.removeRdbRawByteListener -> ReplicatorListener.removeRawByteListener
No API changes
2.0.0 Initial commit