fix(deps): update module github.com/gofiber/fiber/v3 to v3.6.1 #31
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/go-dependencies"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v3.5.0→v3.6.1Release Notes
gofiber/fiber (github.com/gofiber/fiber/v3)
v3.6.1Compare Source
🧹 Updates
🐛 Fixes
🛠️ Maintenance
📚 Documentation
📒 Documentation: https://docs.gofiber.io/
💬 Discord: https://gofiber.io/discord
Full Changelog: https://github.com/gofiber/fiber/compare/v3.6.0...v3.6.1
Thank you @alexandear, @gaby, @ninadsutrave and @ReneWerner87 for making this release possible.
v3.6.0Compare Source
⚡ Performance
Fiber v3.6.0 ships with fasthttp v1.75.0. With it, Fiber v3 is back on par with the speed of v2, despite the additional security mechanisms built in since then.
Negative is faster than v2. v3.6.0 was measured on
mainthree days before the release.All scenarios are published on our benchmarks page, where we now continuously make sure that v3 does not get slower again.
https://gofiber.github.io/benchmarks/
🚀 New
New tokenless middleware that rejects unsafe cross-origin browser requests by their
Sec-Fetch-SiteandOriginheaders; no cookie, token or storage needed. https://docs.gofiber.io/middleware/csrf#cross-origin-protection-without-tokensfasthttp v1.75.0 (from v1.73.0) parses and validates request headers in one pass, writes responses with fewer copies, serves cached files up to 8 KiB from memory and speeds up URI processing.
https://github.com/valyala/fasthttp/releases/tag/v1.75.0
ReadBufferSizeandWriteBufferSizenow default to8192bytes (was4096), which also raises the default request header limit; explicitly configured values are kept. https://docs.gofiber.io/api/fiber#readbuffersizeNew helpers on
Req,ResandCtxsuch asBearer,Origin,IsSafe,Del,StatusCode,GetCookies,ElapsedandRouteName; request helpers are now also reachable throughc.Req(). https://docs.gofiber.io/api/ctxNew
c.Endpoint()returns the route that will handle the request without advancing the handler chain (nilon404/405). https://docs.gofiber.io/api/ctx#endpointNew
RuleList []Ruleinredirectandrewriteis tried in the order written, first match wins; theRulesmap is deprecated and setting both panics. https://docs.gofiber.io/middleware/redirect#rule-orderNew
app.Renderwrites a template through the configured view engine to anyio.Writerwithout creating an HTTP response, e.g. for SSE or HTMX partials. https://docs.gofiber.io/api/app#renderNew
AddFinalRequestHookruns after the built-in hooks, immediately before the request is sent, whenRawRequestholds the resolved URL, merged headers and serialized body. https://docs.gofiber.io/client/hooks#final-request-hooksNew
c.SetLocal(key, value)stores a request-local value exactly likec.Locals(key, value), without the one-element slice that call allocates.https://docs.gofiber.io/api/ctx#setlocal
New
fiber.ConfigoptionDisableFlashMessagesturns off redirect flash messages and the per-requestfiber_flashcookie scan (off by default); the router gains a precomputed probe-constant filter. https://docs.gofiber.io/api/fiber#disableflashmessagesNew
extractors.Resolvereturns the value together with theSourceandKeyof the chain child that produced it; theExtractorstruct is unchanged. https://docs.gofiber.io/guide/extractors#source-aware-extraction🧹 Updates
🐛 Fixes
🛠️ Maintenance
41 changes
📚 Documentation
📒 Documentation: https://docs.gofiber.io/
💬 Discord: https://gofiber.io/discord
Full Changelog: https://github.com/gofiber/fiber/compare/v3.5.0...v3.6.0
Thank you @00200200, @Arvin-Lee, @AshSgDe29071999, @BitWeaverDev, @Dev-next-gen, @Rachit-Gandhi, @ReneWerner87, @Rohilalala, @RubenPari, @VedantMadane, @ZihxS, @aditya-rohilla, @drakeo338, @evgenyponomarev, @fadiromdhan3, @fadiroot, @gaby, @h2zi, @haimingZZ, @ibraah007, @jabrailkhalil, @lazerg, @official-burak and @truongbo17 for making this release possible.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
ℹ️ Artifact update notice
File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the
go getcommand, which resulted in the following additional change(s):Details:
github.com/gofiber/schemav1.8.3->v1.8.8github.com/gofiber/utils/v2v2.4.1->v2.6.2github.com/klauspost/compressv1.19.2->v1.20.3github.com/mattn/go-colorablev0.1.15->v0.1.16github.com/tinylib/msgpv1.6.4->v1.6.5github.com/valyala/fasthttpv1.73.0->v1.75.0golang.org/x/cryptov0.57.0->v0.58.0golang.org/x/netv0.59.0->v0.61.0View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.