v2.27.0
🚀 New
- Bind support for render (#1754)
https://docs.gofiber.io/api/ctx#bind - Add RedirectToRoute and RedirectBack (#1750)
https://docs.gofiber.io/api/ctx#redirecttoroute
https://docs.gofiber.io/api/ctx#redirectback - Session Only Cookies (#1752)
https://docs.gofiber.io/api/ctx#cookie
https://docs.gofiber.io/api/middleware/csrf - Add ability to restart route handling (#1739)
https://docs.gofiber.io/api/ctx#restartrouting - Add direct download option when serving static files (#1729)
https://docs.gofiber.io/api/app#static - SaveFile to default External Storage (#1557)
https://docs.gofiber.io/api/ctx#savefiletostorage
🔙 Reverted ⚠️
- Backwards incompatible change to fiber.Error (#1768)
⚠️ We have decided to remove thefiber.Errors
method and set thefiber.Error
to the state before 2.25.0 due to the not downward compatible changes added in the last versions
🧹 Updates
- Bump: goccy/go-json to 0.9.4 (#1771)
- Change default gc interval of internal/memory (#1756)
- middleware/limiter: Fix file names (#1747) (#1748)
- Bump github.com/valyala/fasthttp from 1.32.0 to 1.33.0 (#1744)
🐛 Fixes
utils.Trim
should trim all string content (#1775)- middleware/proxy: Incorrect scheme on proxy.Do (#1762) (#1765)
- middleware/cache: Mutex lock (#1764)
- Add missing json errors (#1755)
- Mounted app views (#1749)
📚 Documentation
- fix cache docs error (#1769)
Thank you @Aliqyan, @Lian1230, @NorbertHauriel, @trim21, @abhi12299, @apoq, @balcieren, @bigflood, @efectn, @liaohongxing, @mtneug and @sujit-baniya for making this update possible.