fix(deps): update module github.com/quic-go/quic-go to v0.48.0 - autoclosed #281

Merged
sam merged 1 commit from renovate/github.com-quic-go-quic-go-0.x into master 2024-10-15 14:00:29 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
github.com/quic-go/quic-go require minor v0.47.0 -> v0.48.0

Release Notes

quic-go/quic-go (github.com/quic-go/quic-go)

v0.48.0

Compare Source

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.

In the upcoming release(s), we will continue this work.

Changelog

Full Changelog: https://github.com/quic-go/quic-go/compare/v0.47.0...v0.48.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) | require | minor | `v0.47.0` -> `v0.48.0` | --- ### Release Notes <details> <summary>quic-go/quic-go (github.com/quic-go/quic-go)</summary> ### [`v0.48.0`](https://github.com/quic-go/quic-go/releases/tag/v0.48.0) [Compare Source](https://github.com/quic-go/quic-go/compare/v0.47.0...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 [#&#8203;153](https://github.com/quic-go/quic-go/issues/153)). #### Breaking Changes - The HTTP/3 client API was made more consistent with the Go standard library's HTTP/1 and HTTP/2 naming: [#&#8203;4693](https://github.com/quic-go/quic-go/issues/4693) - The deprecated `qlog.DefaultTracer` function was removed: [#&#8203;4697](https://github.com/quic-go/quic-go/issues/4697) - The deprecated `http3.Server.SetQuicHeader` method and `http3.ListenAndServe` were removed: [#&#8203;4698](https://github.com/quic-go/quic-go/issues/4698) - `http3.Server.Close` now closes immediately all QUIC connections: [#&#8203;4689](https://github.com/quic-go/quic-go/issues/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 [@&#8203;sukunrt](https://github.com/sukunrt) for the fix): [#&#8203;4673](https://github.com/quic-go/quic-go/issues/4673) - HTTP/3 Capsule Parsing logic didn't work for capsules that weren't read with a single `Read` call: [#&#8203;4683](https://github.com/quic-go/quic-go/issues/4683) #### Behind The Scenes We've started migrating our test suite away from [Ginkgo](https://github.com/onsi/ginkgo) (tracking issue: [#&#8203;3652](https://github.com/quic-go/quic-go/issues/3652)), and towards a more idiomatic approach to testing Go code (using [require](https://pkg.go.dev/github.com/stretchr/testify)). This is a massive endevour, as our test suite is around 47k LOC. In this release, a large number of Go packages were translated: [#&#8203;4640](https://github.com/quic-go/quic-go/issues/4640), [#&#8203;4641](https://github.com/quic-go/quic-go/issues/4641), [#&#8203;4642](https://github.com/quic-go/quic-go/issues/4642), [#&#8203;4643](https://github.com/quic-go/quic-go/issues/4643), [#&#8203;4649](https://github.com/quic-go/quic-go/issues/4649), [#&#8203;4650](https://github.com/quic-go/quic-go/issues/4650), [#&#8203;4652](https://github.com/quic-go/quic-go/issues/4652), [#&#8203;4662](https://github.com/quic-go/quic-go/issues/4662), [#&#8203;4670](https://github.com/quic-go/quic-go/issues/4670), [#&#8203;4671](https://github.com/quic-go/quic-go/issues/4671), [#&#8203;4675](https://github.com/quic-go/quic-go/issues/4675), [#&#8203;4667](https://github.com/quic-go/quic-go/issues/4667), [#&#8203;4676](https://github.com/quic-go/quic-go/issues/4676), [#&#8203;4680](https://github.com/quic-go/quic-go/issues/4680), [#&#8203;4681](https://github.com/quic-go/quic-go/issues/4681). In the upcoming release(s), we will continue this work. #### Changelog - qlog: migrate tests away from Ginkgo by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4640 - logging: migrate tests away from Ginkgo by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4641 - qerr: move away from Ginkgo by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4649 - qtls: migrate tests away from Ginkgo by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4642 - interop: move away from Ginkgo by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4652 - protocol: move away from Ginkgo by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4650 - quicvarint: migrate tests away from Ginkgo by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4662 - ringbuffer: migrate test away from Ginkgo by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4671 - testdata: migrate tests away from Ginkgo by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4670 - utils: remove unused methods and constructor from RTTStats by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4672 - wire: migrate tests away from Ginkgo by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4643 - stream: don't cancel stream after shutdown by [@&#8203;sukunrt](https://github.com/sukunrt) in https://github.com/quic-go/quic-go/pull/4673 - utils: migrate tests away from Ginkgo by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4675 - versionnegotiation: migrate tests away from Ginkgo by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4676 - proxy: migrate tests away from Ginkgo by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4680 - fuzzing: migrate tests for helper function away from Ginkgo by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4681 - http3: fix capsule parsing by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4683 - http3: immediately close all connections on Server.Close by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4689 - handshake: migrate tests away from Ginkgo by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4667 - http3: send GOAWAY when server is shutting down by [@&#8203;WeidiDeng](https://github.com/WeidiDeng) and [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4691 - http3: improve the client API by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4693 - http3: export the Capsule-Protocol header value by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4690 - http3: don't expose ClientConn.HandleUnidirectionalStreams by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4695 - http3: improve documentation for Transport and ClientConn by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4696 - qlog: remove deprecated DefaultTracer function by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4697 - http3: remove deprecated ListenAndServe and Server.SetQuicHeader by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4698 - http3: add (deprecated) type aliases for RoundTripper and SingleDestinationRoundTripper by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4699 - http3: output panic stack trace as a string by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4700 - http3: rename Server.CloseGracefully to Shutdown by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4701 **Full Changelog**: https://github.com/quic-go/quic-go/compare/v0.47.0...v0.48.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMTUuMSIsInVwZGF0ZWRJblZlciI6IjM4LjExNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
renovate-bot added 1 commit 2024-10-15 13:54:43 +00:00
fix(deps): update module github.com/quic-go/quic-go to v0.48.0
Some checks failed
Test / test (oldstable) (push) Failing after 59s
Test / test (stable) (push) Has been cancelled
08aed401c1
renovate-bot scheduled this pull request to auto merge when all checks succeed 2024-10-15 13:54:43 +00:00
sam merged commit 08aed401c1 into master 2024-10-15 14:00:29 +00:00
sam deleted branch renovate/github.com-quic-go-quic-go-0.x 2024-10-15 14:00:30 +00:00
renovate-bot changed title from fix(deps): update module github.com/quic-go/quic-go to v0.48.0 to fix(deps): update module github.com/quic-go/quic-go to v0.48.0 - autoclosed 2024-10-15 14:00:41 +00:00
Sign in to join this conversation.
No description provided.