Upgrading org.springframework.boot:spring-boot-starter-data-jpa 2 to 3
Breaking2.7.18 → 3.5.16Breaking2Deprecated4New20Changed2373Fixed1080Other854
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- Two HTTP client configuration properties change: one deprecated property is gone and another is renamed.
- These starters no longer pull in AOP support automatically, so projects relying on it transitively must add it themselves.
- Adapts the deprecation level for management.health.influxdb.enabled.
- Adapts the deprecation level for management.health.influxdb.enabled.
Must act Top 5 of 6 that need code or config changes
Adds org.hibernate.orm:hibernate-core 6.6.53.Final, org.springframework.boot:spring-boot-starter 3.5.16.
Drops jakarta.persistence:jakarta.persistence-api, jakarta.transaction:jakarta.transaction-api, org.hibernate:hibernate-core, org.springframework.boot:spring-boot-starter-aop.
Installs 46 packages in all (was 42).
What you must change
Breaking2
Removes the 'spring.http.client' deprecation and renames 'spring.http.reactiveclient.settings' to 'spring.http.reactiveclient'.
spring.http.clientspring.http.reactiveclient.settingsspring.http.reactiveclientRemoves 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-integrationDeprecations to plan for
Deprecated4
Adapts the deprecation level for management.health.influxdb.enabled.
management.health.influxdb.enabledAdapts the deprecation level for management.health.influxdb.enabled.
management.health.influxdb.enabledDeprecates remaining @ControllerEndpoint and @RestControllerEndpoint infrastructure.
@ControllerEndpoint@RestControllerEndpointDeprecates remaining @ControllerEndpoint and @RestControllerEndpoint infrastructure.
@ControllerEndpoint@RestControllerEndpoint