You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/core/whats_new.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,18 @@ We are excited to announce the release of Fiber v3! π
13
13
14
14
In this guide, we'll walk you through the most important changes in Fiber `v3` and show you how to migrate your existing Fiber `v2` applications to Fiber `v3`.
15
15
16
+
### π οΈ Migration tool
17
+
18
+
Fiber v3 introduces a CLI-powered migration helper. Install the CLI and let
19
+
it update your project automatically:
20
+
21
+
```bash
22
+
go install github.com/gofiber/cli/fiber@latest
23
+
fiber migrate --to 3.0.0
24
+
```
25
+
26
+
See the [migration guide](#-migration-guide) for more details and options.
27
+
16
28
Here's a quick overview of the changes in Fiber `v3`:
17
29
18
30
-[π App](#-app)
@@ -1403,6 +1415,20 @@ func main() {
1403
1415
1404
1416
## π Migration guide
1405
1417
1418
+
To streamline upgrades between Fiber versions, the Fiber CLI ships with a
1419
+
`migrate` command:
1420
+
1421
+
```bash
1422
+
go install github.com/gofiber/cli/fiber@latest
1423
+
fiber migrate --to 3.0.0
1424
+
```
1425
+
1426
+
### Options
1427
+
1428
+
-`-t, --to string` migrate to a specific version, e.g. `3.0.0`
1429
+
-`-f, --force` force migration even if already on that version
1430
+
-`-s, --skip_go_mod` skip running `go mod tidy`, `go mod download`, and `go mod vendor`
0 commit comments