Migrate to Spring Framework 6.2
MSALMigrate applications to the latest Spring Framework 6.2 release.
org. openrewrite. java. spring. framework. UpgradeSpringFramework_6_2mod run . --recipe= org. openrewrite. java. spring. framework. UpgradeSpringFramework_6_2Install 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.1
- Upgrade Gradle or Maven dependency versions
org.springframework:*:6.2.x - Migrate
org.springframework.util.Base64Utilstojava.util.Base64 - Migrate
HandlerResult.hasExceptionHandler()togetExceptionHandler() - Migrate
org.springframework.web.reactive.HandlerResult.setExceptionHandlermethod - Migrate
MethodArgumentNotValidException.errorsToStringListandresolveErrorMessages - Migrate
ResourceHttpMessageWriter.addHeaders - Migrate deprecated
UriComponentsBuildermethods - Migrate
WebExchangeBindException.resolveErrorMessages - Migrate
setConnectTimeout(int)to ConnectionConfigsetConnectTimeout(..) - Replace constant with another constant
- Replace constant with another constant
- Change method name
org.springframework.web.filter.reactive.ServerWebExchangeContextFilter get(reactor.util.context.Context)togetExchange - Change method name
org.springframework.web.reactive.function.client.support.WebClientAdapter forClient(org.springframework.web.reactive.function.client.WebClient)tocreate - Change type
JettyWebSocketClienttoStandardWebSocketClient - Change type
JettyWebSocketClienttoStandardWebSocketClient