fix(deps): update module github.com/gofiber/fiber/v2 to v3#405
fix(deps): update module github.com/gofiber/fiber/v2 to v3#405renovate[bot] merged 1 commit intomainfrom
Conversation
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
WalkthroughThis PR implements a migration path from Fiber v2 to v3 by introducing the v3 framework alongside the existing v2 dependency. The Go version specification is made more explicit (1.25.0), and Fiber v2 is downgraded from v2.52.11 to v2.44.0, likely for compatibility purposes. The update brings several new transitive dependencies related to message pack serialization (msgp, fwd) and performance optimization utilities (dictpool, gotils) that are part of Fiber v3's dependency tree. Additionally, standard golang.org/x packages (crypto, sys, text) and klauspost/compress are updated to newer versions, ensuring the codebase stays current with security patches and performance improvements. Changes
Sequence DiagramThis diagram shows the interactions between components: sequenceDiagram
participant App as Application
participant FiberV2 as Fiber v2 Framework
participant FiberV3 as Fiber v3 Framework
participant Deps as Dependencies
participant LDAP as LDAP Service
Note over App,LDAP: Dependency Initialization Phase
App->>Deps: Load dependencies
activate Deps
Deps->>Deps: Initialize klauspost/compress v1.18.3
Deps->>Deps: Initialize msgp serialization
Deps->>Deps: Initialize dictpool & gotils
Deps->>Deps: Initialize crypto v0.47.0
deactivate Deps
alt Using Fiber v2 (Current)
App->>FiberV2: Initialize HTTP server
activate FiberV2
FiberV2->>App: Server ready
deactivate FiberV2
else Migrating to Fiber v3 (New)
App->>FiberV3: Initialize HTTP server
activate FiberV3
FiberV3->>Deps: Use msgp for serialization
FiberV3->>Deps: Use dictpool for pooling
FiberV3->>App: Server ready
deactivate FiberV3
end
Note over App,LDAP: Runtime Phase
App->>LDAP: Connect using simple-ldap-go v1.8.0
activate LDAP
LDAP-->>App: Connection established
deactivate LDAP
Note over App,FiberV3: Both Fiber v2 and v3 are available<br/>for gradual migration
🔗 Cross-Repository Impact AnalysisEnable automatic detection of breaking changes across your dependent repositories. → Set up now Learn more about Cross-Repository AnalysisWhat It Does
How to Enable
Benefits
Note for WindsurfPlease change the default marketplace provider to the following in the windsurf settings:Marketplace Extension Gallery Service URL: https://marketplace.visualstudio.com/_apis/public/gallery Marketplace Gallery Item URL: https://marketplace.visualstudio.com/items Entelligence.ai can learn from your feedback. Simply add 👍 / 👎 emojis to teach it your preferences. More shortcuts belowEmoji Descriptions:
Interact with the Bot:
Also you can trigger various commands with the bot by doing The current supported commands are
More commands to be added soon. |
95deff3 to
8c76ab4
Compare
|
✅ Review completed for commit 8c76ab4. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #405 +/- ##
=======================================
Coverage 45.58% 45.58%
=======================================
Files 14 14
Lines 702 702
=======================================
Hits 320 320
Misses 365 365
Partials 17 17
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
|
Released in v1.1.0 |
This PR contains the following updates:
v2.52.11→v3.0.0Release Notes
gofiber/fiber (github.com/gofiber/fiber/v2)
v3.0.0Compare Source
For a detailed view of all changes and the migration guide, visit:
https://docs.gofiber.io/next/whats_new
Try our new migration tool to help you upgrade from v2 to v3:
What's Changed
🚀 New Features
Rename WithTlsConfigmethod toWithTLSConfigin (#2570)https://*.example.comstyle subdomains in (#2925)c.SendFile()in (#3017)app.Test()for configurable testing in (#3161)NewErrorfin (#3463)Convert fiber.Ctxtype to interface in (#1928)End()method toCtxin (#3280)ShutdownWithContextFunc in (#3162)context.Contextin keyauth middleware in (#3287)Fiber.Contextimplementcontext.Contextin (#3382)Merge Listenmethods &ListenConfigin (#1930)BodyStream()logic toadaptor.FiberHandlermiddleware in (#3799)Keys()in session middleware in (#3517)net/httpand fasthttp handlers in (#3769)🧹 Updates
[]bytesupport toutils.EqualFoldin (#2029)interface{}to any in (#2796)methodinDefaultCtxin (#3372)c.Redirect()default status in (#3415)Cookie()validation in (#3546)Accept*compliance with RFC 9110 in (#3548)reflect.TypeAssertin (#3698)Client::Param()in (#3782)FullPath()helper to context in (#3837)(Docs)
io/fsin (#2027) (Docs)utils.Trim*because stdlib has same performance in go1.19 in (#2030)c.Body()by 125% in (#3090)IsFromLocal()performance in (#3140)RebuildTree()by 68% in (#3895)🐛 Bug Fixes
DefaultCtx.Freshwhen 'Last-Modified' and 'If-Modified-Since' are equal in (#3150)Subdomains()parsing for IDNs in (#3538)Range()parsing of bytes unit in (#3541)Range()handling of HTTP 416 per RFC 9110 in (#3552)Body()handling of Content-Encoding per RFC 9110 in (#3543)All()merging logic in (#3659)🛠️ Maintenance
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.
This PR was generated by Mend Renovate. View the repository job log.