Skip to content

Latest commit

 

History

History
98 lines (75 loc) · 4.24 KB

new-features.adoc

File metadata and controls

98 lines (75 loc) · 4.24 KB

New & Noteworthy

This section briefly covers items that are new and noteworthy in the latest releases.

New in Spring Data Redis 2.6

  • Support for SubscriptionListener when using MessageListener for subscription confirmation callbacks. ReactiveRedisMessageListenerContainer and ReactiveRedisOperations provide receiveLater(…) and listenToLater(…) methods to await until Redis acknowledges the subscription.

  • Support Redis 6.2 commands (LPOP/RPOP with count, COPY, GETEX, GETDEL, ZPOPMIN, BZPOPMIN, ZPOPMAX, BZPOPMAX, ZMSCORE).

New in Spring Data Redis 2.5

New in Spring Data Redis 2.4

  • RedisCache now exposes CacheStatistics.

  • ACL authentication support for Redis Standalone, Redis Cluster and Master/Replica.

  • Password support for Redis Sentinel using Jedis.

  • Support for ZREVRANGEBYLEX and ZLEXCOUNT commands.

  • Support for Stream Commands using Jedis.

New in Spring Data Redis 2.3

  • Template API Method Refinements for Duration and Instant.

  • Extension of Stream Commands.

New in Spring Data Redis 2.2

  • [redis.streams]

  • 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.

New in Spring Data Redis 2.1

  • 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 and SCAN on a selected node supported by both drivers.

  • Reactive Pub/Sub to send and receive a message stream.

  • BITFIELD, BITPOS, and OBJECT command support.

  • Align return types of BoundZSetOperations with ZSetOperations.

  • Reactive SCAN, HSCAN, SSCAN, and ZSCAN support.

  • Usage of IsTrue and IsFalse keywords in repository query methods.

New in Spring Data Redis 2.0

  • 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 with JedisClientConfiguration and LettuceClientConfiguration.

  • Revised RedisCache implementation.

  • Add SPOP with count command for Redis 3.2.

New in Spring Data Redis 1.8

  • 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-based HashMapper 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 through ConnectionFactory when using Jedis.

New in Spring Data Redis 1.7

New in Spring Data Redis 1.6

  • 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.

New in Spring Data Redis 1.5

  • Add support for Redis HyperLogLog commands: PFADD, PFCOUNT, and PFMERGE.

  • Configurable JavaType lookup for Jackson-based RedisSerializers.

  • PropertySource-based configuration for connecting to Redis Sentinel (see: [redis:sentinel]).