Migrates from Netty 4.1.x to Netty 4.2.x

Apache 2.0

Migrate applications to the latest Netty 4.2.x release.

org.openrewrite.netty.UpgradeNetty_4_1_to_4_2
mod run . --recipe=org.openrewrite.netty.UpgradeNetty_4_1_to_4_2

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. Upgrade Gradle or Maven dependency versions io.netty:*:4.2.x
  2. Change Gradle or Maven dependency io.netty.incubator:netty-incubator-transport-classes-io_uring
  3. Change Gradle or Maven dependency io.netty.incubator:netty-incubator-transport-native-io_uring
  4. Change type IOUring to IoUring
  5. Rename package name io.netty.incubator.channel.uring to io.netty.channel.uring
  6. Replace all EventLoopGroups with MultiThreadIoEventLoopGroup