Migrate to Spring Boot 3.4

Proprietary

Migrate 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_4
mod run . --recipe=io.moderne.java.spring.boot3.UpgradeSpringBoot_3_4

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.0
  2. Migrate to Spring Boot 3.4
  3. Migrate to Spring Framework 6.2
  4. Resolve deprecations in Spring Boot 3.3
  5. Migrate to Reactor 3.5
  6. Migrate Spring Cloud AWS to Spring Boot 3.4 compatible version
  7. Upgrade Gradle or Maven dependency versions com.google.cloud:spring-cloud-gcp-*:6.5.x
  8. Migrate Spring Boot 3.4 deprecated classes and methods
  9. Migrate @Endpoint security properties to Spring Boot 3.4
  10. Migrate to Spring Kafka 3.3
  11. Migrate to Spring Batch 5.2
  12. Migrate to Hibernate 6.6.x
  13. Migrate to HtmlUnit 3.x
  14. Migrate ConditionalOnAvailableEndpoint for Spring Boot 3.4
  15. Remove Replace.NONE from @AutoConfigureTestDatabase for Testcontainers databases
  16. Replace @MockitoBean and @MockitoSpyBean with @Bean methods in @Configuration classes
  17. Comment deprecated methods in Spring Boot 3.4
  18. Sync Gradle ext properties with BOM
  19. Migrate Gradle to 7.6.4+ for Spring Boot 3.4
  20. Migrate Gradle 8 to 8.4+ for Spring Boot 3.4
  21. Migrate MyBatis to Spring Boot 3.4
  22. Migrate Spring Cloud properties to 2024