-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
Description
Issue description
I found an inconsistency between docs/user expectation and actual fiber migrate behavior.
The official docs mention this migration flow:
https://docs.gofiber.io/whats_new
As a user, when I run:
fiber migrate --to v3I expect it to migrate to the latest stable 3.x release (best practice for security/patch updates), not to the first 3.0.0 release.
How to reproduce
go install github.com/gofiber/cli/fiber@latest
fiber migrate --to v3- Output:
Migration from Fiber 2.52.11 to 3.0.0 go.modis set togithub.com/gofiber/fiber/v3 v3.0.0
When running without --to:
fiber migrateit migrated to 3.1.0 (latest as of today), which is what I expected from major-target migration too.
Expected result
Either:
--to v3resolves to the latest 3.x,- docs/help clearly state that major-only version input resolves to 3.0.0.
Reactions are currently unavailable