Releases: gofiber/fiber
v2.34.1
🧹 Updates
- Spliting dump request to add Query (#1909)
- Refactor favicon middleware, avoid magic numbers. (#1919)
🐛 Fixes
- Fix GetLocationFromRoute bug for optional params (#1922)
📚 Documentation
- Fix typo for paramsInt function (#1913)
Thank you @ancogamer, @remotenode, @sujit-baniya and @vikpe for making this update possible.
v2.34.0
🚀 New
- Add max size to cache (#1892)
https://docs.gofiber.io/api/middleware/cache - Add refresh period to monitor mw (#1898)
https://docs.gofiber.io/api/middleware/monitor - Add page title to monitor mw (#1893)
https://docs.gofiber.io/api/middleware/monitor
🧹 Updates
Thank you @dranikpg, @jfcg and @philippeleite for making this update possible.
v2.34.0-rc.1
v2.33.0
🚀 New
- Utils: ConvertToBytes (#1875)
🧹 Updates
- Reduce duplicate in Get method (#1880)
- Cannot process array of values in
application/x-www-form-urlencoded
request (#1873)
🐛 Fixes
- Fix expiration time in cache middleware (#1881)
📚 Documentation
- Fixed typo (#1891)
- Typo fix in ParamsInt() (#1863)
- Remove incorrect links from supporter table (#1862)
Thank you @ChandanChainani, @TomRomeo, @alfuhigi, @ankush, @breakbuidl, @naveensrinivasan, @webdevium and @witer33 for making this update possible.
v2.32.0
❗ BreakingChange
- RFC: Return an instance of
*fiber.Error
when no handler found (#1847)
the behavior for the routes only middlewares and no handler for the request methods was declared has changed
🚀 New
- Support adding queries to RedirectToRoute (#1858)
https://docs.gofiber.io/api/ctx#redirecttoroute - Add AllParams method (#1853)
https://docs.gofiber.io/api/ctx#allparams - Add context Writef feature function (#1841)
https://docs.gofiber.io/api/ctx#writef
🧹 Updates
- Use encoding/json (#1851)
https://docs.gofiber.io/guide/faster-fiber - Bump github.com/valyala/fasthttp from 1.34.0 to 1.35.0 (#1849)
- RFC: Return an instance of
*fiber.Error
when no handler found (#1847)
https://docs.gofiber.io/extra/faq#how-do-i-handle-custom-404-responses
🐛 Fixes
📚 Documentation
- ListenTLS comment (#1859)
Thank you @asyslinux, @codemicro, @efectn and @jfcg for making this update possible.
v2.31.0
🚀 New
- Allow parsing of square bracket query param (#1818)
- Change name to get URL from (#1831)
https://docs.gofiber.io/api/ctx#getrouteurl
🧹 Updates
Thank you @jfcg, @ninadingole and @sujit-baniya for making this update possible.
v2.30.0
v2.29.0
🚀 New
- Cache middleware: Store e2e headers. (#1807)
https://docs.gofiber.io/api/middleware/cache#config
🧹 Updates
- Bump github.com/valyala/fasthttp from 1.33.0 to 1.34.0 (#1811)
- Bump goccy/go-json to v0.9.5 (#1808)
- Optimize App.buildTree() (#1809)
🐛 Fixes
- go-json generator. (#1806)
📚 Documentation
- Update some translation (#1815)
- Cache middleware: Fix comment typo in manager.go. (#1804)
- Fix goreportcard & pkg.go.dev links in READMEs (#1798)
- Update turkish readme (#1800)
- Update readme - cleanup (#1794)
Thank you @FlameMida, @efectn, @jfcg and @thylong for making this update possible.
v2.28.0
🚀 New
- Update TLS Config & Add ListenMutualTLS (#1761)
https://docs.gofiber.io/api/app#listentls
https://docs.gofiber.io/api/app#listenmutualtls
🐛 Fixes
- Restore Original URL of the context after changing it (#1788)
- Fix for "Why net.Addr is fiber.testAddr, not *net.TCPAddr?🤗 #1574" (#1784)
- utils.TrimBytes should trim all content (#1779)
📚 Documentation
- Inconsistents of storage (#1787)
- Fixing a mistake of the comment in the limiter package (#1790)
- Translate some words to bahasa(ID) (#1780)
- Add SSE example (#1776)
Thank you @efectn, @fufuok, @geet, @qracer and @rendiputra for making this update possible.
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.