github gofiber/fiber v2.48.0

latest releases: v3.0.0-beta.3, v2.52.5, v3.0.0-beta.2...
14 months ago

๐Ÿš€ New

app := fiber.New(fiber.Config{
  DisableStartupMessage: true,
})

app.Hooks().OnListen(func(listenData fiber.ListenData) error {
  if fiber.IsChild() {
      return nil
  }
  scheme := "http"
  if data.TLS {
    scheme = "https"
  }
  log.Println(scheme + "://" + listenData.Host + ":" + listenData.Port)
  return nil
})

app.Listen(":5000")

๐Ÿงน Updates

  • Dictpool is not completely gone (#2540)
  • Bump golang.org/x/sys from 0.9.0 to 0.10.0 (#2530)
  • Bump github.com/valyala/fasthttp from 1.47.0 to 1.48.0 (#2511)

๐Ÿ› Fixes

  • Middleware/logger: Default logger color behaviour (#2513)

๐Ÿ“š Documentation

  • Fix link (#2542)
  • Fix bad documentation on queries function (#2522)
  • Fix validation-guide (#2517)
  • Fix bad documentation on queries function (#2522)
  • Add a warning on security implications when using X-Forwarded-For improperly (#2520)
  • Fix typo (#2518)
  • Typo in ctx.md (#2516)
  • Fix comment in client.go (#2514)
  • Fix docs api fiber custom config (#2510)

Full Changelog: v2.47.0...v2.48.0

Thank you @ForAeons, @RHeynsZa, @Saman-Safaei, @Skyenought, @Z3NTL3, @andre-dasilva, @cmd777, @dozheiny, @efectn, @f1rstmehul, @gaby, @itcuihao and @mo1ein for making this update possible.

Don't miss a new fiber release

NewReleases is sending notifications on new releases.