Releases: gofiber/fiber
v2.20.0
🚀 New
- Support for sub fiber's error handlers (#1560)
- Add function to override form decoder setting (#1100, #1555)
https://docs.gofiber.io/api/ctx#setparserdecoder - Support logging color for custom logging formats (#1513)
- Feature: limiter middleware new skip options implemented (#1542)
https://docs.gofiber.io/api/middleware/limiter - Add one minute load avg for monitor middleware (#1530)
🧹 Updates
- Add test case for QueryParser for SetParserDecoder (#1562)
🐛 Fixes
- Register static file routing with trailing slash (#1556)
- Static file routing path rewrite. (#1538)
- Fix
c.OriginalURL()
changed afterSendFile
(#1553) - File opening path and directory browsing path of filesystem (#1547)
📚 Documentation
- Update Spanish documentation (#1554)
- Fix language mistakes in Turkish (#1552)
- Translated some sentences for ja-version (#1551)
- Update README with elastic/apmfiber middleware (#1540)
Thank you @Perniciosius, @unickorn, @aliereno, @amalshaji, @efectn, @fufuok, @ivanvc, @josebalius, @ppmasa8 and @rockcreation7 for making this update possible.
v2.19.0
🚀 New
- Add next support for Monitor middleware. (#1527)
🐛 Fixes
- Get unexpected results from cache #1529 (#1531)
- Fix Mutability issue of UserContext in fiber.Ctx (#1522)
- Corrects ipv6 loopback ip shown on UI (#1517)
📚 Documentation
- fixed translation issues and translate more area in turkish readme (#1525)
- Translate
External Middleware
section of README to Chinese. (#1523) - Add Chinese translation for internal middleware (#1511)
- Translate
Limitations
section of README to Chinese (#1510) - Translated limitation section (#1509)
- Add Limitations section to README (#1508)
Thank you @Ja7ad, @lynicis, @Thammachart, @ZACHSTRIVES, @efectn, @hi019, @j178, @techytoes and @ut-zero for making this update possible.
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.