Migrate to Spring Boot 3.5

Proprietary

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, and migrate configuration settings that have changes between versions. This recipe will also chain additional framework migrations (Spring Framework, Spring Data, etc) that are required as part of the migration to Spring Boot 3.5.

io.moderne.java.spring.boot3.UpgradeSpringBoot_3_5
mod run . --recipe=io.moderne.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. Migrate to Spring AI 1.1
  5. Update Prometheus Pushgateway dependency coordinates
  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
  11. Sync Gradle ext properties with BOM
  12. Use bean name applicationTaskExecutor instead of taskExecutor
  13. Migrate Spring Boot 3.5 deprecated classes and methods
  14. Migrate MyBatis to Spring Boot 3.5
  15. Migrate to Spring Security 6.5
  16. Upgrade Gradle or Maven dependency versions com.google.cloud:spring-cloud-gcp-*:7.x
  17. Migrate Spring Cloud Azure to 6.x
  18. Migrate Spring Cloud properties to 2025