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()

frouriofrourio-express

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

note

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

v0.31.0 - Support Fastify v4

frouriofrourio-express

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