Migrate to Spring Boot 3.5

MSAL

Migrate applications to the latest Spring Boot 3.5 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs.

org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_5
mod run . --recipe=org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_5

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Migrate to Spring Boot 3.4
  2. Migrate Spring Boot properties to 3.5
  3. Migrate to Spring Cloud 2025
  4. Update Prometheus Pushgateway dependency coordinates
  5. Migrate to Spring Security 6.5
  6. Upgrade Gradle or Maven dependency versions org.springframework.boot:*:3.5.x
  7. Upgrade Gradle or Maven dependency versions org.springframework.boot:spring-boot-dependencies:3.5.x
  8. Upgrade Maven plugin version org.springframework.boot:spring-boot-maven-plugin:3.5.x
  9. Upgrade Maven parent project version to org.springframework.boot:spring-boot-starter-parent:3.5.x
  10. Update a Gradle plugin by id org.springframework.boot