Skip to content

fix(deps): update module github.com/gofiber/fiber/v3 to v3.1.0#471

Merged
renovate[bot] merged 1 commit intomainfrom
renovate/github.com-gofiber-fiber-v3-3.x
Feb 24, 2026
Merged

fix(deps): update module github.com/gofiber/fiber/v3 to v3.1.0#471
renovate[bot] merged 1 commit intomainfrom
renovate/github.com-gofiber-fiber-v3-3.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 24, 2026

This PR contains the following updates:

Package Change Age Confidence
github.com/gofiber/fiber/v3 v3.0.0v3.1.0 age confidence

Release Notes

gofiber/fiber (github.com/gofiber/fiber/v3)

v3.1.0

Compare Source

🚀 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)
  • prevent panics on non-string log keys (#​4046)

🛠️ Maintenance

  • bump streetsidesoftware/cspell-action from 8.2.0 to 8.3.0 (#​4111)
  • bump the golang-modules group with 3 updates (#​4080)
  • bump github.com/shamaton/msgpack/v3 from 3.0.0 to 3.1.0 (#​4075)
  • bump github.com/klauspost/compress from 1.18.3 to 1.18.4 (#​4076)
  • bump github.com/gofiber/schema from 1.6.0 to 1.7.0 (#​4074)
  • bump golang.org/x/sys from 0.40.0 to 0.41.0 in the golang-modules group (#​4073)
  • bump github/codeql-action from 4.32.3 to 4.32.4 (#​4104)
  • bump github/codeql-action from 4.32.1 to 4.32.2 (#​4058)
  • bump github/codeql-action from 4.32.0 to 4.32.1 (#​4047)

📚 Documentation

  • update versioned storage imports in middleware docs (#​4102)
  • update documentation for parser configuration and request handling (#​4096)
  • fix invalid Go slice literal in middleware registration example (#​4095)
  • document uri struct tag for ctx.Bind().URI() in migration guide (#​4092)
  • document logger Stream rename (#​4057)

📒 Documentation: https://docs.gofiber.io/next/

💬 Discord: https://gofiber.io/discord

Full Changelog: gofiber/fiber@v3.0.0...v3.1.0

Thank you @​ReneWerner87, @​SadikSunbul, @​gaby and @​sixcolors for making this release possible.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge February 24, 2026 21:58
@renovate
Copy link
Contributor Author

renovate bot commented Feb 24, 2026

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 7 additional dependencies were updated

Details:

Package Change
github.com/gofiber/schema v1.6.0 -> v1.7.0
github.com/gofiber/utils/v2 v2.0.0 -> v2.0.2
github.com/klauspost/compress v1.18.3 -> v1.18.4
golang.org/x/crypto v0.47.0 -> v0.48.0
golang.org/x/net v0.49.0 -> v0.50.0
golang.org/x/sys v0.40.0 -> v0.41.0
golang.org/x/text v0.33.0 -> v0.34.0

@renovate renovate bot merged commit e9a7ba0 into main Feb 24, 2026
11 of 13 checks passed
@renovate renovate bot deleted the renovate/github.com-gofiber-fiber-v3-3.x branch February 24, 2026 21:58
@codecov
Copy link

codecov bot commented Feb 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.41%. Comparing base (18d54bf) to head (d6a5243).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #471   +/-   ##
=======================================
  Coverage   92.41%   92.41%           
=======================================
  Files          15       15           
  Lines         725      725           
=======================================
  Hits          670      670           
  Misses         46       46           
  Partials        9        9           
Flag Coverage Δ
backend 92.41% <ø> (ø)
integration 92.41% <ø> (ø)
unittests 90.06% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 18d54bf...d6a5243. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants