Releases: gofiber/fiber
v2.7.1
🚀 New
- Add method to get an integer directly from the Ctx params (route params) (#1243)
🧹 Updates
- Cache Middleware - Update expiration for expired entry (#1228)
🐛 Fixes
- Fix session middleware (#1235)
(please clean up all old artifacts in the storage, as we have changed the serialization completely) - Fix unexpected result when
QueryParserparse slice data type (#1238) - Cache Middleware - Race condition in the cache expiration logic (#1229)
- Fix logger [WARNING: DATA RACE] (#1226)
📚 Documentation
- Fix incorrect comment lines. (#1234)
Thank you @defshift, @eacp, @iredmail, @kiyonlin, @si3nloong and @yam8511 for making this update possible.
v2.6.0
🔥 New
- Implement Fiber http Client #1177 #1212 #1215 - #1114
https://docs.gofiber.io/api/client
🧹 Updates
- Improve proxy middleware test case #1187
- Add optional FileSystem config to middleware/favicon #1189
- Adds and additional line to starting banner "bound: http://0.0.0.0:8080" #1210 - #1207 #1198
🩹 Fixes
- CSRF middleware cookie<>storage bug squashed and other improvements #1180 - #1182
- Fix hardcode tls to startupMessage in app.Listener #1186
- Lookup cookie in response header #1191 - #1184
- CSRF Middleware Restructuring #1194
- Use internal json package as the default json encoder #1211 ⚡
📚 Documentation
- Add embed example for go 1.16 #1175
- Fix wrong session code example #1170
- Remove duplicate line #1168 - #1166
- Fix typos and translate some sentences English to Turkish #1192
- CSRF Docs - Add note about how to get token #1196
- Filesystem Middleware: add example of embedding directory #1197
- Remove unused path parameter in README example #1201
- Update code snippets for RU language #1206
- Fix broken links in README #1218
v2.5.0
v2.4.1
v2.4.0
Thank you @sotanodroid, @tianjipeng, @kiyonlin, @ReneWerner87, @hi019, @xenowits, @mlukasik-dev, @hinoguma, @hitalos, @yquansah, @bestgopher, @sacsand, @sujit-baniya, @Tazeg for making this update possible.
🔥 New
- Add new variables to logger middleware #1132
- Support stack traces for recover middleware #1131
- Add
Nextoption inStatic#1130 - Add custom error function for csrf middleware #1129
- Add total ram to monitor middleware (beta) #1125
- Add support for custom JSON encoder #1121
🧹 Updates
🩹 Fixes
v2.3.3
v2.3.2
v2.3.1
v2.3.0
🔥 New
app.ListenTLS(":443", "./cert.pem", "./cert.key");Allows you to serve HTTPs requests by providing a path to the TLS certificate and key file, this is a simplified method for app.Listener() where you had to build your own *tls.Config. #1077
The following *tls.Config is used:
&tls.Config{
MinVersion: tls.VersionTLS12,
PreferServerCipherSuites: true,
Certificates: []tls.Certificate{
cert,
},
}More information about Listen methods can be found here https://docs.gofiber.io/api/app#listentls
v2.2.5
Thank you @kiyonlin, @kirillDanshin, @hi019, @erikdubbelboer, @ReneWerner87
🧹 Updates
- Bump fasthttp to
v1.18https://github.com/valyala/fasthttp/releases/tag/v1.18.0 #1070 - Removing newlines in header values is now implemented in fasthttp.
- Improve round2 performance in fh
- Refactor
BodyParser#1073 - Fix some linting #1044
- Remove redundant validation for
CacheDurationinStatic#1069 BodyParserreturns anErrUnprocessableEntitywhen an invalid content-type is present. #1067
🩹 Fixes
- Fix duplicate cookie name in
csrfmiddleware #1068