v2.41.0
🚀 New
- Add ShutdownWithTimeout function (#2228)
https://docs.gofiber.io/api/app#server-shutdown - Match function (#2142)
https://pkg.go.dev/github.com/gofiber/fiber/v2#RoutePatternMatch
🧹 Updates
- Latency use lowest time unit in logger middleware (#2261)
- Add more detail error message in serverErrorHandler (#2267)
- Use fasthttp.AddMissingPort (#2268)
- Set byteSent log to 0 when use SetBodyStreamWriter (#2239)
- Unintended overwritten bind variables (#2240)
- Bump github.com/valyala/fasthttp from 1.41.0 to 1.43.0 (#2237, #2245)
- Bump github.com/mattn/go-isatty from 0.0.16 to 0.0.17 (#2279)
🐛 Fixes
- Fix some warnings, go-ole on mac os (#2280)
- Properly handle error of "net.ParseCIDR" in "(*App).handleTrustedProxy" (#2243)
- Fix regex constraints that contain comma (#2256)
- Unintended overwritten bind variables (#2240)
📚 Documentation
- Fix ci badge errors (#2282)
- Replace
1.14
with1.16
in READMEs (#2265) - Update docstring for FormValue() (#2262)
- Added Ukrainian README translation (#2249)
- middleware/requestid: mention that the default UUID generator exposes the number of requests made to the server (#2241)
- middleware/filesystem does not handle url encoded values on it's own (#2247)
Full Changelog: v2.40.1...v2.41.0
Thank you @AngelVI13, @Simerax, @cwinters8, @efectn, @jfcg, @leonklingele, @li-jin-gou, @pjebs, @shuuji3 and @v1def for making this update possible.