pastebin-ipfs
pastebin-ipfs copied to clipboard
build(deps): bump github.com/gofiber/fiber/v2 from 2.26.0 to 2.42.0
Bumps github.com/gofiber/fiber/v2 from 2.26.0 to 2.42.0.
Release notes
Sourced from github.com/gofiber/fiber/v2's releases.
v2.42.0
๐ New
- Ctx: Context method for query paramters with numbers (#2306) https://docs.gofiber.io/api/ctx#queryint
// GET http://example.com/?id=5555 app.Get("/", func(c *fiber.Ctx) error { c.QueryInt("id", 1) // 5555 // ... })
- Middleware/earlydata: Add earlydata middleware (v2 backport) (#2314) https://docs.gofiber.io/api/middleware/earlydata
adds support for TLS 1.3's early data ("0-RTT") feature
app.Use(earlydata.New())
- Middleware/idempotency: Add idempotency middleware (v2 backport) (#2288) https://docs.gofiber.io/api/middleware/idempotency
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, // ... }))
- Middleware/proxy: Add forward from domain (#2323) https://docs.gofiber.io/api/middleware/proxy
// 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
- Middleware/favicon: Add url for favicon middleware, for correct handling different ofโฆ (#2231) https://docs.gofiber.io/api/middleware/favicon
- CI: Add go 1.20 to ci and readmes (#2322)
- CI: Add and apply more stricter golangci-lint linting rules (#2286)
- CI: Added testcases and minor algorithm improvment (#2308)
- CI: Make most tests parallel (#2299)
... (truncated)
Commits
61a3336add forward from domain (#2323)028d821prepare release675f518prepare release for v2.42.021cd45bPR: add url for favicon middleware, for correct handling different ofโฆ (#2231)2820aef:broom: 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)de7e2b5openssl 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 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)