gofiber / swagger

๐Ÿงฌ fiber middleware to automatically generate RESTful API documentation with Swagger
MIT License
428 stars 31 forks source link

Bump github.com/gofiber/fiber/v2 from 2.50.0 to 2.51.0 #69

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps github.com/gofiber/fiber/v2 from 2.50.0 to 2.51.0.

Release notes

Sourced from github.com/gofiber/fiber/v2's releases.

v2.51.0

๐Ÿš€ New

// 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" })

// 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)
  • Middleware/pprof: improve performance (#2709)

๐Ÿ› ๏ธ Maintenance

  • Bump golang.org/x/sys from 0.13.0 to 0.14.0 (#2707)
  • Bump github.com/google/uuid from 1.3.1 to 1.4.0 (#2693)
  • Bump actions/setup-node from 3 to 4 (#2690)
  • Bbump github.com/mattn/go-isatty from 0.0.19 to 0.0.20 (#2679)

๐Ÿ› Fixes

  • Middleware/limiter: fix intermittent failures (#2716)
  • Naming of routes works wrong after mount #2688 (#2689)

... (truncated)

Commits
  • dceb0b4 Update app.go
  • 9f082af ๐Ÿ”ฅ Add support for application/problem+json (#2704)
  • 1e55045 test(limiter): fix intermittent failures (#2716)
  • 5d888ce โšก๏ธ perf(ctx.Range): reduce allocations (#2705)
  • b99712f โšก middleware/pprof: improve performance (#2709)
  • 862ea7d add v3 pr templates info
  • efdd009 add v3 issue/pr templates
  • 781f71a add v3 issue/pr templates
  • cbcb1ae โœจ feat: add support for parameters in content negotiation (#2678)
  • 426dd3a build(deps): bump golang.org/x/sys from 0.13.0 to 0.14.0 (#2707)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)