gofiber/fiber
### [`v2.47.0`](https://togithub.com/gofiber/fiber/releases/tag/v2.47.0)
[Compare Source](https://togithub.com/gofiber/fiber/compare/v2.46.0...v2.47.0)
#### ๐ New
- Add queries function ([#2475](https://togithub.com/gofiber/fiber/issues/2475))
https://docs.gofiber.io/api/ctx#queries
```go
// 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
})
```
- Middleware/logger: Add DisableColors to set the default output format ([#2493](https://togithub.com/gofiber/fiber/issues/2493))
https://docs.gofiber.io/api/middleware/logger#config
```go
// Disable colors when outputting to default format
app.Use(logger.New(logger.Config{
DisableColors: true,
}))
```
#### ๐งน Updates
- Update getOffer to consider quality and specificity ([#2486](https://togithub.com/gofiber/fiber/issues/2486))
- Use c.app.getString instead of string(...) ([#2489](https://togithub.com/gofiber/fiber/issues/2489))
- Bump github.com/mattn/go-isatty from 0.0.18 to 0.0.19 ([#2474](https://togithub.com/gofiber/fiber/issues/2474))
- Bump golang.org/x/sys from 0.8.0 to 0.9.0 ([#2508](https://togithub.com/gofiber/fiber/issues/2508))
#### ๐ Fixes
- Middleware/limiter: Fix Sliding Window limiter when SkipSuccessfulRequests/SkipFailedRequests is used. ([#2484](https://togithub.com/gofiber/fiber/issues/2484))
- Fix onListen hooks when they are used with prefork mode ([#2504](https://togithub.com/gofiber/fiber/issues/2504))
- Fix middleware naming and returned values of group methods ([#2477](https://togithub.com/gofiber/fiber/issues/2477))
- Treat case for possible timer memory leak ([#2488](https://togithub.com/gofiber/fiber/issues/2488))
- Reset terminal colors after print routes ([#2481](https://togithub.com/gofiber/fiber/issues/2481))
#### ๐ Documentation
- Update version of html template ([#2505](https://togithub.com/gofiber/fiber/issues/2505))
- Translate README_fa.md ([#2496](https://togithub.com/gofiber/fiber/issues/2496))
- Correcting a syntax error in the README ([#2473](https://togithub.com/gofiber/fiber/issues/2473))
**Full Changelog**: https://github.com/gofiber/fiber/compare/v2.46.0...v2.47.0
Thank you [@Kamandlou](https://togithub.com/Kamandlou), [@Satont](https://togithub.com/Satont), [@Skyenought](https://togithub.com/Skyenought), [@cmd777](https://togithub.com/cmd777), [@dozheiny](https://togithub.com/dozheiny), [@efectn](https://togithub.com/efectn), [@gaby](https://togithub.com/gaby), [@kaazedev](https://togithub.com/kaazedev), [@luk3skyw4lker](https://togithub.com/luk3skyw4lker), [@obakumen](https://togithub.com/obakumen), [@sixcolors](https://togithub.com/sixcolors) and [@ytsruh](https://togithub.com/ytsruh) for making this update possible.
Configuration
๐ Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
๐ฆ Automerge: Disabled by config. Please merge this manually once you are satisfied.
โป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
๐ Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v2.46.0
->v2.47.0
Release Notes
gofiber/fiber
### [`v2.47.0`](https://togithub.com/gofiber/fiber/releases/tag/v2.47.0) [Compare Source](https://togithub.com/gofiber/fiber/compare/v2.46.0...v2.47.0) #### ๐ New - Add queries function ([#2475](https://togithub.com/gofiber/fiber/issues/2475)) https://docs.gofiber.io/api/ctx#queries ```go // 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 }) ``` - Middleware/logger: Add DisableColors to set the default output format ([#2493](https://togithub.com/gofiber/fiber/issues/2493)) https://docs.gofiber.io/api/middleware/logger#config ```go // Disable colors when outputting to default format app.Use(logger.New(logger.Config{ DisableColors: true, })) ``` #### ๐งน Updates - Update getOffer to consider quality and specificity ([#2486](https://togithub.com/gofiber/fiber/issues/2486)) - Use c.app.getString instead of string(...) ([#2489](https://togithub.com/gofiber/fiber/issues/2489)) - Bump github.com/mattn/go-isatty from 0.0.18 to 0.0.19 ([#2474](https://togithub.com/gofiber/fiber/issues/2474)) - Bump golang.org/x/sys from 0.8.0 to 0.9.0 ([#2508](https://togithub.com/gofiber/fiber/issues/2508)) #### ๐ Fixes - Middleware/limiter: Fix Sliding Window limiter when SkipSuccessfulRequests/SkipFailedRequests is used. ([#2484](https://togithub.com/gofiber/fiber/issues/2484)) - Fix onListen hooks when they are used with prefork mode ([#2504](https://togithub.com/gofiber/fiber/issues/2504)) - Fix middleware naming and returned values of group methods ([#2477](https://togithub.com/gofiber/fiber/issues/2477)) - Treat case for possible timer memory leak ([#2488](https://togithub.com/gofiber/fiber/issues/2488)) - Reset terminal colors after print routes ([#2481](https://togithub.com/gofiber/fiber/issues/2481)) #### ๐ Documentation - Update version of html template ([#2505](https://togithub.com/gofiber/fiber/issues/2505)) - Translate README_fa.md ([#2496](https://togithub.com/gofiber/fiber/issues/2496)) - Correcting a syntax error in the README ([#2473](https://togithub.com/gofiber/fiber/issues/2473)) **Full Changelog**: https://github.com/gofiber/fiber/compare/v2.46.0...v2.47.0 Thank you [@Kamandlou](https://togithub.com/Kamandlou), [@Satont](https://togithub.com/Satont), [@Skyenought](https://togithub.com/Skyenought), [@cmd777](https://togithub.com/cmd777), [@dozheiny](https://togithub.com/dozheiny), [@efectn](https://togithub.com/efectn), [@gaby](https://togithub.com/gaby), [@kaazedev](https://togithub.com/kaazedev), [@luk3skyw4lker](https://togithub.com/luk3skyw4lker), [@obakumen](https://togithub.com/obakumen), [@sixcolors](https://togithub.com/sixcolors) and [@ytsruh](https://togithub.com/ytsruh) for making this update possible.Configuration
๐ Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
๐ฆ Automerge: Disabled by config. Please merge this manually once you are satisfied.
โป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
๐ Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.