Skip to content

v2.48.0

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Jul 14:20
f6446ab

🚀 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.