Migrate Vert.x core APIs removed in Vert.x 4 and 5
ProprietaryRenames and moves the Vert.x core methods that Vert.x 4 and 5 removed in favour of a direct replacement: Future.setHandler(..) becomes onComplete(..), CompositeFuture.all(..), any(..) and join(..) move to Future, and the key and trust store setters of the TCP options become setKeyCertOptions(..) and setTrustOptions(..), the Websocket methods of the HTTP server become WebSocket methods, DeploymentOptions.setWorker(..) becomes setThreadingModel(..), Pump becomes pipe(), JWTAuth.create(..) takes JWTAuthOptions and the MongoClient methods Vert.x 4 renamed, such as update(..) and removeOne(..), get their new names.
io. moderne. vertx. MigrateVertxCoreApismod run . --recipe= io. moderne. vertx. MigrateVertxCoreApisInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.