codegenomeproject
Search
MarketplaceModules
PackagesCLIMCP
Sign in
  1. Marketplace
  2. Java
  3. Spring
  4. Migrate to Spring Framework 7.0

Migrate to Spring Framework 7.0

MSAL

Migrate applications to the latest Spring Framework 7.0 release.

org.openrewrite.java.spring.framework.UpgradeSpringFramework_7_0
mod run . --recipe=org.openrewrite.java.spring.framework.UpgradeSpringFramework_7_0

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.

Recipe
  1. Migrate to Spring Framework 6.2
  2. Upgrade Gradle or Maven dependency versions org.springframework:*:7.0.x
  3. Replace constant with another constant
  4. Replace constant with another constant
  5. Change method name org.springframework.test.web.servlet.result.StatusResultMatchers isPayloadTooLarge() to isContentTooLarge
  6. Change method name org.springframework.test.web.servlet.result.StatusResultMatchers isUnprocessableEntity() to isUnprocessableContent
  7. Change method name org.springframework.web.reactive.function.server.ServerResponse.BodyBuilder syncBody(java.lang.Object) to bodyValue
  8. Change method name org.springframework.web.reactive.function.client.WebClient.RequestBodySpec syncBody(java.lang.Object) to bodyValue
  9. JUnit 6 migration from JUnit 5.x
  10. Migrates from Jackson 2.x to Jackson 3.x
  11. Migrate to Spring Kafka 4.0
  12. Migrate from Spring Framework annotations to JSpecify
© Moderne, 2026
Recipe indexPrivacyTerms