๐ New
- Add URL() method to Route for generating URLs with parameters (#4195)
https://docs.gofiber.io/api/app#getroute - Add comprehensive tests for binding to pointer scalar types (#4191)
- Add response format support to healthcheck middleware (#4178)
https://docs.gofiber.io/middleware/healthcheck#config - Route Domain() func for host-based routing (#4100)
- Add pagination middleware (#4127)
https://docs.gofiber.io/middleware/paginate - Add BindError type with source and field metadata (#4120)
https://docs.gofiber.io/api/bind#binderror - Add PanicHandler in recover middleware (#4110)
https://docs.gofiber.io/middleware/recover#config
๐งน Updates
- Optimize speed (#4231)
- Remove duplicate benchmark handling and update benchmark action version (#4108)
๐ Fixes
- Fix race condition in TestTimeout_ContextPropagation (#4119)
- Fix ARMv7 build overflow in etag middleware (#4190)
- Fix HTML escaping in AutoFormat (#4228)
- Structured default cache keys, and controls (#4224)
- Enforce BodyLimit on request decompression and multipart form parsing (#4213)
- Implement releaseData function for better resource management (#4209)
- Strip path from referer before matching trusted origins (#4204)
- Improve clarity for ProxyHeader and TrustProxy configuration (#4140)
- Prefork children exit immediately in Docker containers (#4133)
- Fix math.MaxUint32 overflow in etag middleware on 32-bit platforms (#4135)
- Add nil checks to
End()to prevent panic in streaming mode (#4128) - Custom binders bypass StructValidator in Body() and Custom() (#4124)
๐ ๏ธ Maintenance
43 changes
- bump actions/setup-go from 6.2.0 to 6.3.0 (#4114)
- bump golang.org/x/net from 0.50.0 to 0.51.0 in the golang-modules group (#4113)
- bump github.com/gofiber/schema from 1.7.0 to 1.7.1 (#4220)
- bump actions/setup-node from 6.3.0 to 6.4.0 (#4222)
- bump dependabot/fetch-metadata from 3.0.0 to 3.1.0 (#4221)
- bump github.com/tinylib/msgp from 1.6.3 to 1.6.4 (#4215)
- bump github/codeql-action from 4.35.1 to 4.35.2 (#4216)
- bump actions/cache from 5.0.4 to 5.0.5 (#4214)
- bump actions/github-script from 8.0.0 to 9.0.0 (#4207)
- bump release-drafter/release-drafter from 7.1.1 to 7.2.0 (#4206)
- bump the golang-modules group with 2 updates (#4205)
- bump github.com/mattn/go-isatty from 0.0.20 to 0.0.21 (#4203)
- bump golang.org/x/text from 0.35.0 to 0.36.0 in the golang-modules group (#4202)
- bump golang.org/x/sys from 0.42.0 to 0.43.0 in the golang-modules group (#4201)
- bump github.com/valyala/fasthttp from 1.69.0 to 1.70.0 in the fasthttp-modules group across 1 directory (#4197)
- bump lewagon/wait-on-check-action from 1.6.0 to 1.6.1 (#4198)
- bump streetsidesoftware/cspell-action from 8.3.0 to 8.4.0 (#4188)
- bump github.com/andybalholm/brotli from 1.2.0 to 1.2.1 (#4174)
- bump benchmark-action/github-action-benchmark from 1.21.0 to 1.22.0 (#4172)
- bump actions/setup-go from 6.3.0 to 6.4.0 (#4170)
- bump lewagon/wait-on-check-action from 1.5.0 to 1.6.0 (#4171)
- bump github/codeql-action from 4.35.0 to 4.35.1 (#4169)
- bump dependabot/fetch-metadata from 2.5.0 to 3.0.0 (#4165)
- bump codecov/codecov-action from 5.5.3 to 6.0.0 (#4166)
- bump github/codeql-action from 4.34.1 to 4.35.0 (#4164)
- bump DavidAnson/markdownlint-cli2-action from 22.0.0 to 23.0.0 (#4161)
- bump github.com/klauspost/compress from 1.18.4 to 1.18.5 (#4158)
- bump github/codeql-action from 4.34.0 to 4.34.1 (#4159)
- bump github/codeql-action from 4.33.0 to 4.34.0 (#4156)
- bump codecov/codecov-action from 5.5.2 to 5.5.3 (#4153)
- bump release-drafter/release-drafter from 7.1.0 to 7.1.1 (#4152)
- bump actions/cache from 5.0.3 to 5.0.4 (#4151)
- bump release-drafter/release-drafter from 7.0.0 to 7.1.0 (#4147)
- bump release-drafter/release-drafter from 6.4.0 to 7.0.0 (#4142)
- bump github/codeql-action from 4.32.6 to 4.33.0 (#4141)
- bump the golang-modules group with 3 updates (#4138)
- bump golang.org/x/sys from 0.41.0 to 0.42.0 in the golang-modules group (#4136)
- bump release-drafter/release-drafter from 6.3.0 to 6.4.0 (#4137)
- bump github/codeql-action from 4.32.5 to 4.32.6 (#4131)
- bump release-drafter/release-drafter from 6.2.0 to 6.3.0 (#4130)
- bump actions/setup-node from 6.2.0 to 6.3.0 (#4129)
- bump benchmark-action/github-action-benchmark from 1.20.7 to 1.21.0 (#4126)
- bump github/codeql-action from 4.32.4 to 4.32.5 (#4123)
๐ Documentation
- Key Value Expectation Notice (KeyAuth Middleware) (#4183)
- Document array query parameter formats for Query binder (#4116)
๐ Documentation: https://docs.gofiber.io/next/
๐ฌ Discord: https://gofiber.io/discord
Full Changelog: v3.1.0...v3.2.0
Thank you @JonasDoe, @ReneWerner87, @adrian-lin-1-0-0, @aviu16, @gaby, @ha-sante, @loderunner, @meruiden, @mutantkeyboard and @sixcolors for making this release possible.