Skip to content

chore(deps): bump github.com/gofiber/fiber/v3 from 3.0.0 to 3.1.0#48

Merged
bfabio merged 1 commit intomainfrom
dependabot/go_modules/github.com/gofiber/fiber/v3-3.1.0
Feb 25, 2026
Merged

chore(deps): bump github.com/gofiber/fiber/v3 from 3.0.0 to 3.1.0#48
bfabio merged 1 commit intomainfrom
dependabot/go_modules/github.com/gofiber/fiber/v3-3.1.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 25, 2026

Bumps github.com/gofiber/fiber/v3 from 3.0.0 to 3.1.0.

Release notes

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

v3.1.0

🚀 New

  • expand middleware context helpers (#4079)
app := fiber.New(fiber.Config{
    PassLocalsToContext: true, // default: false
})
// Works for requestid, csrf, session, basicauth, keyauth middlewares
app.Use(requestid.New())
app.Get("/", func(ctx fiber.Ctx) error {
// Value helpers from middlewares works now with 3 different context items
id := requestid.FromContext(ctx)              // works always
id := requestid.FromContext(ctx.RequestCtx()) // works always
id := requestid.FromContext(ctx.Context())    // works only when PassLocalsToContext is true
return c.SendString(id)

})

https://docs.gofiber.io/api/fiber/#passlocalstocontext

🧹 Updates

  • update utils and add go 1.26 for test workflow (#4087)
  • optimize helpers performance (#4049)
  • harden numeric constraint parsing and expand route tests (#4054)

🐛 Fixes

  • harden DefaultRes.Format against nil handler panics (#4105)
  • guard nil request in adaptor LocalContextFromHTTPRequest (#4097)
  • fix Unix-socket support in IsProxyTrusted (#4088)
  • harden proxy nil client handling in Do/Forward paths (#4083)
  • add nil-safety to response decode helpers (#4081)
  • sanitize attachment/download filenames (#4070)
  • harden flash cookie detection (#4078)
  • fix bind struct validation only for struct targets (#4082)
  • enforce Range header limit configuration (#4071)
  • apply limits to msgp serialization (#4065)
  • fix sanitizePath validation logic (#4064)
  • fix Test method returning empty response on timeout (#4063)
  • fix nil pointer dereference in context methods when accessed after release (#4062)
  • retry addon: remove unnecessary sleep after last failed attempt (#4060)
  • make TLS listener config discovery safer (#4055)
  • validate nil services early and during lifecycle (#4050)
  • skip non-string state keys during iteration (#4048)
  • harden Port() handling (#4051)

... (truncated)

Commits
  • 3c24ebe Update fiber package version to 3.1.0
  • 189f330 Merge pull request #4111 from gofiber/dependabot/github_actions/streetsidesof...
  • 0c6403f build(deps): bump streetsidesoftware/cspell-action from 8.2.0 to 8.3.0
  • 082e205 Merge pull request #4105 from gofiber/harden-defaultres.format-against-nil-ha...
  • 69324b9 🐛 bug: guard Format against nil handlers
  • 92ada8a Merge pull request #4104 from gofiber/dependabot/github_actions/github/codeql...
  • 4c24e6c build(deps): bump github/codeql-action from 4.32.3 to 4.32.4
  • 6b9cb8c docs: update Fiber version in benchmarks.md to v3.0.0
  • ce787a6 docs: update image paths and benchmark results in README and benchmarks.md
  • 87ce0f9 Merge pull request #4079 from gofiber/update-middleware-helpers-for-context-t...
  • 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 show <dependency name> 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [github.com/gofiber/fiber/v3](https://github.com/gofiber/fiber) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/gofiber/fiber/releases)
- [Commits](gofiber/fiber@v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: github.com/gofiber/fiber/v3
  dependency-version: 3.1.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Feb 25, 2026
@bfabio bfabio merged commit 3d2c4f3 into main Feb 25, 2026
3 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/gofiber/fiber/v3-3.1.0 branch February 25, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant