Commit e9a7ba0
authored
fix(deps): update module github.com/gofiber/fiber/v3 to v3.1.0 (#471)
This PR contains the following updates:
| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[github.com/gofiber/fiber/v3](https://redirect.github.com/gofiber/fiber)
| `v3.0.0` → `v3.1.0` |

|

|
---
### Release Notes
<details>
<summary>gofiber/fiber (github.com/gofiber/fiber/v3)</summary>
###
[`v3.1.0`](https://redirect.github.com/gofiber/fiber/releases/tag/v3.1.0)
[Compare
Source](https://redirect.github.com/gofiber/fiber/compare/v3.0.0...v3.1.0)
#### 🚀 New
- expand middleware context helpers
([#​4079](https://redirect.github.com/gofiber/fiber/issues/4079))
```go
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](https://redirect.github.com/gofiber/fiber/issues/4087))
- optimize helpers performance
([#​4049](https://redirect.github.com/gofiber/fiber/issues/4049))
- harden numeric constraint parsing and expand route tests
([#​4054](https://redirect.github.com/gofiber/fiber/issues/4054))
#### 🐛 Fixes
- harden DefaultRes.Format against nil handler panics
([#​4105](https://redirect.github.com/gofiber/fiber/issues/4105))
- guard nil request in adaptor LocalContextFromHTTPRequest
([#​4097](https://redirect.github.com/gofiber/fiber/issues/4097))
- fix Unix-socket support in IsProxyTrusted
([#​4088](https://redirect.github.com/gofiber/fiber/issues/4088))
- harden proxy nil client handling in Do/Forward paths
([#​4083](https://redirect.github.com/gofiber/fiber/issues/4083))
- add nil-safety to response decode helpers
([#​4081](https://redirect.github.com/gofiber/fiber/issues/4081))
- sanitize attachment/download filenames
([#​4070](https://redirect.github.com/gofiber/fiber/issues/4070))
- harden flash cookie detection
([#​4078](https://redirect.github.com/gofiber/fiber/issues/4078))
- fix bind struct validation only for struct targets
([#​4082](https://redirect.github.com/gofiber/fiber/issues/4082))
- enforce Range header limit configuration
([#​4071](https://redirect.github.com/gofiber/fiber/issues/4071))
- apply limits to msgp serialization
([#​4065](https://redirect.github.com/gofiber/fiber/issues/4065))
- fix sanitizePath validation logic
([#​4064](https://redirect.github.com/gofiber/fiber/issues/4064))
- fix Test method returning empty response on timeout
([#​4063](https://redirect.github.com/gofiber/fiber/issues/4063))
- fix nil pointer dereference in context methods when accessed after
release
([#​4062](https://redirect.github.com/gofiber/fiber/issues/4062))
- retry addon: remove unnecessary sleep after last failed attempt
([#​4060](https://redirect.github.com/gofiber/fiber/issues/4060))
- make TLS listener config discovery safer
([#​4055](https://redirect.github.com/gofiber/fiber/issues/4055))
- validate nil services early and during lifecycle
([#​4050](https://redirect.github.com/gofiber/fiber/issues/4050))
- skip non-string state keys during iteration
([#​4048](https://redirect.github.com/gofiber/fiber/issues/4048))
- harden Port() handling
([#​4051](https://redirect.github.com/gofiber/fiber/issues/4051))
- prevent panics on non-string log keys
([#​4046](https://redirect.github.com/gofiber/fiber/issues/4046))
#### 🛠️ Maintenance
- bump streetsidesoftware/cspell-action from 8.2.0 to 8.3.0
([#​4111](https://redirect.github.com/gofiber/fiber/issues/4111))
- bump the golang-modules group with 3 updates
([#​4080](https://redirect.github.com/gofiber/fiber/issues/4080))
- bump github.com/shamaton/msgpack/v3 from 3.0.0 to 3.1.0
([#​4075](https://redirect.github.com/gofiber/fiber/issues/4075))
- bump github.com/klauspost/compress from 1.18.3 to 1.18.4
([#​4076](https://redirect.github.com/gofiber/fiber/issues/4076))
- bump github.com/gofiber/schema from 1.6.0 to 1.7.0
([#​4074](https://redirect.github.com/gofiber/fiber/issues/4074))
- bump golang.org/x/sys from 0.40.0 to 0.41.0 in the golang-modules
group
([#​4073](https://redirect.github.com/gofiber/fiber/issues/4073))
- bump github/codeql-action from 4.32.3 to 4.32.4
([#​4104](https://redirect.github.com/gofiber/fiber/issues/4104))
- bump github/codeql-action from 4.32.1 to 4.32.2
([#​4058](https://redirect.github.com/gofiber/fiber/issues/4058))
- bump github/codeql-action from 4.32.0 to 4.32.1
([#​4047](https://redirect.github.com/gofiber/fiber/issues/4047))
#### 📚 Documentation
- update versioned storage imports in middleware docs
([#​4102](https://redirect.github.com/gofiber/fiber/issues/4102))
- update documentation for parser configuration and request handling
([#​4096](https://redirect.github.com/gofiber/fiber/issues/4096))
- fix invalid Go slice literal in middleware registration example
([#​4095](https://redirect.github.com/gofiber/fiber/issues/4095))
- document `uri` struct tag for `ctx.Bind().URI()` in migration guide
([#​4092](https://redirect.github.com/gofiber/fiber/issues/4092))
- document logger Stream rename
([#​4057](https://redirect.github.com/gofiber/fiber/issues/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](https://redirect.github.com/ReneWerner87),
[@​SadikSunbul](https://redirect.github.com/SadikSunbul),
[@​gaby](https://redirect.github.com/gaby) and
[@​sixcolors](https://redirect.github.com/sixcolors) for making
this release possible.
</details>
---
### 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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/netresearch/ldap-selfservice-password-changer).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4zMi4wIiwidXBkYXRlZEluVmVyIjoiNDMuMzIuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->2 files changed
+24
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
| 65 | + | |
| 66 | + | |
63 | 67 | | |
64 | 68 | | |
| 69 | + | |
| 70 | + | |
65 | 71 | | |
66 | 72 | | |
67 | 73 | | |
| |||
86 | 92 | | |
87 | 93 | | |
88 | 94 | | |
| 95 | + | |
| 96 | + | |
89 | 97 | | |
90 | 98 | | |
91 | 99 | | |
| |||
184 | 192 | | |
185 | 193 | | |
186 | 194 | | |
| 195 | + | |
| 196 | + | |
187 | 197 | | |
188 | 198 | | |
| 199 | + | |
| 200 | + | |
189 | 201 | | |
190 | 202 | | |
191 | 203 | | |
192 | 204 | | |
193 | 205 | | |
194 | 206 | | |
195 | 207 | | |
| 208 | + | |
| 209 | + | |
196 | 210 | | |
197 | 211 | | |
198 | 212 | | |
199 | 213 | | |
| 214 | + | |
| 215 | + | |
200 | 216 | | |
201 | 217 | | |
202 | 218 | | |
| |||
0 commit comments