awslabs / aws-lambda-go-api-proxy

lambda-go-api-proxy makes it easy to port APIs written with Go frameworks such as Gin (https://gin-gonic.github.io/gin/ ) to AWS Lambda and Amazon API Gateway.
Apache License 2.0
1.03k stars 197 forks source link

build(deps): bump github.com/gofiber/fiber/v2 from 2.1.0 to 2.43.0 #186

Closed dependabot[bot] closed 5 months ago

dependabot[bot] commented 1 year ago

Bumps github.com/gofiber/fiber/v2 from 2.1.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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/awslabs/aws-lambda-go-api-proxy/network/alerts).
viveklak commented 7 months ago

What is the status of this? There is a CVE out on the specific version of fiber used in this package (everything < 2.50.0 is vulnerable): https://www.cve.org/CVERecord?id=CVE-2023-45141

dependabot[bot] commented 5 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.