Skip to content

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

Breaking2.7.18 → 3.5.16Breaking3Deprecated3New23Changed2367Fixed1083Other853

BreakingUpgrade verdict

3 breaking changes.

  • The old spring.http.client properties are gone, and the reactive client settings properties moved to a new prefix.
  • Projects relying on AOP support transitively from these starters must now add the AOP starter themselves.
  • A configuration method that was public is no longer public, so code calling it directly will not compile.
  • Adapts the deprecation level for management.health.influxdb.enabled.
Top 5 of 6 that need code or config changes

Installs 21 packages in all (was 19).

Breaking3
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
Makes DefaultJmsListenerContainerFactoryConfigurer#setObservationRegistry non-public.
DefaultJmsListenerContainerFactoryConfigurer#setObservationRegistry
Deprecated3
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