Migrate to Spring Boot 3.4
ProprietaryMigrate applications to the latest Spring Boot 3.4 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.4.
io. moderne. java. spring. boot3. UpgradeSpringBoot_3_4mod run . --recipe= io. moderne. java. spring. boot3. UpgradeSpringBoot_3_4Install 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.0
- Migrate to Spring Boot 3.4
- Migrate to Spring Framework 6.2
- Resolve deprecations in Spring Boot 3.3
- Migrate to Reactor 3.5
- Migrate Spring Cloud AWS to Spring Boot 3.4 compatible version
- Upgrade Gradle or Maven dependency versions
com.google.cloud:spring-cloud-gcp-*:6.5.x - Migrate Spring Boot 3.4 deprecated classes and methods
- Migrate
@Endpointsecurity properties to Spring Boot 3.4 - Migrate to Spring Kafka 3.3
- Migrate to Spring Batch 5.2
- Migrate to Hibernate 6.6.x
- Migrate to HtmlUnit 3.x
- Migrate
ConditionalOnAvailableEndpointfor Spring Boot 3.4 - Remove
Replace.NONEfrom@AutoConfigureTestDatabasefor Testcontainers databases - Replace
@MockitoBeanand@MockitoSpyBeanwith@Beanmethods in@Configurationclasses - Comment deprecated methods in Spring Boot 3.4
- Sync Gradle ext properties with BOM
- Migrate Gradle to 7.6.4+ for Spring Boot 3.4
- Migrate Gradle 8 to 8.4+ for Spring Boot 3.4
- Migrate MyBatis to Spring Boot 3.4
- Migrate Spring Cloud properties to 2024