Migrate to Spring Framework 6.1

MSAL

Migrate applications to the latest Spring Framework 6.1 release.

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

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 Framework 6.0
  2. Upgrade Gradle or Maven dependency versions org.springframework:*:6.1.x
  3. Remove method invocations org.springframework.http.client.SimpleClientHttpRequestFactory setOutputStreaming(boolean)
  4. Add -parameters compiler flag for Spring in Maven
  5. Add -parameters compiler flag for Spring in Gradle