Skip to content

chore(deps): bump github.com/gofiber/fiber/v3 from 3.4.0 to 3.5.0 - #55

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

chore(deps): bump github.com/gofiber/fiber/v3 from 3.4.0 to 3.5.0#55
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/gofiber/fiber/v3-3.5.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 24, 2026

Copy link
Copy Markdown
Contributor

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

Release notes

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

v3.5.0

🚀 New

  • Harden proxy middleware (#4405) New proxy.SecurityPolicy with secure defaults: private/loopback upstreams, non-http(s) schemes and HTTPS-to-HTTP redirect downgrades are rejected and hop-by-hop headers stripped.
    proxy.WithSecurityPolicy(proxy.SecurityPolicy{
        AllowPrivateIPs: true, // internal upstreams are blocked by default
    })
    https://docs.gofiber.io/middleware/proxy#security
  • Add support for custom binding precedence (#4544) New binding_source struct tag overrides the Bind().All() source order per struct; the resolved order is cached per reflect.Type.
    type SearchReq struct {
        Name string `binding_source:"query,header,cookie,body,uri" query:"name" header:"x-name" json:"name"`
    }
    https://docs.gofiber.io/api/bind#custom-precedence
  • Add SkipUnmatchedRoutes with two-tier 404/405 fast path (#4486) New fiber.Config option that answers unregistered paths with 404/405 before the middleware chain runs (CORS preflight exempt, off by default).
    app := fiber.New(fiber.Config{
        SkipUnmatchedRoutes: true, // default: false
    })
    https://docs.gofiber.io/api/fiber#skipunmatchedroutes

🧹 Updates

  • Speed up route matching with a flat tree index, leading-byte candidate rejection and a specialized /const/:param matcher (#4558)
  • Quick-reject routes on precomputed slash-count bounds (#4517)
  • Restore Route inlining lost in the RFC 9110 changes (#4501)
  • Skip the Accept join allocation in the Format emptiness check (#4503)
  • Skip the ip.String() allocation in IsProxyTrusted for CIDR-only trust configs (#4500)
  • Adopt SWAR-accelerated utils helpers in hot-path scanners (#4536)
  • Adopt gofiber/utils v2.2.0 helpers across hot paths (#4542)
  • Adopt gofiber/utils v2.4.0 helpers and optimize adaptor/proxy hot paths (#4557)
  • adaptor: Cut allocations on the net/http bridge (#4559)
  • cache: Optimize key generation and allocation (#4608)
  • cors: Fold preflight Vary calls into one header scan (#4502)
  • csrf: Optimize trusted subdomain matching (#4543)
  • proxy: Optimize balancer round-robin (#4549)
  • session: Use make() to preallocate relevantExtractors (#4562)
  • De-flake the clock-sensitive tests (#4575)

🐛 Fixes

  • Fix open redirects in composed route URLs and redirect rules (#4584)
  • Preserve published route buckets during rebuilds (#4579)

... (truncated)

Commits
  • 741d851 chore: bump version to v3.5.0
  • 2f5830c Merge pull request #4589 from Rachit-Gandhi/fix/cache-only-if-cached-auth
  • baab347 Merge pull request #4607 from gofiber/propose-fix-for-redirect-precedence-bug
  • b5f6498 Merge pull request #4608 from gofiber/claude/cache-middleware-perf-w7a7xd
  • 3b76214 fix(cache): keep parseVary's cap from reading past what it will reject
  • 9e49594 fix(cache): prime the hit benchmarks, and size the Vary name slice
  • caa6bc6 docs(cache): cite RFC 9110 for the cacheable status codes
  • 2ff82d8 style(cache): drop the unused receiver on keyRecordingStorage.Close
  • 5482edc perf(cache): assemble a cache key in one allocation
  • c7679c5 Merge branch 'main' into propose-fix-for-redirect-precedence-bug
  • 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.4.0 to 3.5.0.
- [Release notes](https://github.com/gofiber/fiber/releases)
- [Commits](gofiber/fiber@v3.4.0...v3.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: security. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Aug 24, 2026
@github-actions

Copy link
Copy Markdown

Benchmark Regression Report

go: downloading github.com/goccy/go-json v0.10.6
goos: linux
goarch: amd64
pkg: github.com/natuleadan/sdk-api/runtime/benchmarks
cpu: AMD EPYC 9V74 80-Core Processor                
                                                 │ /tmp/pr-bench.txt │
                                                 │      sec/op       │
CacheGet-4                                              8.212n ±  1%
CacheSet-4                                              19.89n ±  0%
CrudOperations/marshal-4                                110.9n ±  1%
CrudOperations/unmarshal-4                              137.7n ±  0%
JSONMarshal-4                                           314.2n ±  1%
JSONUnmarshal-4                                         1.287µ ±  2%
JSONMarshalParallel-4                                   175.4n ±  1%
MiddlewareChain/no_middleware-4                         7.758µ ±  2%
MiddlewareChain/prometheus_only-4                       9.387µ ± 14%
MiddlewareChain/bodyreader_prometheus-4                 8.331µ ±  2%
MiddlewareChain/bodyreader_maxbytes_prometheus-4        8.354µ ±  2%
PrometheusSequential-4                                  8.345µ ±  4%
geomean                                                 665.0n

                                                 │ /tmp/pr-bench.txt │
                                                 │       B/op        │
CacheGet-4                                              0.000 ± 0%
CacheSet-4                                              0.000 ± 0%
CrudOperations/marshal-4                                48.00 ± 0%
CrudOperations/unmarshal-4                              80.00 ± 0%
JSONMarshal-4                                           192.0 ± 0%
JSONUnmarshal-4                                         336.0 ± 0%
JSONMarshalParallel-4                                   192.0 ± 0%
MiddlewareChain/no_middleware-4                       5.702Ki ± 0%
MiddlewareChain/prometheus_only-4                     5.750Ki ± 0%
MiddlewareChain/bodyreader_prometheus-4               5.791Ki ± 0%
MiddlewareChain/bodyreader_maxbytes_prometheus-4      5.788Ki ± 0%
PrometheusSequential-4                                5.757Ki ± 0%
geomean                                                            ¹
¹ summaries must be >0 to compute geomean

                                                 │ /tmp/pr-bench.txt │
                                                 │     allocs/op     │
CacheGet-4                                              0.000 ± 0%
CacheSet-4                                              0.000 ± 0%
CrudOperations/marshal-4                                1.000 ± 0%
CrudOperations/unmarshal-4                              2.000 ± 0%
JSONMarshal-4                                           2.000 ± 0%
JSONUnmarshal-4                                         8.000 ± 0%
JSONMarshalParallel-4                                   2.000 ± 0%
MiddlewareChain/no_middleware-4                         25.00 ± 0%
MiddlewareChain/prometheus_only-4                       28.00 ± 0%
MiddlewareChain/bodyreader_prometheus-4                 30.00 ± 0%
MiddlewareChain/bodyreader_maxbytes_prometheus-4        30.00 ± 0%
PrometheusSequential-4                                  29.00 ± 0%
geomean                                                            ¹
¹ summaries must be >0 to compute geomean

go: downloading github.com/klauspost/compress v1.19.1
                                                 │ /tmp/main-bench.txt │
                                                 │       sec/op        │
CacheGet-4                                                8.205n ±  0%
CacheSet-4                                                19.86n ±  0%
CrudOperations/marshal-4                                  110.1n ±  1%
CrudOperations/unmarshal-4                                136.8n ±  2%
JSONMarshal-4                                             309.1n ±  1%
JSONUnmarshal-4                                           1.256µ ±  1%
JSONMarshalParallel-4                                     173.0n ± 41%
MiddlewareChain/no_middleware-4                           7.657µ ± 17%
MiddlewareChain/prometheus_only-4                         7.904µ ±  3%
MiddlewareChain/bodyreader_prometheus-4                   8.177µ ±  1%
MiddlewareChain/bodyreader_maxbytes_prometheus-4          8.291µ ±  2%
PrometheusSequential-4                                    8.185µ ±  2%
geomean                                                   648.5n

                                                 │ /tmp/main-bench.txt │
                                                 │        B/op         │
CacheGet-4                                                0.000 ± 0%
CacheSet-4                                                0.000 ± 0%
CrudOperations/marshal-4                                  48.00 ± 0%
CrudOperations/unmarshal-4                                80.00 ± 0%
JSONMarshal-4                                             192.0 ± 0%
JSONUnmarshal-4                                           336.0 ± 0%
JSONMarshalParallel-4                                     192.0 ± 0%
MiddlewareChain/no_middleware-4                         5.703Ki ± 0%
MiddlewareChain/prometheus_only-4                       5.749Ki ± 0%
MiddlewareChain/bodyreader_prometheus-4                 5.792Ki ± 0%
MiddlewareChain/bodyreader_maxbytes_prometheus-4        5.791Ki ± 0%
PrometheusSequential-4                                  5.758Ki ± 0%
geomean                                                              ¹
¹ summaries must be >0 to compute geomean

                                                 │ /tmp/main-bench.txt │
                                                 │      allocs/op      │
CacheGet-4                                                0.000 ± 0%
CacheSet-4                                                0.000 ± 0%
CrudOperations/marshal-4                                  1.000 ± 0%
CrudOperations/unmarshal-4                                2.000 ± 0%
JSONMarshal-4                                             2.000 ± 0%
JSONUnmarshal-4                                           8.000 ± 0%
JSONMarshalParallel-4                                     2.000 ± 0%
MiddlewareChain/no_middleware-4                           25.00 ± 0%
MiddlewareChain/prometheus_only-4                         28.00 ± 0%
MiddlewareChain/bodyreader_prometheus-4                   30.00 ± 0%
MiddlewareChain/bodyreader_maxbytes_prometheus-4          30.00 ± 0%
PrometheusSequential-4                                    29.00 ± 0%
geomean                                                              ¹
¹ summaries must be >0 to compute geomean

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants