Releases: redisson/redisson
redisson-3.21.3
Fixed - default retryInterval isn't applied to RBatch object
Fixed - RBatches no longer respect the default number of retries (regression since 3.21.1)
redisson-3.21.2
Feature - RBitSet.set(long[], boolean)
method added (thanks to @skasj)
Fixed - Pattern Topic messages are missed/duplicated after failover in cluster if channel starts with __keyspace
and __keyevent
and subscriptionMode = SLAVE
Fixed - to many pubsub topics may cause memory leak
Fixed - RBatches no longer respect the default number of retries (regression since 3.21.1)
redisson-3.21.1
Feature - addIfAbsent()
, addIfExists()
, addIfGreater()
, addIfLess()
, addAll()
, addAllIfAbsent()
, addAllIfExist()
, addAllIfGreater()
, addAllIfLess()
methods added to RSetCache
object
Feature - SetAddListener
, SetRemoveListener
, SetRemoveRandomListener
added to RSet
object
Feature - ScoredSortedSetAddListener
, ScoredSortedSetRemoveListener
added to RScoredSortedSet
object
Feature - MapPutListener
, MapRemoveListener
added to RMap
object
Feature - IncrByListener
added to RAtomicDouble
and RAtomicLong
objects
Feature - RMapCache.getAllWithTTLOnly()
method added
Breaking change - RedissonDelayedQueue internal data format changed
Breaking change - RedissonReliableTopic internal data format changed
Improvement - RedissonReliableTopic
internal structure optimization
Fixed - RReliableTopic
data loss
Fixed - failover isn't handled correctly in some cases
Fixed - BatchOptions.retryAttempts = 0
isn't applied to RBatch
object
Fixed - RMap.keySet()
throws NPE if CompositeCodec used
Fixed - RediSearch NumericFilter shouldn't set exclusive range by default
Fixed - RediSearch NumericFilter throws NPE
Fixed - RLocalCachedMap.removeListener()
method doesn't remove loca cache listeners
redisson-3.21.0
Feature - RediSearch module support
Feature - RSetCache
extends RSet
interface
Feature - RSemaphore
and RPermitExpirableSemaphore
objects wait for sync operations completion
Feature - Quarkus 3 support
Feature - LocalCacheUpdateListener
and LocalCacheInvalidateListener
listeners support added to RLocalCachedMap object
Feature - Tracing support
Improvement - RRateLimiter
object uses 128-bit random
Improvement - EVAL script cache applied to RBatch
executed in IN_MEMORY
mode
Improvement - RMap.keySet()
method shouldn't load map values
Improvement - SequentialDnsAddressResolverFactory
default concurrencyLevel set to 6
Fixed - RMapCache.fastPut()
method doesn't clear ttl and idleTime params if entry reinserted after expiration
Fixed - Unable to find session error arise if Tomcat session was deleted or expired
Fixed - MasterSlaveEntry.getClient()
method may throw NPE
Fixed - initialize Decoders LinkedHashMap with correct initial size to avoid unnecessary resizing (thanks @theigl)
Fixed - failover handling may cause temporary connections spike
redisson-3.20.1
Feature - LoadBalancer.getEntry(List<ClientConnectionsEntry>, RedisCommand<?>)
method added
Feature - CommandsLoadBalancer added
Feature - NodeType parameter added to ConnectionListener methods
Improvement - command should be redirected to a master node if slave node returns LOADING error
Fixed - closing idle connections causes connection listener to fire
Fixed - Unable to init enough connections amount!
error
Fixed - no retry attempts are made for None of slaves were synced
error
Fixed - READONLY You can't write against a read only replica..
is thrown after failover in sentinel mode (thanks @alexworkgit)
Fixed - continuously attempts of INFO REPLICATION
command execution until attempts limit reached by RLock object after failover
Fixed - Node hasn't been discovered yet error isn't resolved by a new attempt for RBatch and RLock objects
Fixed - RedisClusterDownException
, RedisLoadingException
, RedisBusyException
, RedisTryAgainException
, RedisWaitException
are thrown by RBatch and RLock objects even if these errors disappeared after new attempts
Fixed - "Unable to init enough connections amount! Only 0 of ... were initialized" error (thanks @alexworkgit)
Fixed - nameMapper
isn't applied to some methods of RSet
and RScoredSortedSet
objects
Fixed - readUnion()
, readDiff()
and readIntersection()
methods of RSet
object don't use Redis slave nodes
redisson-3.20.0
Feature - new Multi cluster mode which supports AWS Redis Global Datastore and Azure Redis Cache active-passive replication
Feature - Proxy mode supports RLEC Active-Active databases
Feature - monitorIPChanges setting added for replicated servers mode
Feature - auto-detection of unavailable master in replicated mode (thanks @nicdard)
Fixed - RLock
can only be obtained by single redisson node if None of slaves were synced
error occurred
Fixed - RSetMultimapReactive.get()
method throws ClassCastException
Fixed - Redisson doesn't start in Spring Boot Native image
Fixed - RedissonClient.shutdown(long, long, TimeUnit)
method isn't overridden by cluster, replicated and sentinel managers
Fixed - Node hasn't been discovered yet error isn't resolved by a new attempt for RBatch and RLock objects
Fixed - RMapCache.addAndGet()
method doesn't handle Long type properly
Fixed - eventLoopGroup
, connectionListener
and executor
settings can't be defined through YAML configuration
Fixed - keySet()
, values()
, entrySet()
methods of RLocalCachedMap
return empty result if storeMode == LOCALCACHE
redisson-3.19.3
Fixed - a new attempt should be made on WAIT error during failover
Fixed - Kryo5Codec fails to (de)serialize Object without no-args constructor (regression since 3.19.2)
redisson-3.19.2
Fixed - RLock
instance can acquire lock with previous leaseTime if it's not specified
Fixed - RMap.computeAsync()
method causes deadlock if MapLoader is defined
Fixed - RBoundedBlockingQueue.offer()
methods always use global codec
Fixed - Spring Boot clientName
setting isn't used
Fixed - connectTimeout
setting is set incorrectly if Spring Boot 2.4.0+
Fixed - command replies don't match if exception is thrown in CommandEncoder
Fixed - empty result of BLMPOP command causes IndexOutOfBoundsException
Fixed - canceled blocking operation isn't interrupted immediately in some cases
Fixed - RStream.read() and RStream.readGroup() methods are hang forever is timeout > 0 and < 1000 milliseconds
Fixed - CacheLoader.loadAll()
method isn't called by JCache.getAll()
method if readThrough=true
Fixed - Kryo5Codec
Serializers don't work in GraalVM native image mode
Fixed - LinkedHashMap
and LinkedHashSet
objects can't be decoded properly by Kryo5Codec
Fixed - NameMapper
isn't applied to RFunction
and RScript
objects
Fixed - RFunction.callAsync()
method called with RBatch
object throws MOVED
errors in Redis cluster mode
Fixed - RFunction.loadAndReplace()
method uses incorrect command parameters
Fixed - codec
, nettyHook
, addressResolverGroupFactory
, connectionListener
settings can't be defined through Quarkus or Helidon config
Fixed - RFunction.load()
method uses incorrect command parameters
Fixed - empty RTopic
message handling (thanks @MooRoakee)
redisson-3.19.1
Feature - containsEach()
method added to RSet object (thanks to @slovvik)
Feature - getPermits()
, acquiredPermits()
, setPermits()
methods added to RPermitExpirableSemaphore
object (thanks to @kscaldef, @derekroller)
Breaking change - Kryo5Codec uses own serializators to serialize UUID, URI and Pattern objects
Fixed - RReliableTopic
doesn't remove all expired subscribers at once
Fixed - RPatternTopic
messages duplication after failover in cluster if channel starts with __keyspace@
and __keyevent@
Fixed - RBatch.getListMultimapCache()
method should return RMultimapCacheAsync
interface
Fixed - SharedPubSub listener isn't being triggered (thanks to @MrChaos1993)
Fixed - RSetCacheRx
and RSetCacheReactive
miss tryAdd()
method
Fixed - RSetRx
and RSetReactive
objects miss tryAdd()
method
Fixed - RBloomFilter
bitset can't be expired and deleted if nameMapper
is used (thanks to @javed119)
Fixed - RMapCacheRx
and RMapCacheReactive
interfaces miss addListener()
method
Fixed - RMapCacheAsync
interface misses addListenerAsync()
method
Fixed - RTopicAsync.addListenerAsync()
method uses wrong generic pattern for MessageListener object
Fixed - RPermitExpirableSemaphore
throws CROSSSLOT error in cluster if nameMapper is used
redisson-3.19.0
Feature - implementation of Spring Cache methods added in Spring 5.2
Feature - entriesRead
and lag
fields added to StreamGroup
object
Feature - added RFencedLock implementation
Feature - credentialsResolver setting added
Breaking change - default codec changed to Kryo5Codec
Fixed - new Redis node isn't discovered between PubSub subscription attempts
Fixed - codec
,nettyHook
,addressResolverGroupFactory
,connectionListener
settings can't be defined through Micronaut config
Fixed - evictions metrics doesn't work for RedissonCache (thanks @nicola Dardanis)
Fixed - PubSub connection isn't reused if it reached subscriptions limit before unsubscribe operation
Fixed - PubSub connection returns to connection pool only if subscriptions limit was reached
Fixed - use slf4j late-binding when logging instead of string concat (thanks @vatarasov)
Fixed - most of pubsub subscriptions fail to resubscribe after failover
Fixed - RBatch
with executionMode = REDIS_WRITE_ATOMIC
throws NPE in case of connection starvation
Fixed - CommandDecoder.messageDecoder()
method throws NPE if RBatch
object used with executionMode = IN_MEMORY
(regression since 3.18.1)
Fixed - some scheduled tasks aren't executed (regression since 3.17.5)
Fixed - RFunction
doesn't pass keys to Redis correctly (thanks @@jordanrmerrick)
Fixed - incorrectly reset jackson type factory (thanks @noelvo)
Fixed - cluster partitions parsing error isn't logged