Skip to content

Releases: gofiber/fiber

v2.10.0

19 May 06:55
67adaea
Compare
Choose a tag to compare

🚀 New

  • Add PathPrefix parameter to filesystem middleware (#1326)

🧹 Updates

  • chore: enable decoder's ZeroEmpty by default (#1285)
  • Add testcases for ListenTLS (#1320)

🐛 Fixes

  • Fix app test parallel (#1316)

📚 Documentation

  • Change deprecated struct elements (#1335)
  • Fix docs typo (#1321)
  • update handler example in timeout (#1328)

Thank you @MarvinJWendt, @Yash-Garg, @codemicro, @kiyonlin, @diegocsandrim, @sadfun and @si3nloong for making this update possible.

v2.9.0

06 May 09:21
24b5370
Compare
Choose a tag to compare

🚀 New

  • Etag middleware support to custom etags (#1288)

🧹 Updates

  • Use atomic instead of mutex when counting the route handler. (#1314)
  • Print logger's error to stderr if given io.writer failed (#1299)
  • middleware/proxy: add buffer size configuration (#1292)

🐛 Fixes

  • Startup message doesn't show correct amount of Handlers after mounting (#1302)
  • Cache Middleware - Race condition in the cache expiration logic. Round 2 (#1310)

📚 Documentation

  • Fix broken Rate Limiter link (#1301)

Thank you @bestgopher, @capthiron, @cep-ter, @defshift, @fernandobandeira, @jney and @sadfun for making this update possible.

v2.8.0

20 Apr 06:51
a48cb80
Compare
Choose a tag to compare

🚀 New

🧹 Updates

  • Removed Printed Warning (#1268)
  • Refactor cache middleware to not-use the deprecated methods (#1246)
  • Bump fasthttp v1.18.0 to v1.23.0 (#1265)

🐛 Fixes

  • Fix: deadlock on session (#1248)

📚 Documentation

  • Update german translation (#1282)
  • Doc: Correct cors to favicon in import statement (#1279)
  • Fix broken links (#1278)
  • Doc: Correct Session to Crsf in Import Statement (#1277)
  • Doc: Updated broken links for ErrorHandler hyperlink in readme (#1256)

Thank you @HAUDRAUFHAUN, @NikSchaefer, @SuspiciousLookingOwl, @kiyonlin, @r-52, @sagar23sj and @si3nloong for making this update possible.

v2.7.1

29 Mar 07:41
cfa07b7
Compare
Choose a tag to compare

🚀 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 QueryParser parse 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

14 Mar 17:04
12cefa2
Compare
Choose a tag to compare

🔥   New

🧹   Updates

🩹   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

08 Feb 08:12
d1d8eda
Compare
Choose a tag to compare

🔥 New

  • Add network option #1155

v2.4.1

02 Feb 01:53
3e2dd90
Compare
Choose a tag to compare

🩹 Fixes

  • Fix start process before prefork server starting #1144

v2.4.0

31 Jan 17:15
267fd5e
Compare
Choose a tag to compare

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 Next option in Static #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

  • Adjust lines according to go-lint #1137
  • Accelerate startup process for many routes #1134

🩹 Fixes

  • Fix Next position in cache middleware #1135
  • Fix timing attack in basicauth middleware #1113

v2.3.3

12 Jan 08:14
93022ee
Compare
Choose a tag to compare

🩹 - Fix Unescape behavior #1104 thanks @ReneWerner87!
📚 - Add third-party middleware to list #1101

v2.3.2

28 Dec 05:29
9ade212
Compare
Choose a tag to compare

🩹 Fixes

  • Add length check for path #1093 and add test cases #1094