gofiber / websocket

โš ๏ธ Deprecated repository, available within Fiber Contrib.
https://github.com/gofiber/contrib/tree/main/websocket
MIT License
288 stars 25 forks source link

Bump github.com/gofiber/fiber/v2 from 2.41.0 to 2.42.0 #149

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

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

  • 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
  • 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 :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)
  • 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)