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:
I 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.mod is set to github.com/gofiber/fiber/v3 v3.0.0
When running without --to:
it migrated to 3.1.0 (latest as of today), which is what I expected from major-target migration too.
Expected result
Either:
--to v3 resolves to the latest 3.x,
- docs/help clearly state that major-only version input resolves to 3.0.0.
Issue description
I found an inconsistency between docs/user expectation and actual
fiber migratebehavior.The official docs mention this migration flow:
https://docs.gofiber.io/whats_new
As a user, when I run:
I 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
Migration from Fiber 2.52.11 to 3.0.0go.modis set togithub.com/gofiber/fiber/v3 v3.0.0When running without
--to:it 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,