Releases: gofiber/fiber
v2.18.0
🚀 New
- Add encrypt cookies middleware (#1343)
https://docs.gofiber.io/api/middleware/encryptcookie - Add JSONDecoder to config (#1489)
🧹 Updates
- Session should not regenerate the ID in case Get() returned nil (#1493)
- Improve startup message tests (#1504)
- Update fasthttp from v1.26 to v1.29 (#1503)
- Add test run for go1.17 (#1501)
🐛 Fixes
- panic: unaligned 64-bit atomic operation [32 bit machines] #1487 (#1502)
- ctx.BodyParser was not able to parse vendor specific content type (#1506)
Thank you @amir9480, @natebwangsut, @pd-pranay and @shirshendubhowmick for making this update possible.
v2.17.0
🚀 New
- Feature: Add Skip middleware (#1465)
https://docs.gofiber.io/api/middleware/skip - [Logger]: Add tag for response header (#1446)
🧹 Updates
- Refactor: Remove use of deprecated functions (#1474)
🐛 Fixes
- Fix
route.Path
on copy (#1471) - Fix: Fiber Client does multiple requests when using Timeout() and MaxRedirectsCount() #1457 (#1464)
📚 Documentation
Thank you @ProExpertProg, @andrascz, @goldwind-ting, @pcen, @pd-pranay and @thinklucrative for making this update possible.
v2.16.0
🚀 New
- Add ability to specify default value for ParamsInt (#1453)
- Logger: Add ${port} variable (#1448)
- Cookie: add possibility to disable same site attribute (#1428)
🧹 Updates
- Parse gzipped body with bodyParser (#1458)
🐛 Fixes
- Improve/Stabilize the "Test_Cache_Expired" test run (#1461)
- Fix: The escape of special characters in route path does not work properly #1454 (#1462)
📚 Documentation
Thank you @HugHunter, @faceair, @iCyberon, @ktakenaka, @markkrj and @wja513 for making this update possible.
v2.15.0
🚀 New
- Allow adding App Name to customizing the startup message (#1418)
- Add support for streaming the request body. (#1423)
🧹 Updates
- Schema parser: use full match instead of strings.HasPrefix (#1424)
🐛 Fixes
- Session: Copy the data in buffer instead of using original data. (#1425)
📚 Documentation
- 🩹 Installation section translation (#1432)
Thank you @Spedoske, @TroyDota, @jeffersonmaia, @sujit-baniya and @tuhao1020 for making this update possible.
v2.14.0
🚀 New
- Add TrustedProxies feature (#1397)
- Add tls config for http client in proxy middleware (#1393)
- Added decompression cases for Body function (#1402)
🧹 Updates
- Remove duplicate line in test (#1404)
- Deprecate feature-policy (#1392)
- Improved some conditions (#1386)
🐛 Fixes
- Session middleware issues (#1407)
📚 Documentation
Thank you @Ja7ad, @Spedoske, @WLun001, @alfuhigi, @oroshnivskyy, @sneakykiwi, @tomaswarynyca and @tuhao1020 for making this update possible.
v2.13.0
🚀 New
- Add Global ViewLayout (#1384)
https://docs.gofiber.io/api/fiber#config -ViewsLayout
- Feat: expiration per session (#1363)
- Feature: add cache header to show cache status (#1368)
🧹 Updates
📚 Documentation
- Fixed Grammar (#1373)
- Add README_fa.md for Persian users (#1370)
- Update Readme (language: ID) (#1372)
Thank you @elias506, @Ja7ad, @WLun001, @floxydio, @jorgii, @mirusky and @sujit-baniya for making this update possible.
v2.12.0
🚀 New
🐛 Fixes
- Fix session delete when there is one key (#1366)
- Fix - pprof middleware redirect index page to wrong url #1360 (#1361)
📚 Documentation
- Add link to third party middlewares of all readmes (#1358)
Thank you @aschenmaker, @bestgopher and @hi019 for making this update possible.
v2.11.0
🚀 New
- Customize the source of session_id (#1159)
- Adding user context (#1341)
- Feat(middlewares): session keys (#1337)
🧹 Updates
- Update fasthttp version(1.23.0 to 1.26.0) to resolve brotli warnings (#1351)
🐛 Fixes
- Fix pprof redirect path (#1330)
📚 Documentation
Thank you @aschenmaker, @bestgopher, @leozhantw, @lrweck, @milosgajdos, @mirusky and @patil-kshitij for making this update possible.
v2.10.0
🚀 New
- Add
PathPrefix
parameter tofilesystem
middleware (#1326)
🧹 Updates
🐛 Fixes
- Fix app test parallel (#1316)
📚 Documentation
- Change deprecated struct elements (#1335)
- Fix docs typo (#1321)
- update handler example in timeout (#1328)
Thank you @MarvinJWendt, @Yash-Garg, @codemicro, @kiyonlin, @diegocsandrim, @sadfun and @si3nloong for making this update possible.
v2.9.0
🚀 New
- Etag middleware support to custom etags (#1288)
🧹 Updates
- Use atomic instead of mutex when counting the route handler. (#1314)
- Print logger's error to stderr if given io.writer failed (#1299)
- middleware/proxy: add buffer size configuration (#1292)
🐛 Fixes
- Startup message doesn't show correct amount of Handlers after mounting (#1302)
- Cache Middleware - Race condition in the cache expiration logic. Round 2 (#1310)
📚 Documentation
- Fix broken Rate Limiter link (#1301)
Thank you @bestgopher, @capthiron, @cep-ter, @defshift, @fernandobandeira, @jney and @sadfun for making this update possible.