github gofiber/fiber v2.0.3

latest releases: v3.0.0-beta.3, v2.52.5, v3.0.0-beta.2...
4 years ago

๐Ÿ”ฅ New

  • app.Mount allows to mount a fiber instance. #737 #737
func (a *App) Mount(prefix string, app *fiber.App) fiber.Router
micro := fiber.New()
micro.Get("/doe", func(c *fiberCtx) error {
	return c.SendStatus(StatusOK)
})

app := fiber.New()
app.Mount("/john", micro) // GET /john/doe -> 200 OK

๐Ÿงน Updates

  • csrf middleware now sets SameSite=Lax by default #825
  • c.QueryParser now supports splitting comma-separated values into slices #817 #782

๐Ÿฉน Fixes

  • avoid duplicated slashes on static directories #819
  • proxy middleware is now able to upgrade from http -> https scheme's #836

Don't miss a new fiber release

NewReleases is sending notifications on new releases.