• Fastify/4/Reply Raw Access

    This codemod converts reply.res moved to reply.raw.

  • Fastify/4/Remove App Use

    This codemod removes app.use() and the use of middleware is no longer supported.

  • Fastify/4/Migration Recipe

    This recipe is a set of codemods that will help migrate to Fastify 4.

  • Fastify/4/Wrap Routes Plugin

    This codemod wrap your routes in a plugin

  • Fastify/4/Url Params Optional

    This codemod declares the optional parameters explicitly.

  • Fastify/4/Expose Head Routes

    This codemod makes exposeHeadRoutes true by default

  • Fastify/4/Await Register Calls

    This codemod helps to improve error reporting in route definitions, route registration is now synchronous. As a result, if you specify an onRoute hook in a plugin you should now either: