v2.49.0
❗ Breaking Changes
- Add config to enable splitting by comma in parsers (#2560)
https://docs.gofiber.io/api/fiber#config
EnableSplittingOnParsers splits the query/body/header parameters by comma when it's true (default: false).
For example, you can use it to parse multiple values from a query parameter like this:
/api?foo=bar,baz == foo[]=bar&foo[]=baz
🚀 New
- Add custom data property to favicon middleware config (#2579)
https://docs.gofiber.io/api/middleware/favicon#config
This allows the user to use //go:embed flags to load favicon data during build-time, and supply it to the middleware instead of reading the file every time the application starts.
🧹 Updates
- Middleware/logger: Latency match gin-gonic/gin formatter (#2569)
- Middleware/filesystem: Refactor: use
errors.Is
instead ofos.IsNotExist
(#2558) - Use Global vars instead of local vars for isLocalHost (#2595)
- Remove redundant nil check (#2584)
- Bump github.com/mattn/go-runewidth from 0.0.14 to 0.0.15 (#2551)
- Bump github.com/google/uuid from 1.3.0 to 1.3.1 (#2592)
- Bump golang.org/x/sys from 0.10.0 to 0.11.0 (#2563)
- Add go 1.21 to ci and readmes (#2588)
🐛 Fixes
- Middleware/logger: Default latency output format (#2580)
- Decompress request body when multi Content-Encoding sent on request headers (#2555)
📚 Documentation
- Fix wrong JSON docs (#2554)
- Update io/ioutil package to io package (#2589)
- Replace EG flag with the proper and smaller SVG (#2585)
- Added Egyptian Arabic readme file (#2565)
- Translate README to Portuguese (#2567)
- Improve *fiber.Client section (#2553)
- Improved the config section of the middleware readme´s (#2552)
- Added documentation about ctx Fresh (#2549)
- Update intro.md (#2550)
- Fixed link to slim template engine (#2547)
Full Changelog: v2.48.0...v2.49.0
Thank you @Jictyvoo, @Juneezee, @Kirari04, @LimJiAn, @PassTheMayo, @andersonmiranda-com, @bigpreshy, @efectn, @renanbastos93, @scandar, @sixcolors and @stefanb for making this update possible.