-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #138 from frouriojs/feature/133_fastify_v4
#133 Migration Guide を追加
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
id: migration | ||
title: 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](/changelog). | ||
|
||
## v0.31.0 - Consolidate into `defineController()` {#v0.31.0-define-controller} | ||
|
||
<p> | ||
<span className="badge badge--primary margin-right--sm">frourio</span> | ||
<span className="badge badge--primary">frourio-express</span> | ||
</p> | ||
|
||
`defineHooks()` and `defineResponseSchema()` at controller-level are now deprecated. | ||
Please refer to the [Routing page](/docs/reference/routing) to consolidate them into `defineController()`. | ||
|
||
:::note | ||
|
||
To avoid confusion, the old "controller" has renamed to "handler". | ||
|
||
::: | ||
|
||
## v0.31.0 - Support Fastify v4 {#v0.31.0-support-fastify-v4} | ||
|
||
<p> | ||
<span className="badge badge--primary margin-right--sm">frourio</span> | ||
<span className="badge badge--secondary">frourio-express</span> | ||
</p> | ||
|
||
Fastify v4 is now supported at `frourio@0.31.0`. | ||
Later versions of `frourio` require `fastify@4`. | ||
|
||
`frourio-express` is not affected by this change. | ||
|
||
See also: [Fastify V4 Migration Guide - Fastify](https://www.fastify.io/docs/latest/Guides/Migration-Guide-V4/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d13186c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
frourio-com – ./
frourio-com.vercel.app
frourio-com-solufa.vercel.app
frourio-com-git-master-solufa.vercel.app