Skip to content

feat: fiber migration v2 -> v3#1837

Open
niksis02 wants to merge 2 commits intomainfrom
sis/fiber-mgration-v2-
Open

feat: fiber migration v2 -> v3#1837
niksis02 wants to merge 2 commits intomainfrom
sis/fiber-mgration-v2-

Conversation

@niksis02
Copy link
Copy Markdown
Contributor

Fiber has released a new major version, v3.0.0, introducing several breaking changes. As part of the gateway migration from Fiber v2 to v3, the filesystem middleware has been deprecated and replaced with the static middleware for serving web assets. Currently, Fiber’s static middleware contains a bug in how it resolves the filesystem root path. Because of this, fs.Sub is used to set the embedded web directory as the effective root of the filesystem.

Updates the go version from `1.24.1 -> 1.25.7`. It's good to stay up to date with the latest go versions(`1.25.7`, latest stable). It's necessary for fiber `v3` upgrade. Fiber `v3` requires go version `1.25+`.
@niksis02 niksis02 self-assigned this Feb 11, 2026
@niksis02 niksis02 force-pushed the sis/fiber-mgration-v2- branch from 158cbdc to 8dcb7ba Compare February 11, 2026 12:16
Fiber has released a new major version, **v3.0.0**, introducing several breaking changes. As part of the gateway migration from Fiber v2 to v3, the `filesystem` middleware has been deprecated and replaced with the `static` middleware for serving web assets. Currently, Fiber’s `static` middleware contains a bug in how it resolves the filesystem root path. Because of this, `fs.Sub` is used to set the embedded `web` directory as the effective root of the filesystem.
@niksis02 niksis02 force-pushed the sis/fiber-mgration-v2- branch from 8dcb7ba to 2b7c2e2 Compare February 11, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant