Migrate to Spring Framework 7.0
MSALMigrate applications to the latest Spring Framework 7.0 release.
org. openrewrite. java. spring. framework. UpgradeSpringFramework_7_0mod run . --recipe= org. openrewrite. java. spring. framework. UpgradeSpringFramework_7_0Install 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 Framework 6.2
- Upgrade Gradle or Maven dependency versions
org.springframework:*:7.0.x - Replace constant with another constant
- Replace constant with another constant
- Change method name
org.springframework.test.web.servlet.result.StatusResultMatchers isPayloadTooLarge()toisContentTooLarge - Change method name
org.springframework.test.web.servlet.result.StatusResultMatchers isUnprocessableEntity()toisUnprocessableContent - Change method name
org.springframework.web.reactive.function.server.ServerResponse.BodyBuilder syncBody(java.lang.Object)tobodyValue - Change method name
org.springframework.web.reactive.function.client.WebClient.RequestBodySpec syncBody(java.lang.Object)tobodyValue - JUnit 6 migration from JUnit 5.x
- Migrates from Jackson 2.x to Jackson 3.x
- Migrate to Spring Kafka 4.0
- Migrate from Spring Framework annotations to JSpecify