Skip to content

Build(deps): Bump github.com/gofiber/fiber/v3 from 3.3.0 to 3.4.0#57

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/gofiber/fiber/v3-3.4.0
Open

Build(deps): Bump github.com/gofiber/fiber/v3 from 3.3.0 to 3.4.0#57
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/gofiber/fiber/v3-3.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 2, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/gofiber/fiber/v3 from 3.3.0 to 3.4.0.

Release notes

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

v3.4.0

🚀 New

  • Complete HTTP QUERY method support (#4436, #4456) Adds the HTTP QUERY method (RFC 10008): fiber.MethodQuery, app.Query() routing, safe/idempotent handling in csrf, idempotency, earlydata and cache, plus client.Query() shorthands.
    app.Query("/search", func(c fiber.Ctx) error {
        return c.Send(c.Body()) // QUERY carries the query expression in the body
    })
    https://docs.gofiber.io/client/rest#query
  • Add WithContext variants for session storage I/O (#4393) SaveWithContext, DestroyWithContext, RegenerateWithContext and ResetWithContext propagate deadlines/cancellation to the session storage backend; the plain methods keep working unchanged.
    sess := session.FromContext(c)
    err := sess.SaveWithContext(ctx) // storage write bounded by ctx
    https://docs.gofiber.io/middleware/session#session-with-context-timeoutscancellation
  • Unify internal and custom constraints into a single interface (#4397) Built-in and custom route constraints now share one ConstraintHandler interface; the optional ConstraintAnalyzer precomputes constraint data at route registration, removing per-request parsing. Existing CustomConstraint implementations keep working unchanged.
    app.RegisterCustomConstraint(evenConstraint{}) // implements Name() + Execute()
    app.Get("/items/:id<even>", handler)
    https://docs.gofiber.io/guide/routing#constrainthandler-interface
  • Expose prefork RecoverInterval and ShutdownGracePeriod (#4491) New ListenConfig knobs: PreforkRecoverInterval delays respawning a crashed child (default 0) and PreforkShutdownGracePeriod sets how long the master waits after SIGTERM before SIGKILL (default 5s).
    app.Listen(":3000", fiber.ListenConfig{
        EnablePrefork:              true,
        PreforkRecoverInterval:     time.Second,
        PreforkShutdownGracePeriod: 10 * time.Second,
    })
    https://docs.gofiber.io/api/fiber#preforkrecoverinterval

🧹 Updates

  • Reduce avoidable work in the request hot path (#4490)
  • Avoid per-request heap allocation in DefaultErrorHandler (#4446)
  • Use sentinel errors on typed-getter and Range parse failures (#4448)
  • Replace appendLowerBytes with utilsbytes.UnsafeToLower (#4468)
  • Add MIMETextEventStream constant (#4415)
  • Cache binder decoder type metadata across requests (#4447)
  • Eliminate double reflection in binder mergeStruct (-10% allocs) (#4385)
  • Reduce binder data map allocations (#4379)
  • cache: Append canonical key segments into the pooled buffer (#4450)
  • cors: Optimize subdomain origin matching (#4482)
  • cors: Optimize exact-origin lookup to O(1) (#4368)
  • csrf/redirect: Share scheme/host matching and skip url.Parse on the hot path (#4449)

... (truncated)

Commits
  • e88e762 test(listen): add connection handling for shutdown timeout edge case
  • 96b30bd chore: bump version to v3.4.0
  • cdf4d24 Merge pull request #4491 from gofiber/claude/prefork-knobs-2199
  • 83ad285 Merge pull request #4490 from gofiber/perf/hot-path-micro-optimizations
  • b6a9545 feat(listen): expose prefork RecoverInterval and ShutdownGracePeriod
  • dac0998 perf(router): eliminate bounds checks in route matching hot loops
  • ef3bbef perf(ctx): keep Route within the inlining budget
  • b1a54ac perf(app): skip mounted error-handler lookup when no sub-apps exist
  • 05919e5 Merge pull request #4488 from 0xghost42/fix/fresh-if-modified-since-only
  • e618f63 perf(ctx): skip second date parse when If-Modified-Since echoes Last-Modified
  • 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)

Bumps [github.com/gofiber/fiber/v3](https://github.com/gofiber/fiber) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/gofiber/fiber/releases)
- [Commits](gofiber/fiber@v3.3.0...v3.4.0)

---
updated-dependencies:
- dependency-name: github.com/gofiber/fiber/v3
  dependency-version: 3.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 Jul 2, 2026
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.

0 participants