Migrate to Spring Boot 3.5
ProprietaryMigrate 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_5mod run . --recipe= io. moderne. java. spring. boot3. UpgradeSpringBoot_3_5Install 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.
- Migrate to Spring Boot 3.4
- Migrate Spring Boot properties to 3.5
- Migrate to Spring Cloud 2025
- Migrate to Spring AI 1.1
- Update Prometheus Pushgateway dependency coordinates
- Upgrade Gradle or Maven dependency versions
org.springframework.boot:*:3.5.x - Upgrade Gradle or Maven dependency versions
org.springframework.boot:spring-boot-dependencies:3.5.x - Upgrade Maven plugin version
org.springframework.boot:spring-boot-maven-plugin:3.5.x - Upgrade Maven parent project version to
org.springframework.boot:spring-boot-starter-parent:3.5.x - Update a Gradle plugin by id
org.springframework.boot - Sync Gradle ext properties with BOM
- Use bean name
applicationTaskExecutorinstead oftaskExecutor - Migrate Spring Boot 3.5 deprecated classes and methods
- Migrate MyBatis to Spring Boot 3.5
- Migrate to Spring Security 6.5
- Upgrade Gradle or Maven dependency versions
com.google.cloud:spring-cloud-gcp-*:7.x - Migrate Spring Cloud Azure to 6.x
- Migrate Spring Cloud properties to 2025