Fiber 3.7.0
Fiber 3.7.0 landed on November 9, 2026, and it is a wide release rather than a narrow one: a new fasthttp underneath, a binding feature developers have asked for since v2, and a set of security defaults that quietly close the door on symlink tricks. Go developers with a Fiber service in production have real work to do, and most of it is in one place.
⚡ Platform push
The big one is fasthttp 1.78.0, pulled up from 1.75.0 across this cycle. That is not a version bump to ignore: request framing, multipart parsing, redirects and file serving were all hardened, and path normalization, query parsing, header setters and Client.Do got faster. Fiber inherits the fixes and the speed in the same move. If you pinned fasthttp yourself for any reason, check that your pin does not fight the framework.
🧩 Binding boost
Map fields now bind from query strings and form bodies. A struct field of type map[string]T picks up attributes[color]=red and attributes.color=blue as the same key, and nested slices work too.
type Filter struct {
Attributes map[string]string `query:"attributes"`
Tags map[string][]string `query:"tags"`
Limits map[string]int `query:"limits"`
}
That is a small API surface with a large effect on form-heavy admin endpoints, where the old answer was a manual parse pass or a custom binder.
🔒 Lockdown
The static middleware now confines its root by default. Symbolic links that point outside the root, including absolute ones, are treated the same as missing files unless you opt in with AllowSymlinksOutsideRoot. Any application serving uploads or user-generated directories through a symlinked layout needs to check this before ordering an incident review.
Redirect behaviour gets the same treatment. proxy.SecurityPolicy and the Fiber client can now name headers that must be dropped when a redirect crosses an origin or host boundary, through RedirectSensitiveHeaders. It is empty by default, which means the protection exists only if you configure it. Configure it.
🐛 Bug bashes
The fix list is long and mostly unromantic, but three entries solve problems people file issues about for years:
- Optional path parameters no longer swallow a slash. Routes like
/files/:name?had a habit of eating a trailing segment boundary. Linksappends instead of replaces. Adding a singleLinkheader entry used to overwrite whatever was already there, which broke pagination and preload hints.- Host authorization compares by address. Wildcard hosts are matched on the resolved address rather than the spelling, and the port value is bounded rather than its digit count.
Also fixed: cached entries ending correctly on a 401, 403 or 407 revalidation refusal; duplicate cookie names in the encryptcookie middleware; key aliasing plus redirect and SSRF issues in the limiter and proxy combination; and out-of-range integer rejection in generic parsers on 32-bit builds.
🏎️ Performance push
Most of the speed comes from removing allocations rather than new algorithms. ETag checksums moved to slicing-by-8, limiter rate-limit headers are formatted without allocating, the encryptcookie middleware builds its AEAD once per middleware instead of once per cookie, and media type parameter parsing got faster. Empty typed lookups no longer allocate either. Individually these are nanoseconds; on a hot path they are not.
⬆️ Upgrade now, but check four things
Bump to github.com/gofiber/fiber/v3 3.7.0 and run the suite. Then check the static middleware's symlink expectations, any redirect path that forwards API keys, forms that would benefit from map binding, and tests that assert on app.Test responses, since unsized bodies now carry a measured Content-Length and TLS state is served over TLS. Then ship it. This is the release to move to, and the static symlink default alone is worth the afternoon.