Skip to content

Bump github.com/quic-go/quic-go from 0.40.0 to 0.48.2 in /components/proxy/plugins/configcat #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Dec 2, 2024

Bumps github.com/quic-go/quic-go from 0.40.0 to 0.48.2.

Release notes

Sourced from github.com/quic-go/quic-go's releases.

v0.48.2

This patch release contains fixes for three bugs, including a patch for CVE-2024-53259 (details).

Changelog

Full Changelog: quic-go/quic-go@v0.48.1...v0.48.2

v0.48.1

This patch releases fixes a panic in the shutdown logic of the http3.Server that was introduced in v0.48.0. Thanks to @​WeidiDeng for the fix!

Changelog

Full Changelog: quic-go/quic-go@v0.48.0...v0.48.1

v0.48.0

New Features

The http3.Server now supports graceful shutdown: calling Shutdown stops the server from accepting new connections, and new HTTP requests on existing connections. It continues serving existing connections until all active requests have completed (or the context is canceled).

On the wire, graceful shutdown is signaled by sending a GOAWAY frame. This tells the client that the server will not accept any new requests. Clients are expected to finish existing requests and then close the QUIC connection.

Client-side support for graceful shutdown is not implemented yet (see #153).

Breaking Changes

  • The HTTP/3 client API was made more consistent with the Go standard library's HTTP/1 and HTTP/2 naming: #4693
  • The deprecated qlog.DefaultTracer function was removed: #4697
  • The deprecated http3.Server.SetQuicHeader method and http3.ListenAndServe were removed: #4698
  • http3.Server.Close now closes immediately all QUIC connections: #4689

Note that all connection passed to http3.Server.ServeQUICConn need to be closed by the caller, before calling http3.Server.Close.

Notable Fixes

  • Canceling a stream after connection termination now doesn't change the error returned from Stream.Write and Stream.Read (thanks to @​sukunrt for the fix): #4673
  • HTTP/3 Capsule Parsing logic didn't work for capsules that weren't read with a single Read call: #4683

Behind The Scenes

We've started migrating our test suite away from Ginkgo (tracking issue: #3652), and towards a more idiomatic approach to testing Go code (using require). This is a massive endevour, as our test suite is around 47k LOC.

In this release, a large number of Go packages were translated: #4640, #4641, #4642, #4643, #4649, #4650, #4652, #4662, #4670, #4671, #4675, #4667, #4676, #4680, #4681.

... (truncated)

Commits
  • 34157e6 use IP_PMTUDISC_PROBE instead of IP_PMTUDISC_DO on Linux (#4729)
  • a6ced3a fix race condition in closed connection packet handling (#4720)
  • 955506a fix arming of keep-alive timer after sending PMTUD probe packets (#4716)
  • 98de6ae http3: fix graceful server shutdown (#4707)
  • 6af2b1a http3: rename Server.CloseGracefully to Shutdown (#4701)
  • 4a9a81c http3: output panic stack trace as a string (#4700)
  • 588b93c http3: add (deprecated) type aliases for RoundTripper and SingleDestinationRo...
  • 2dc1e35 http3: remove deprecated ListenAndServe and Server.SetQuicHeader (#4698)
  • d5d7592 qlog: remove deprecated DefaultTracer function (#4697)
  • 29f903f http3: improve documentation for Transport and ClientConn (#4696)
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Summary by Sourcery

Upgrade the quic-go library to version 0.48.2 to incorporate the latest features and bug fixes, including security patches. Update the Go toolchain and other dependencies to their latest versions.

Build:

  • Update the Go toolchain version to 1.22.5 in the go.mod file.

Chores:

  • Upgrade the github.com/quic-go/quic-go dependency from version 0.40.0 to 0.48.2 in the go.mod file.
  • Update various indirect dependencies in the go.mod file to their latest versions.

Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.40.0 to 0.48.2.
- [Release notes](https://github.com/quic-go/quic-go/releases)
- [Changelog](https://github.com/quic-go/quic-go/blob/master/Changelog.md)
- [Commits](quic-go/quic-go@v0.40.0...v0.48.2)

---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Dec 2, 2024
Copy link

sourcery-ai bot commented Dec 2, 2024

Reviewer's Guide by Sourcery

This PR updates the quic-go dependency from v0.40.0 to v0.48.2 along with several other related dependency updates. The update includes important security fixes (CVE-2024-53259), bug fixes, and introduces new features like graceful shutdown support for HTTP/3 servers. The changes primarily affect the dependency versions in the go.mod and go.sum files.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Update quic-go and related dependencies to newer versions
  • Upgrade quic-go from v0.40.0 to v0.48.2
  • Update qpack from v0.4.0 to v0.5.1
  • Update various golang.org/x packages to newer versions
  • Update prometheus client libraries to newer versions
  • Add go1.22.5 toolchain directive
components/proxy/plugins/configcat/go.mod
components/proxy/plugins/configcat/go.sum
Remove deprecated dependencies
  • Remove matttproud/golang_protobuf_extensions dependency
  • Remove quic-go/qtls-go1-20 dependency
components/proxy/plugins/configcat/go.mod
components/proxy/plugins/configcat/go.sum

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants