davidebianchi / gswagger

Generate an openapi spec dynamically based on the types used to handle request and response
https://pkg.go.dev/github.com/davidebianchi/gswagger
MIT License
30 stars 8 forks source link

chore(deps): bump github.com/gofiber/fiber/v2 from 2.42.0 to 2.43.0 #110

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps github.com/gofiber/fiber/v2 from 2.42.0 to 2.43.0.

Release notes

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

v2.43.0

❗ BreakingChange

  • Drop go 1.16 support & update to fasthttp 1.45.0 (#2374)

Due to the fact that fasthttp, which fiber is based on in release 1.45.0, does not support go version 1.16 anymore, we had to remove it from our package as well.

🚀 New

app.ListenTLSWithCertificate(":443", cert); 
app.ListenMutualTLSWithCertificate(":443", cert, clientCertPool);
// GET http://example.com/?name=alex&want_pizza=false&id=

app.Get("/", func(c *fiber.Ctx) error { c.QueryBool("want_pizza") // false c.QueryBool("want_pizza", true) // false c.QueryBool("alex") // true c.QueryBool("alex", false) // false c.QueryBool("id") // true c.QueryBool("id", false) // false

// ... })

// GET http://example.com/?name=alex&amount=32.23&id=

app.Get("/", func(c *fiber.Ctx) error { c.QueryFloat("amount") // 32.23 c.QueryFloat("amount", 3) // 32.23 c.QueryFloat("name", 1) // 1 c.QueryFloat("name") // 0 c.QueryFloat("id", 3) // 3

// ... })

  • Middleware/session: SessionOnly when cookie.Expires is 0 (#2152)

... (truncated)

Commits
  • 6988411 prepare release v2.43.0
  • 547db83 Get mime fallback (#2340)
  • 1f52799 Refresh middleware documentation
  • f0582a5 github: use proper discord invitation link (#2382)
  • 32c3961 corrected coding typos in MountPath docs section (#2379)
  • 7536ce8 Bump actions/setup-go from 3 to 4 (#2376)
  • 9064eb6 :broom: chore: drop go 1.16 support & update dependencies (#2374)
  • 56839b4 🚀 [Feature]: middleware/requestid: don't call "Generator" func on existing re...
  • d7b36cd :bug: requestid.Config.ContextKey is interface{} (#2369)
  • 678728d 🐛 [Bug-Fix]: add lock to avoid data race #2360 (#2368)
  • 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 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)