Closed renovate[bot] closed 11 months ago
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
โ Warning: custom changes will be lost.
This PR contains the following updates:
v2.50.0
->v2.51.0
Release Notes
gofiber/fiber (github.com/gofiber/fiber/v2)
### [`v2.51.0`](https://togithub.com/gofiber/fiber/releases/tag/v2.51.0) [Compare Source](https://togithub.com/gofiber/fiber/compare/v2.50.0...v2.51.0) #### ๐ New - Add support for parameters in content negotiation ([#2678](https://togithub.com/gofiber/fiber/issues/2678)) [RFC](https://www.rfc-editor.org/rfc/rfc9110#name-parameters) https://docs.gofiber.io/api/ctx#accepts ```go // Consideration of parameters in the accepted headers // Accept: text/plain, application/json; version=1; foo=bar app.Get("/", func(c *fiber.Ctx) error { // Extra parameters in the accept are ignored c.Accepts("text/plain;format=flowed") // "text/plain;format=flowed" // An offer must contain all parameters present in the Accept type c.Accepts("application/json") // "" // Parameter order and capitalization does not matter. Quotes on values are stripped. c.Accepts(`application/json;foo="bar";VERSION=1`) // "application/json;foo="bar";VERSION=1" }) ``` - Add support for application/problem+json ([#2704](https://togithub.com/gofiber/fiber/issues/2704)) https://docs.gofiber.io/api/ctx#json https://docs.gofiber.io/api/client#json ```go // Passing a custom json type ctx.JSON(fiber.Map{ "type": "https://example.com/probs/out-of-credit", "title": "You do not have enough credit.", "status": 403, "detail": "Your current balance is 30, but that costs 50.", "instance": "/account/12345/msgs/abc", }, fiber.) ``` #### ๐งน Updates - Ctx.Range: reduce allocations ([#2705](https://togithub.com/gofiber/fiber/issues/2705)) - Middleware/pprof: improve performance ([#2709](https://togithub.com/gofiber/fiber/issues/2709)) #### ๐ ๏ธ Maintenance - Bump golang.org/x/sys from 0.13.0 to 0.14.0 ([#2707](https://togithub.com/gofiber/fiber/issues/2707)) - Bump github.com/google/uuid from 1.3.1 to 1.4.0 ([#2693](https://togithub.com/gofiber/fiber/issues/2693)) - Bump actions/setup-node from 3 to 4 ([#2690](https://togithub.com/gofiber/fiber/issues/2690)) - Bbump github.com/mattn/go-isatty from 0.0.19 to 0.0.20 ([#2679](https://togithub.com/gofiber/fiber/issues/2679)) #### ๐ Fixes - Middleware/limiter: fix intermittent failures ([#2716](https://togithub.com/gofiber/fiber/issues/2716)) - Naming of routes works wrong after mount [#2688](https://togithub.com/gofiber/fiber/issues/2688) ([#2689](https://togithub.com/gofiber/fiber/issues/2689)) - Fix method validation on route naming ([#2686](https://togithub.com/gofiber/fiber/issues/2686)) #### ๐ Documentation - Changed "Twitter" to "X (Twitter)" in README.md Contribute Section ([#2696](https://togithub.com/gofiber/fiber/issues/2696)) - Add additional information as to why GetReqHeaders returns a map where the values are slices of strings ([#2698](https://togithub.com/gofiber/fiber/issues/2698)) - Enhance csrf.md ([#2692](https://togithub.com/gofiber/fiber/issues/2692)) **Full Changelog**: https://github.com/gofiber/fiber/compare/v2.50.0...v2.51.0 Thank you [@BandhiyaHardik](https://togithub.com/BandhiyaHardik), [@database64128](https://togithub.com/database64128), [@efectn](https://togithub.com/efectn), [@moritz157](https://togithub.com/moritz157), [@nickajacks1](https://togithub.com/nickajacks1), [@rhburt](https://togithub.com/rhburt) and [@sixcolors](https://togithub.com/sixcolors) for making this update possible.Configuration
๐ Schedule: Branch creation - At any time (no schedule defined), 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.