org.springframework.data:spring-data-redis breaking changes
org.springframework.data:spring-data-redis 4.0.0 (November 14, 2025) is its newest release with breaking changes, 50 of them. The first: Removed org.springframework.data.redis.cache.RedisCacheConfiguration.getTtl. Every breaking API change we have recorded in org.springframework.data:spring-data-redis on Maven Central: 425 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.2.0. Source repository
Packages on Maven Central run on Java. Java end of life dates.
org.springframework.data:spring-data-redis 4.0.0 breaking changes
- Removed
org.springframework.data.redis.cache.RedisCacheConfiguration.getTtl
RedisCacheConfiguration.getTtl was removed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Removed
org.springframework.data.redis.connection.lettuce.observability.LettuceObservationContext
org.springframework.data.redis.connection.lettuce.observability.LettuceObservationContext was removed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Removed
org.springframework.data.redis.connection.lettuce.observability.RedisObservation
org.springframework.data.redis.connection.lettuce.observability.RedisObservation was removed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Removed
org.springframework.data.redis.core.BoundSetOperations.diff
BoundSetOperations.diff was removed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Removed
org.springframework.data.redis.core.mapping.BasicRedisPersistentEntity.hasExplictTimeToLiveProperty
BasicRedisPersistentEntity.hasExplictTimeToLiveProperty was removed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Removed
org.springframework.data.redis.core.mapping.RedisPersistentEntity.hasExplictTimeToLiveProperty
RedisPersistentEntity.hasExplictTimeToLiveProperty was removed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Removed
org.springframework.data.redis.core.ScanIteration.getCursorId
ScanIteration.getCursorId was removed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Removed
org.springframework.data.redis.util.ByteUtils.extractBytes
ByteUtils.extractBytes was removed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Removed
org.springframework.data.redis.util.RedisAssertions
org.springframework.data.redis.util.RedisAssertions was removed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.cache.RedisCacheManager.<init>
The signature of RedisCacheManager.<init> changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.connection.convert.Converters.toBoolean
Was static Boolean toBoolean(Long); now static boolean toBoolean(Long). central.sonatype.com - Signature changed
org.springframework.data.redis.connection.convert.Converters.toTimeMillis
Was static Long toTimeMillis(String, String) static Long toTimeMillis(String, String, java.util.concurrent.TimeUnit); now static long toTimeMillis(String, String) static long toTimeMillis(String, String, java.util.concurrent.TimeUnit). central.sonatype.com - Signature changed
org.springframework.data.redis.connection.jedis.JedisClusterConnection.JedisClusterTopologyProvider.shouldUseCachedValue
The signature of org.springframework.data.redis.connection.jedis.JedisClusterConnection.JedisClusterTopologyProvider.shouldUseCachedValue changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.connection.jedis.JedisExceptionConverter
Was class JedisExceptionConverter implements org.springframework.core.convert.converter.Converter<Exception, org.springframework.dao.DataAccessException>; now class JedisExceptionConverter implements... central.sonatype.com - Signature changed
org.springframework.data.redis.connection.lettuce.LettuceConverters.toBoolean
Was static Boolean toBoolean(Long); now static boolean toBoolean(Long). central.sonatype.com - Signature changed
org.springframework.data.redis.connection.lettuce.LettuceConverters.toBytesList
The signature of LettuceConverters.toBytesList changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.connection.lettuce.LettuceConverters.toTimeMillis
Was static Long toTimeMillis(String, String) static Long toTimeMillis(String, String, java.util.concurrent.TimeUnit); now static long toTimeMillis(String, String) static long toTimeMillis(String, String, java.util.concurrent.TimeUnit). central.sonatype.com - Signature changed
org.springframework.data.redis.connection.lettuce.LettuceExceptionConverter
Was class LettuceExceptionConverter implements org.springframework.core.convert.converter.Converter<Exception, org.springframework.dao.DataAccessException>; now class LettuceExceptionConverter implements... central.sonatype.com - Signature changed
org.springframework.data.redis.connection.RedisClusterConfiguration.<init>
The signature of RedisClusterConfiguration.<init> changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.connection.RedisSentinelConfiguration.<init>
The signature of RedisSentinelConfiguration.<init> changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.core.BoundZSetOperations.lexCount
The signature of BoundZSetOperations.lexCount changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.core.BoundZSetOperations.rangeByLex
The signature of BoundZSetOperations.rangeByLex changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.core.BoundZSetOperations.removeRangeByLex
The signature of BoundZSetOperations.removeRangeByLex changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.core.BoundZSetOperations.reverseRangeByLex
The signature of BoundZSetOperations.reverseRangeByLex changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.core.convert.IndexResolver.resolveIndexesFor
Was java.util.Set<org.springframework.data.redis.core.convert.IndexedData> resolveIndexesFor(String, String, org.springframework.data.util.TypeInformation<?>, Object) java.util.Set<org.springframework.data.redis.core.convert.IndexedData>... central.sonatype.com - Signature changed
org.springframework.data.redis.core.index.IndexDefinition.IndexingContext.<init>
Was IndexingContext(String, String, org.springframework.data.util.TypeInformation<?>); now IndexingContext(String, String, org.springframework.data.core.TypeInformation<?>). central.sonatype.com - Signature changed
org.springframework.data.redis.core.index.IndexDefinition.IndexingContext.getTypeInformation
Was org.springframework.data.util.TypeInformation<?> getTypeInformation(); now org.springframework.data.core.TypeInformation<?> getTypeInformation(). central.sonatype.com - Signature changed
org.springframework.data.redis.core.KeyBoundCursor.doOpen
The signature of KeyBoundCursor.doOpen changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.core.KeyBoundCursor.isFinished
The signature of KeyBoundCursor.isFinished changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.core.mapping.BasicRedisPersistentEntity.<init>
Was BasicRedisPersistentEntity(org.springframework.data.util.TypeInformation<T>, org.springframework.data.keyvalue.core.mapping.KeySpaceResolver, org.springframework.data.redis.core.TimeToLiveAccessor); now... central.sonatype.com - Signature changed
org.springframework.data.redis.core.mapping.RedisMappingContext.createPersistentEntity
Was protected <T> org.springframework.data.redis.core.mapping.RedisPersistentEntity<T> createPersistentEntity(org.springframework.data.util.TypeInformation<T>); now protected <T>... central.sonatype.com - Signature changed
org.springframework.data.redis.core.RedisKeyValueAdapter.getAllOf
Was <T> Iterable<T> getAllOf(String, Class<T>) java.util.List<?> getAllOf(String); now <T> java.util.List<T> getAllOf(String, Class<T>) java.util.List<Object> getAllOf(String). central.sonatype.com - Signature changed
org.springframework.data.redis.core.ScanCursor.doOpen
The signature of ScanCursor.doOpen changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.core.ScanCursor.isFinished
The signature of ScanCursor.isFinished changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.core.ScanIteration.<init>
The signature of ScanIteration.<init> changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.core.ZSetOperations.lexCount
The signature of ZSetOperations.lexCount changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.core.ZSetOperations.rangeByLex
The signature of ZSetOperations.rangeByLex changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.core.ZSetOperations.removeRangeByLex
The signature of ZSetOperations.removeRangeByLex changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.core.ZSetOperations.reverseRangeByLex
The signature of ZSetOperations.reverseRangeByLex changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.repository.query.RedisPartTreeQuery.<init>
Was RedisPartTreeQuery(org.springframework.data.repository.query.QueryMethod, org.springframework.data.repository.query.QueryMethodEvaluationContextProvider, org.springframework.data.keyvalue.core.KeyValueOperations, Class<? extends... central.sonatype.com - Signature changed
org.springframework.data.redis.serializer.GenericJackson2JsonRedisSerializer.<init>
Was GenericJackson2JsonRedisSerializer(String, org.springframework.data.redis.serializer.JacksonObjectReader, org.springframework.data.redis.serializer.JacksonObjectWriter)... central.sonatype.com - Signature changed
org.springframework.data.redis.serializer.GenericJackson2JsonRedisSerializer.GenericJackson2JsonRedisSerializerBuilder.reader
Was org.springframework.data.redis.serializer.GenericJackson2JsonRedisSerializer.GenericJackson2JsonRedisSerializerBuilder reader(org.springframework.data.redis.serializer.JacksonObjectReader); now... central.sonatype.com - Signature changed
org.springframework.data.redis.serializer.GenericJackson2JsonRedisSerializer.GenericJackson2JsonRedisSerializerBuilder.writer
Was org.springframework.data.redis.serializer.GenericJackson2JsonRedisSerializer.GenericJackson2JsonRedisSerializerBuilder writer(org.springframework.data.redis.serializer.JacksonObjectWriter); now... central.sonatype.com - Signature changed
org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer.<init>
Was Jackson2JsonRedisSerializer(com.fasterxml.jackson.databind.ObjectMapper, com.fasterxml.jackson.databind.JavaType, org.springframework.data.redis.serializer.JacksonObjectReader... central.sonatype.com - Signature changed
org.springframework.data.redis.serializer.JacksonObjectReader.read
Was Object read(com.fasterxml.jackson.databind.ObjectMapper, byte[], com.fasterxml.jackson.databind.JavaType); now Object read(tools.jackson.databind.ObjectMapper, byte[], tools.jackson.databind.JavaType). central.sonatype.com - Signature changed
org.springframework.data.redis.serializer.JacksonObjectWriter.write
Was byte[] write(com.fasterxml.jackson.databind.ObjectMapper, Object); now byte[] write(tools.jackson.databind.ObjectMapper, Object). central.sonatype.com - Signature changed
org.springframework.data.redis.support.collections.DefaultRedisZSet.rangeByLex
The signature of DefaultRedisZSet.rangeByLex changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.support.collections.DefaultRedisZSet.reverseRangeByLex
The signature of DefaultRedisZSet.reverseRangeByLex changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.support.collections.RedisZSet.rangeByLex
The signature of RedisZSet.rangeByLex changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com - Signature changed
org.springframework.data.redis.support.collections.RedisZSet.reverseRangeByLex
The signature of RedisZSet.reverseRangeByLex changed in org.springframework.data:spring-data-redis 4.0.0 central.sonatype.com
org.springframework.data:spring-data-redis 4.0.0-RC1 breaking changes
- Renamed
The classes named Jackson3... are renamed to Jackson names, so imports of the old class names must be updated. github.com
org.springframework.data:spring-data-redis 4.0.0-M6 breaking changes
- Behavior changed
StringRedisTemplate
Callbacks passed to StringRedisTemplate now receive the plain RedisConnection, so code that expects a StringRedisConnection there must change. github.com
org.springframework.data:spring-data-redis 4.0.0-M1 breaking changes
- Removed
org.springframework.data.redis.connection.lettuce.observability.MicrometerTracingAdapter
Use Lettuce's built-in Micrometer support instead of MicrometerTracingAdapter, which is no longer available. central.sonatype.com
org.springframework.data:spring-data-redis 3.0.0 breaking changes
- Removed
org.springframework.data.redis.cache.RedisCacheConfiguration.getKeyPrefix
RedisCacheConfiguration.getKeyPrefix was removed in org.springframework.data:spring-data-redis 3.0.0 central.sonatype.com - Removed
org.springframework.data.redis.cache.RedisCacheConfiguration.prefixKeysWith
RedisCacheConfiguration.prefixKeysWith was removed in org.springframework.data:spring-data-redis 3.0.0 central.sonatype.com - Removed
org.springframework.data.redis.connection.AbstractRedisConnection.bgWriteAof
AbstractRedisConnection.bgWriteAof was removed in org.springframework.data:spring-data-redis 3.0.0 central.sonatype.com - Removed
org.springframework.data.redis.connection.AbstractRedisConnection.slaveOfNoOne
AbstractRedisConnection.slaveOfNoOne was removed in org.springframework.data:spring-data-redis 3.0.0 central.sonatype.com - Removed
org.springframework.data.redis.connection.ClusterCommandExecutionFailureException.getCauses
ClusterCommandExecutionFailureException.getCauses was removed in org.springframework.data:spring-data-redis 3.0.0 central.sonatype.com - Removed
org.springframework.data.redis.connection.DefaultedRedisClusterConnection.clusterGetMasterSlaveMap
DefaultedRedisClusterConnection.clusterGetMasterSlaveMap was removed in org.springframework.data:spring-data-redis 3.0.0 central.sonatype.com - Removed
org.springframework.data.redis.connection.DefaultedRedisConnection.close
DefaultedRedisConnection.close was removed in org.springframework.data:spring-data-redis 3.0.0 central.sonatype.com - Removed
org.springframework.data.redis.connection.DefaultedRedisConnection.closePipeline
DefaultedRedisConnection.closePipeline was removed in org.springframework.data:spring-data-redis 3.0.0 central.sonatype.com - Removed
org.springframework.data.redis.connection.DefaultedRedisConnection.getNativeConnection
DefaultedRedisConnection.getNativeConnection was removed in org.springframework.data:spring-data-redis 3.0.0 central.sonatype.com - Removed
org.springframework.data.redis.connection.DefaultedRedisConnection.getSentinelConnection
DefaultedRedisConnection.getSentinelConnection was removed in org.springframework.data:spring-data-redis 3.0.0 central.sonatype.com
And 359 more in this version. Sign up to see every change
org.springframework.data:spring-data-redis 3.0.0-M6 breaking changes
- Behavior changed
GenericJackson2JsonRedisSerializer
The serializer's output changed in a non-back-compatible manner, so data written by earlier versions may not read back the same way. github.com
Older versions
1 older version.
Show 1 older version
org.springframework.data:spring-data-redis 3.0.0-M2 breaking changes
- Removed
Long-deprecated Spring Data Redis API was removed and parts of the API were refined; code using the old methods must move to their replacements. github.com - Renamed
org.springframework.data.redis.core.RedisOperations.slaveOf
RedisOperations::slaveOf is deprecated and should no longer be used. central.sonatype.com
Related packages
- org.springframework.data:spring-data-commons
- org.springframework.data:spring-data-jpa
- org.springframework.data:spring-data-mongodb
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.