github gofiber/fiber v2.47.0

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

๐Ÿš€ New

// GET /api/posts?filters.author.name=John&filters.category.name=Technology

app.Get("/", func(c *fiber.Ctx) error {
    m := c.Queries()
    m["filters.author.name"] // John
    m["filters.category.name"] // Technology
})
// Disable colors when outputting to default format
app.Use(logger.New(logger.Config{
    DisableColors: true,
}))

๐Ÿงน Updates

  • Update getOffer to consider quality and specificity (#2486)
  • Use c.app.getString instead of string(...) (#2489)
  • Bump github.com/mattn/go-isatty from 0.0.18 to 0.0.19 (#2474)
  • Bump golang.org/x/sys from 0.8.0 to 0.9.0 (#2508)

๐Ÿ› Fixes

  • Middleware/limiter: Fix Sliding Window limiter when SkipSuccessfulRequests/SkipFailedRequests is used. (#2484)
  • Fix onListen hooks when they are used with prefork mode (#2504)
  • Fix middleware naming and returned values of group methods (#2477)
  • Treat case for possible timer memory leak (#2488)
  • Reset terminal colors after print routes (#2481)

๐Ÿ“š Documentation

  • Update version of html template (#2505)
  • Translate README_fa.md (#2496)
  • Correcting a syntax error in the README (#2473)

Full Changelog: v2.46.0...v2.47.0

Thank you @Kamandlou, @Satont, @Skyenought, @cmd777, @dozheiny, @efectn, @gaby, @kaazedev, @luk3skyw4lker, @obakumen, @sixcolors and @ytsruh for making this update possible.

Don't miss a new fiber release

NewReleases is sending notifications on new releases.