fix(deps): update module github.com/quic-go/quic-go to v0.45.0 #261

Merged
renovate-bot merged 1 commit from renovate/github.com-quic-go-quic-go-0.x into master 2024-06-06 10:01:12 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
github.com/quic-go/quic-go require minor v0.44.0 -> v0.45.0

Release Notes

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

v0.45.0

Compare Source

New Features

Prometheus

quic-go now exports a few Prometheus metrics, allowing users to get an aggregate picture of what's going on inside their QUIC stack. Currently, only a basic set of metrics is exposed, but we plan to track more metrics in the future (#​4554). Head to the documentation to learn how to enable metrics collection.

Prometheus metrics can be used (among others) to build Grafana dashboards, and we provide a sample Grafana dashboard in metrics/dashboard.

Tracing Handshake Progression using a custom context.Context

Users can now set and modify the context that's used on all callbacks called during the handshake, and returned from Connection.Context (#​4507 and #​4536). This allows identifying the connection as it progresses through the different handshake stages. The documentation has more details and code samples.

Better Path MTU Discovery

Path MTU Discovery is used to automatically determine the available MTU of the path, which allows us to send full-size packets. This is especially relevant for high-bandwidth transfers.

Our old PMTUD algorithm was susceptible to packet loss, leading to suboptimal results if an MTU probe packet experienced packet loss in the network. The new algorithm (#​4545) is now resilient to the consecutive loss of up to two probe packets.

Breaking Changes

  • Connection.NextConnection now takes a context and correctly handles handshake failures (#​4551)
  • qlog: DefaultTracer was renamed to DefaultConnectionTracer (#​4556)
  • The ConnectionTracingKey is now deprecated. Use Transport.ConnContext to set your own tracing key (#​4532)

Fixes

  • The server now correctly restores its QUIC transport parameters when resuming 0-RTT using a tls.Config that sets GetConfigForClient: (#​4550)

Changelog

Full Changelog: https://github.com/quic-go/quic-go/compare/v0.44.0...v0.45.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.44.0` -> `v0.45.0` | --- ### Release Notes <details> <summary>quic-go/quic-go (github.com/quic-go/quic-go)</summary> ### [`v0.45.0`](https://github.com/quic-go/quic-go/releases/tag/v0.45.0) [Compare Source](https://github.com/quic-go/quic-go/compare/v0.44.0...v0.45.0) #### New Features ##### Prometheus quic-go now exports a few Prometheus metrics, allowing users to get an aggregate picture of what's going on inside their QUIC stack. Currently, only a basic set of metrics is exposed, but we plan to track more metrics in the future ([#&#8203;4554](https://github.com/quic-go/quic-go/issues/4554)). Head to the [documentation](https://quic-go.net/docs/quic/metrics/) to learn how to enable metrics collection. Prometheus metrics can be used (among others) to build Grafana dashboards, and we provide a sample Grafana dashboard in [metrics/dashboard](https://github.com/quic-go/quic-go/tree/master/metrics/dashboards). ##### Tracing Handshake Progression using a custom `context.Context` Users can now set and modify the context that's used on all callbacks called during the handshake, and returned from `Connection.Context` ([#&#8203;4507](https://github.com/quic-go/quic-go/issues/4507) and [#&#8203;4536](https://github.com/quic-go/quic-go/issues/4536)). This allows identifying the connection as it progresses through the different handshake stages. The [documentation](https://quic-go.net/docs/quic/connection/#conn-context) has more details and code samples. ##### Better Path MTU Discovery Path MTU Discovery is used to automatically determine the available MTU of the path, which allows us to send full-size packets. This is especially relevant for high-bandwidth transfers. Our old PMTUD algorithm was susceptible to packet loss, leading to suboptimal results if an MTU probe packet experienced packet loss in the network. The new algorithm ([#&#8203;4545](https://github.com/quic-go/quic-go/issues/4545)) is now resilient to the consecutive loss of up to two probe packets. #### Breaking Changes - `Connection.NextConnection` now takes a context and correctly handles handshake failures ([#&#8203;4551](https://github.com/quic-go/quic-go/issues/4551)) - qlog: `DefaultTracer` was renamed to `DefaultConnectionTracer` ([#&#8203;4556](https://github.com/quic-go/quic-go/issues/4556)) - The `ConnectionTracingKey` is now deprecated. Use `Transport.ConnContext` to set your own tracing key ([#&#8203;4532](https://github.com/quic-go/quic-go/issues/4532)) #### Fixes - The server now correctly restores its QUIC transport parameters when resuming 0-RTT using a `tls.Config` that sets `GetConfigForClient`: ([#&#8203;4550](https://github.com/quic-go/quic-go/issues/4550)) #### Changelog - introduce Transport.ConnContext, use client's context on the connection by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4507 - deprecate the ConnectionTracingKey by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4532 - http3: fix flaky Extended CONNECT unit test by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4537 - remove unneeded stream context cancellation on shutdown by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4535 - ci: set timeout for jobs by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4538 - http3: fix another flaky Extended CONNECT test by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4539 - remove unused SetMax method of the mtuDiscoverer by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4543 - http3: use the connection, not the stream context, on the server side by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4510 - use a chan instead of a context to track handshake completion by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4547 - remove unused function parameter from qtls.SetupConfigForServer by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4549 - fix the server's 0-RTT rejection logic when using GetConfigForClient by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4550 - add some Prometheus metrics by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4534 - make Path MTU Discovery resilient to random packet loss by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4545 - add context to EarlyConnection.NextConnection, handle handshake failures by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4551 - pass a context to Transport.ConnContext by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4536 - metrics: simplify constructor for the default connection tracer by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4555 - qlog: rename DefaultTracer to DefaultConnectionTracer by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4556 - fix incorrect documentation for Config.DisablePathMTUDiscovery by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4558 - metrics: add an example Grafana dashboard by [@&#8203;marten-seemann](https://github.com/marten-seemann) in https://github.com/quic-go/quic-go/pull/4559 **Full Changelog**: https://github.com/quic-go/quic-go/compare/v0.44.0...v0.45.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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zODIuMSIsInVwZGF0ZWRJblZlciI6IjM3LjM4Mi4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
renovate-bot added 1 commit 2024-06-06 10:00:33 +00:00
fix(deps): update module github.com/quic-go/quic-go to v0.45.0
All checks were successful
Mirror Push / mirror (push) Successful in 6s
Test / test (oldstable) (push) Successful in 45s
Test / test (stable) (push) Successful in 39s
fcf0b68690
renovate-bot scheduled this pull request to auto merge when all checks succeed 2024-06-06 10:00:33 +00:00
renovate-bot merged commit fcf0b68690 into master 2024-06-06 10:01:12 +00:00
Sign in to join this conversation.
No description provided.