๐ฅ New
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
- utils.UnsafeString replaces utils.GetString #833
- utils.UnsafeBytes replaces utils.GetBytes #833
- middleware/cache middleware introduction by @codemicro #829
๐งน Updates
- csrf middleware now sets
SameSite=Lax
by default #825 - c.QueryParser now supports splitting comma-separated values into slices #817 #782