This section briefly covers items that are new and noteworthy in the latest releases.
-
Support for
SubscriptionListener
when usingMessageListener
for subscription confirmation callbacks.ReactiveRedisMessageListenerContainer
andReactiveRedisOperations
providereceiveLater(…)
andlistenToLater(…)
methods to await until Redis acknowledges the subscription. -
Support Redis 6.2 commands (
LPOP
/RPOP
withcount
,COPY
,GETEX
,GETDEL
).
-
MappingRedisConverter
no longer converts byte arrays to a collection representation.
-
RedisCache
now exposesCacheStatistics
. -
ACL authentication support for Redis Standalone, Redis Cluster and Master/Replica.
-
Password support for Redis Sentinel using Jedis.
-
Support for
ZREVRANGEBYLEX
andZLEXCOUNT
commands. -
Support for Stream Commands using Jedis.
-
Template API Method Refinements for
Duration
andInstant
. -
Extension of Stream Commands.
-
Refined
union
/diff
/intersect
set-operation methods accepting a single collection of keys. -
Upgrade to Jedis 3.
-
Add support for scripting commands using Jedis Cluster.
-
Unix domain socket connections using Lettuce.
-
Write to Master, read from Replica support using Lettuce.
-
Query by Example integration.
-
@TypeAlias
Support for Redis repositories. -
Cluster-wide
SCAN
using Lettuce andSCAN
on a selected node supported by both drivers. -
Reactive Pub/Sub to send and receive a message stream.
-
BITFIELD
,BITPOS
, andOBJECT
command support. -
Align return types of
BoundZSetOperations
withZSetOperations
. -
Reactive
SCAN
,HSCAN
,SSCAN
, andZSCAN
support. -
Usage of
IsTrue
andIsFalse
keywords in repository query methods.
-
Upgrade to Java 8.
-
Upgrade to Lettuce 5.0.
-
Removed support for SRP and JRedis drivers.
-
Reactive connection support using Lettuce.
-
Introduce Redis feature-specific interfaces for
RedisConnection
. -
Improved
RedisConnectionFactory
configuration withJedisClientConfiguration
andLettuceClientConfiguration
. -
Revised
RedisCache
implementation. -
Add
SPOP
with count command for Redis 3.2.
-
Upgrade to Jedis 2.9.
-
Upgrade to
Lettuce
4.2 (Note: Lettuce 4.2 requires Java 8). -
Support for Redis GEO commands.
-
Support for Geospatial Indexes using Spring Data Repository abstractions (see [redis.repositories.indexes.geospatial]).
-
MappingRedisConverter
-basedHashMapper
implementation (see [redis.hashmappers.root]). -
Support for
PartialUpdate
in repositories (see [redis.repositories.partial-updates]). -
SSL support for connections to Redis cluster.
-
Support for
client name
throughConnectionFactory
when using Jedis.
-
Support for RedisCluster.
-
Support for Spring Data Repository abstractions (see [redis.repositories]).
-
The
Lettuce
Redis driver switched from wg/lettuce to mp911de/lettuce. -
Support for
ZRANGEBYLEX
. -
Enhanced range operations for
ZSET
, including+inf
/-inf
. -
Performance improvements in
RedisCache
, now releasing connections earlier. -
Generic Jackson2
RedisSerializer
making use of Jackson’s polymorphic deserialization.