Releases: gofiber/fiber
v2.37.1
🧹 Updates
- Bump github.com/valyala/fasthttp from 1.39.0 to 1.40.0 (#2075)
- Unhandled errors in app_test.go (#2071)
- Unhandled error in hooks test (#2070)
🐛 Fixes
- Constraints when to use multiple params (#2077)
- Unhandle in strictmode (#2055)
- EnvVar middleware parses base64 incorrectly (#2069)
Full Changelog: v2.37.0...v2.37.1
Thank you @Kamandlou, @efectn, @fufuok and @wangjq4214 for making this update possible.
v2.37.0
🚀 New
- Route constraints (#1998)
https://docs.gofiber.io/guide/routing#constraints - Add envvar expose middleware (#2054)
https://docs.gofiber.io/api/middleware/envvar - Add XML to context. (#2003)
https://docs.gofiber.io/api/ctx#xml
https://docs.gofiber.io/api/fiber - XMLEncoder - Middleware/csrf custom extractor (#2052)
https://docs.gofiber.io/api/middleware/csrf - Tls.ClientHelloInfo in Ctx (#2011)
https://docs.gofiber.io/api/ctx#clienthelloinfo
🧹 Updates
- Remove prefork support from custom listeners (#2060)
- Make IP() and IPs() more reliable (#2020)
- Bump github.com/valyala/fasthttp from 1.38.0 to 1.39.0 (#2017)
- Add go 1.19 to tests (#1994)
- Add black colors to default overriding function (#1993)
🧹 Cleanup
- Unhandled errors in helpers_test.go (#2058)
- Unhandled error in
common_linux.go
(#2056) - Handle file error on closing (#2050)
- Unhandled error in cache package tests (#2049)
- Unhandled errors and remove unused parameter (#2061)
- Unhandled errors in tests (#2048)
🐛 Fixes
- Fix csrf middleware behavior with header key lookup (#2063)
- Fix regex constraints (#2059)
- Fix route constraints problems (#2033)
- Make tlsHandler public to use it with Listener (#2034)
- Case sensitivity for parameters in GetRouteURL (#2010)
- Client: fix
Agent
use after free (#2037) - Middleware/monitor - fix ignore custom settings (#2024)
- Fix proxy overwrote the wrong scheme (#2004)
- Fix infinitely
app.Test
(#1997) - Fix gopsutil when compiling for bsd (#1995)
📚 Documentation
- Make Hooks public (#2015)
- Gofmt & add missing copyright texts (#2013)
- Change support claim up to go 1.19 (#2043)
- Update Spanish readme (#2064)
- Update Italian readme (#2042)
- Update README.md (#2023)
Thank you @efectn, @Maxi-Mega, @trim21, @GalvinGao, @Kamandlou, @gbolo, @micziz, @mstrYoda, @sixcolors, @solrac97gr, @thomasdseao, @tusharxoxoxo and @wangjq4214 for making this update possible.
v2.37.0-rc.1
🚀 New
🧹 Updates
- Bump github.com/valyala/fasthttp from 1.38.0 to 1.39.0 (#2017)
- Add go 1.19 to tests (#1994)
- Add black colors to default overriding function (#1993)
🐛 Fixes
- Fix proxy overwrote the wrong scheme (#2004)
- Fix infinitely
app.Test
(#1997) - Fix gopsutil when compiling for bsd (#1995)
📚 Documentation
Thank you @Maxi-Mega, @trim21, @efectn and @wangjq4214 for making this update possible.
v2.36.0
🚀 New
- Add OnPrefork Hooks so you can get the PID of the child process. (#1974)
https://docs.gofiber.io/guide/hooks#onfork - Customizable colors (#1977)
https://docs.gofiber.io/api/fiber#config "ColorScheme"
🐛 Fixes
- Padding around app name in startup message when containing non-ascii characters (#1987)
- Closes #1931 "🤗 How to get path param before a custom verb?" (#1983)
📚 Documentation
- Translate to Indonesian Awesome List (#1980)
Thank you @Maxi-Mega, @efectn, @radenrishwan and @tohutohu for making this update possible.
v2.35.0
🚀 New
- Add params parse (#1964)
https://docs.gofiber.io/api/ctx#paramsparser - middleware/monitor: Add some parameters to config for supporting #1936 (#1956)
https://docs.gofiber.io/api/middleware/monitor
🧹 Updates
- Binds the param string to a struct use params tag (#1968)
- Client: Remove beta warning (#1951)
- Bump github.com/valyala/fasthttp from 1.37.0 to 1.38.0 (#1948)
- Delete a blank line (#1961)
- Actions for MacOS (#1911)
🐛 Fixes
- middleware/logger: TagLatency doesn't have standard format between modes (#1943)
- middleware/session: fix update cookie. (#1960)
📚 Documentation
- Refactor - default error handler & example (#1941)
- New issue templates (#1945)
- Translate some lines to turkish (#1954)
- Update README_fa.md (#1953)
- Flat-square style for readme badges (#1949)
Thank you @efectn, @hamidreza01, @ly020044, @marcelogamba, @nnnkkk7, @olongfen and @taheri24 for making this update possible.
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.