Skip to main content

Migration Guide

Here are some updates that require special consideration regarding frourio and frourio-express.

For changes not listed here, please refer to the Changelog.

v0.31.0 - Consolidate into defineController()


defineHooks() and defineResponseSchema() at controller-level are now deprecated. Please refer to the Routing page to consolidate them into defineController().


To avoid confusion, the old "controller" has renamed to "handler".

v0.31.0 - Support Fastify v4


Fastify v4 is now supported at [email protected]. Later versions of frourio require fastify@4.

frourio-express is not affected by this change.

See also: Fastify V4 Migration Guide - Fastify