Skip to content

Releases: gofiber/fiber

v2.3.1

28 Dec 01:50
c8709af
Compare
Choose a tag to compare

🩹 Fixes

v2.3.0

16 Dec 02:12
f894140
Compare
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
Compare
Choose a tag to compare

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

🧹 Updates

🩹 Fixes

  • Fix duplicate cookie name in csrf middleware #1068

v2.2.4

09 Dec 00:32
9049720
Compare
Choose a tag to compare

🔥 New

  • Introduce store.RegisterType(i interface{}) to allow custom types/structs to be stored in external Storage providers ( session mw ) #1051

🩹 Fixes

  • Don't panic when fetching invalid data structure from session middleware #1051
  • Also cache the content-encoding header in cache middleware to be used along with compress mw #1055

v2.2.3

03 Dec 10:21
c9df437
Compare
Choose a tag to compare

🧹 Updates

  • Set session cookie on Save even if no data is present #1048

🩹 Fixes

v2.2.2

30 Nov 13:37
41d797c
Compare
Choose a tag to compare

🔥 New

  • Introduce utils.UUIDv4 for strong tokens ( used in session middleware ) #1045

🩹 Fixes

  • Fix default value for CookieName in session #1040 #1042
  • Use UUIDv4 in session middleware for strong unique tokens #1040

v2.2.1

26 Nov 21:42
51a62a3
Compare
Choose a tag to compare

🔥 New

  • Expose CacheDuration in Static #1009

🧹 Updates

  • Add third-party vhost middleware #1035
  • Update middleware configs #1025
  • Improve/clean code in general #1009

🩹 Fixes

  • Fix session middleware to allow custom types/structs #1031
  • Fix greedy parameter in routing #1017

v2.2.0

14 Nov 02:25
f881582
Compare
Choose a tag to compare

🔥 New

  • Introduce session middleware #1009
  • Add CacheDuration to Static options #1009

🧹 Updates

  • Bump Fasthttp v1.17.0 #999
  • Add TimeInterval to logger #993
  • Removed unused variable #995
  • Refactor test files #1006
  • Update Spanish translation #1008
  • Add more logger examples #1011
  • Update Chinese translation #1014

🩹 Fixes

  • Deprecate invalid config options in multiple middleware packages #1009
  • Fix invalid route matching #1017
  • Fix third party middleware link in readme #1004
  • Increase sleep for workflow test #1000
  • Fix outdated config file in readme #1015

v2.1.4

06 Nov 01:42
9f77e38
Compare
Choose a tag to compare

🧹 Updates

🩹 Fixes

  • Fix cache & proxy workflow test #1000

v2.1.3

03 Nov 08:26
0a5d73f
Compare
Choose a tag to compare

🔥 New

  • Add Key to cache middleware #983
  • Add Storage to cache middleware #976
  • Add SendFile to filesystem middleware #977

🧹 Updates

  • Improve JSON encoding #991
  • Update method description for c.JSON #987
  • Update Storage interface bahviour #984

🩹 Fixes

  • Keep CSRF token per session #972