Skip to content

Releases: gofiber/fiber

v2.7.1

29 Mar 07:41
cfa07b7

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

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

Choose a tag to compare

🔥 New

  • Add network option #1155

v2.4.1

02 Feb 01:53
3e2dd90

Choose a tag to compare

🩹 Fixes

  • Fix start process before prefork server starting #1144

v2.4.0

31 Jan 17:15
267fd5e

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

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

Choose a tag to compare

🩹 Fixes

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

v2.3.1

28 Dec 01:50
c8709af

Choose a tag to compare

🩹 Fixes

v2.3.0

16 Dec 02:12
f894140

Choose a tag to compare

🔥 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

Thank you @kiyonlin & @HeCorr

v2.2.5

11 Dec 00:06
61f5c43

Choose a tag to compare

Thank you @kiyonlin, @kirillDanshin, @hi019, @erikdubbelboer, @ReneWerner87

🧹 Updates

🩹 Fixes

  • Fix duplicate cookie name in csrf middleware #1068