[PR #197] [MERGED] chore(deps): bump github.com/gofiber/fiber/v2 from 2.41.0 to 2.42.0 #227

Closed
opened 2026-03-03 11:56:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Finb/bark-server/pull/197
Author: @dependabot[bot]
Created: 2/6/2023
Status: Merged
Merged: 2/6/2023
Merged by: @mritd

Base: masterHead: dependabot/go_modules/github.com/gofiber/fiber/v2-2.42.0


📝 Commits (1)

  • 86bd401 chore(deps): bump github.com/gofiber/fiber/v2 from 2.41.0 to 2.42.0

📊 Changes

2 files changed (+28 additions, -8 deletions)

View changed files

📝 go.mod (+7 -3)
📝 go.sum (+21 -5)

📄 Description

Bumps github.com/gofiber/fiber/v2 from 2.41.0 to 2.42.0.

Release notes

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

v2.42.0

🚀 New

// GET http://example.com/?id=5555
app.Get("/", func(c *fiber.Ctx) error {
    c.QueryInt("id", 1)         // 5555
    // ...
})

adds support for TLS 1.3's early data ("0-RTT") feature

app.Use(earlydata.New())

allows for fault-tolerant APIs where duplicate requests — for example due to networking issues on the client-side — do not erroneously cause the same action performed multiple times on the server-side.

app.Use(idempotency.New(idempotency.Config{
    Lifetime: 42 * time.Minute,
    // ...
}))
// If you want to forward with a specific domain. You have to use proxy.DomainForward.
app.Get("/payments", proxy.DomainForward("docs.gofiber.io", "http://localhost:8000"))

// Or this way if the balancer is using https and the destination server is only using http. app.Use(proxy.BalancerForward([]string{ "http://localhost:3001", "http://localhost:3002", "http://localhost:3003", }))

🧹 Updates/CI

... (truncated)

Commits
  • 61a3336 add forward from domain (#2323)
  • 028d821 prepare release
  • 675f518 prepare release for v2.42.0
  • 21cd45b PR: add url for favicon middleware, for correct handling different of… (#2231)
  • 2820aef 🧹 chore: add go 1.20 to ci and readmes (#2322)
  • ac4ce21 🐛 Bug: Fix issues introduced in linting PR (#2319)
  • 44d0920 🚀 Feature: Add earlydata middleware (v2 backport) (#2314)
  • de7e2b5 openssl rand -base64 32 (#2316)
  • 6dc7a12 📝 docs(filesystem): clean duplicated namespace for example (#2313)
  • 167a8b5 🚀 Feature: Add and apply more stricter golangci-lint linting rules (#2286)
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Finb/bark-server/pull/197 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 2/6/2023 **Status:** ✅ Merged **Merged:** 2/6/2023 **Merged by:** [@mritd](https://github.com/mritd) **Base:** `master` ← **Head:** `dependabot/go_modules/github.com/gofiber/fiber/v2-2.42.0` --- ### 📝 Commits (1) - [`86bd401`](https://github.com/Finb/bark-server/commit/86bd4014009e7e0ca8d5d95325fc0b0979307d30) chore(deps): bump github.com/gofiber/fiber/v2 from 2.41.0 to 2.42.0 ### 📊 Changes **2 files changed** (+28 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+7 -3) 📝 `go.sum` (+21 -5) </details> ### 📄 Description Bumps [github.com/gofiber/fiber/v2](https://github.com/gofiber/fiber) from 2.41.0 to 2.42.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/gofiber/fiber/releases">github.com/gofiber/fiber/v2's releases</a>.</em></p> <blockquote> <h2>v2.42.0</h2> <h2>🚀 New</h2> <ul> <li>Ctx: Context method for query paramters with numbers (<a href="https://github-redirect.dependabot.com/gofiber/fiber/issues/2306">#2306</a>) <a href="https://docs.gofiber.io/api/ctx#queryint">https://docs.gofiber.io/api/ctx#queryint</a></li> </ul> <pre lang="go"><code>// GET http://example.com/?id=5555 app.Get(&quot;/&quot;, func(c *fiber.Ctx) error { c.QueryInt(&quot;id&quot;, 1) // 5555 // ... }) </code></pre> <ul> <li>Middleware/earlydata: Add earlydata middleware (v2 backport) (<a href="https://github-redirect.dependabot.com/gofiber/fiber/issues/2314">#2314</a>) <a href="https://docs.gofiber.io/api/middleware/earlydata">https://docs.gofiber.io/api/middleware/earlydata</a></li> </ul> <blockquote> <p>adds support for TLS 1.3's early data (&quot;0-RTT&quot;) feature</p> </blockquote> <pre lang="go"><code>app.Use(earlydata.New()) </code></pre> <ul> <li>Middleware/idempotency: Add idempotency middleware (v2 backport) (<a href="https://github-redirect.dependabot.com/gofiber/fiber/issues/2288">#2288</a>) <a href="https://docs.gofiber.io/api/middleware/idempotency">https://docs.gofiber.io/api/middleware/idempotency</a></li> </ul> <blockquote> <p>allows for fault-tolerant APIs where duplicate requests — for example due to networking issues on the client-side — do not erroneously cause the same action performed multiple times on the server-side.</p> </blockquote> <pre lang="go"><code>app.Use(idempotency.New(idempotency.Config{ Lifetime: 42 * time.Minute, // ... })) </code></pre> <ul> <li>Middleware/proxy: Add forward from domain (<a href="https://github-redirect.dependabot.com/gofiber/fiber/issues/2323">#2323</a>) <a href="https://docs.gofiber.io/api/middleware/proxy">https://docs.gofiber.io/api/middleware/proxy</a></li> </ul> <pre lang="go"><code>// If you want to forward with a specific domain. You have to use proxy.DomainForward. app.Get(&quot;/payments&quot;, proxy.DomainForward(&quot;docs.gofiber.io&quot;, &quot;http://localhost:8000&quot;)) <p>// Or this way if the balancer is using https and the destination server is only using http. app.Use(proxy.BalancerForward([]string{ &quot;<a href="http://localhost:3001">http://localhost:3001</a>&quot;, &quot;<a href="http://localhost:3002">http://localhost:3002</a>&quot;, &quot;<a href="http://localhost:3003">http://localhost:3003</a>&quot;, })) </code></pre></p> <h2>🧹 Updates/CI</h2> <ul> <li>Middleware/favicon: Add url for favicon middleware, for correct handling different of… (<a href="https://github-redirect.dependabot.com/gofiber/fiber/issues/2231">#2231</a>) <a href="https://docs.gofiber.io/api/middleware/favicon">https://docs.gofiber.io/api/middleware/favicon</a></li> <li>CI: Add go 1.20 to ci and readmes (<a href="https://github-redirect.dependabot.com/gofiber/fiber/issues/2322">#2322</a>)</li> <li>CI: Add and apply more stricter golangci-lint linting rules (<a href="https://github-redirect.dependabot.com/gofiber/fiber/issues/2286">#2286</a>)</li> <li>CI: Added testcases and minor algorithm improvment (<a href="https://github-redirect.dependabot.com/gofiber/fiber/issues/2308">#2308</a>)</li> <li>CI: Make most tests parallel (<a href="https://github-redirect.dependabot.com/gofiber/fiber/issues/2299">#2299</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/gofiber/fiber/commit/61a3336119fa4bde5911d9af34950e1ae3144dbb"><code>61a3336</code></a> add forward from domain (<a href="https://github-redirect.dependabot.com/gofiber/fiber/issues/2323">#2323</a>)</li> <li><a href="https://github.com/gofiber/fiber/commit/028d821beae35dac01a795269e58db5ab5a9cc50"><code>028d821</code></a> prepare release</li> <li><a href="https://github.com/gofiber/fiber/commit/675f5181ce303056719720ea8338cfed3b5fc171"><code>675f518</code></a> prepare release for v2.42.0</li> <li><a href="https://github.com/gofiber/fiber/commit/21cd45b750a723a5fc87a8bfb9d4b12016a901fa"><code>21cd45b</code></a> PR: add url for favicon middleware, for correct handling different of… (<a href="https://github-redirect.dependabot.com/gofiber/fiber/issues/2231">#2231</a>)</li> <li><a href="https://github.com/gofiber/fiber/commit/2820aef585a976caa8a3026c4774efb0fe5d1410"><code>2820aef</code></a> :broom: chore: add go 1.20 to ci and readmes (<a href="https://github-redirect.dependabot.com/gofiber/fiber/issues/2322">#2322</a>)</li> <li><a href="https://github.com/gofiber/fiber/commit/ac4ce21d9cf35ce56fefd347a198b10232a595ae"><code>ac4ce21</code></a> 🐛 Bug: Fix issues introduced in linting PR (<a href="https://github-redirect.dependabot.com/gofiber/fiber/issues/2319">#2319</a>)</li> <li><a href="https://github.com/gofiber/fiber/commit/44d09209e730a8bf73ed7e03d431fdded87bfc9f"><code>44d0920</code></a> 🚀 Feature: Add earlydata middleware (v2 backport) (<a href="https://github-redirect.dependabot.com/gofiber/fiber/issues/2314">#2314</a>)</li> <li><a href="https://github.com/gofiber/fiber/commit/de7e2b57e57c7b5ccb0787a391f10b77cc400d5b"><code>de7e2b5</code></a> openssl rand -base64 32 (<a href="https://github-redirect.dependabot.com/gofiber/fiber/issues/2316">#2316</a>)</li> <li><a href="https://github.com/gofiber/fiber/commit/6dc7a123fb542eba462f64cb3ebe84912026533c"><code>6dc7a12</code></a> 📝 docs(filesystem): clean duplicated namespace for example (<a href="https://github-redirect.dependabot.com/gofiber/fiber/issues/2313">#2313</a>)</li> <li><a href="https://github.com/gofiber/fiber/commit/167a8b5e9421e0ab51fbf44c5621632f4a1a90c5"><code>167a8b5</code></a> 🚀 Feature: Add and apply more stricter golangci-lint linting rules (<a href="https://github-redirect.dependabot.com/gofiber/fiber/issues/2286">#2286</a>)</li> <li>Additional commits viewable in <a href="https://github.com/gofiber/fiber/compare/v2.41.0...v2.42.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/gofiber/fiber/v2&package-manager=go_modules&previous-version=2.41.0&new-version=2.42.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 11:56:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bark-server#227
No description provided.