Skip to content

Upgrading org.springframework.boot:spring-boot-starter-data-redis 2 to 3

Breaking2.7.18 → 3.5.16Breaking2Deprecated4New20Changed2373Fixed1079Other855

BreakingUpgrade verdict

2 breaking changes.

  • Old HTTP client configuration properties are gone, and the reactive client settings property has a new name.
  • Two starters no longer pull in AOP support automatically, so projects relying on it transitively must add it themselves.
  • The deprecation level of the InfluxDB health property has been adjusted.
  • Adapts the deprecation level for management.health.influxdb.enabled.
Top 5 of 6 that need code or config changes

Installs 39 packages in all (was 34).

Breaking2
Removes the 'spring.http.client' deprecation and renames 'spring.http.reactiveclient.settings' to 'spring.http.reactiveclient'.
spring.http.clientspring.http.reactiveclient.settingsspring.http.reactiveclient
Removes spring-boot-starter-aop dependency from spring-boot-starter-data-jpa and spring-boot-starter-integration.
spring-boot-starter-aopspring-boot-starter-data-jpaspring-boot-starter-integration
Deprecated4
Adapts the deprecation level for management.health.influxdb.enabled.
management.health.influxdb.enabled
Adapts the deprecation level for management.health.influxdb.enabled.
management.health.influxdb.enabled
Deprecates remaining @ControllerEndpoint and @RestControllerEndpoint infrastructure.
@ControllerEndpoint@RestControllerEndpoint
Deprecates remaining @ControllerEndpoint and @RestControllerEndpoint infrastructure.
@ControllerEndpoint@RestControllerEndpoint