Skip to content

Commit f058bbc

Browse files
chore(deps): bump github.com/quic-go/webtransport-go from 0.9.0 to 0.10.0 (#365)
Bumps [github.com/quic-go/webtransport-go](https://github.com/quic-go/webtransport-go) from 0.9.0 to 0.10.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/quic-go/webtransport-go/releases">github.com/quic-go/webtransport-go's releases</a>.</em></p> <blockquote> <h2>v0.10.0</h2> <p>This release updates webtransport-go to use the new API introduced in <a href="https://github.com/quic-go/quic-go/releases/tag/v0.59.0">quic-go v0.59.0</a> (<a href="https://redirect.github.com/quic-go/webtransport-go/issues/221">#221</a>): Instead of &quot;hijacking&quot; streams from the HTTP/3 layer, the underlying QUIC connection is now owned by WebTransport, and webtransport-go dispatches incoming streams to either the HTTP/3 layer or an existing or new WebTransport session.</p> <h2>New Features</h2> <ul> <li>Implemented <a href="https://www.ietf.org/archive/id/draft-ietf-webtrans-http3-14.html#section-3.3">Application Protocol Negotiation</a>: <a href="https://redirect.github.com/quic-go/webtransport-go/issues/190">#190</a></li> <li>The <a href="https://datatracker.ietf.org/doc/html/draft-ietf-quic-reliable-stream-reset-07">QUIC Stream Resets with Partial Delivery</a> is now used to enforce reliable delivery of the WebTransport stream header: <a href="https://redirect.github.com/quic-go/webtransport-go/issues/239">#239</a></li> </ul> <h2>Breaking Changes</h2> <ul> <li><code>Session.ConnectionState</code> was renamed to <code>SessionState</code>: <a href="https://redirect.github.com/quic-go/webtransport-go/issues/189">#189</a></li> <li>The <code>StreamID</code> method was removed from <code>Stream</code>, <code>SendStream</code> and <code>ReceiveStream</code>: <a href="https://redirect.github.com/quic-go/webtransport-go/issues/226">#226</a></li> <li>The <code>Server</code> now embeds the <code>http3.Server</code> as a pointer (instead of by value): <a href="https://redirect.github.com/quic-go/webtransport-go/issues/215">#215</a></li> </ul> <h2>Other Changes</h2> <ul> <li>The <code>Stream</code> and the <code>SendStream</code> now expose a <code>Context</code> method: <a href="https://redirect.github.com/quic-go/webtransport-go/issues/176">#176</a> (thanks to <a href="https://github.com/Sicilica"><code>@​Sicilica</code></a>)</li> <li>Delayed streams for already closed sessions are immediately reset: <a href="https://redirect.github.com/quic-go/webtransport-go/issues/235">#235</a></li> <li>The <code>Session</code> context now uses the request or dial context, allowing the application to attach values to the context: <a href="https://redirect.github.com/quic-go/webtransport-go/issues/199">#199</a></li> <li>When a WebTransport session is closed, streams are reset using the <code>WT_SESSION_GONE</code> error. Stream <code>Read</code> and <code>Write</code> now wait for the <code>WT_CLOSE_SESSION</code> capsule on the CONNECT stream to return a meaningful error: <a href="https://redirect.github.com/quic-go/webtransport-go/issues/213">#213</a></li> </ul> <h2>Notable Fixes</h2> <ul> <li>Closed sessions are now properly cleaned up: <a href="https://redirect.github.com/quic-go/webtransport-go/issues/198">#198</a> (thanks to <a href="https://github.com/rolaechea"><code>@​rolaechea</code></a>), <a href="https://redirect.github.com/quic-go/webtransport-go/issues/230">#230</a></li> <li>Session errors are now properly propagated to the stream <code>Read</code> and <code>Write</code> calls: <a href="https://redirect.github.com/quic-go/webtransport-go/issues/207">#207</a></li> <li>The length limit for <code>WT_CLOSE_SESSION</code> capsules is now enforced: <a href="https://redirect.github.com/quic-go/webtransport-go/issues/202">#202</a></li> <li>The dial timeout is now respected while waiting for the server's HTTP/3 settings: <a href="https://redirect.github.com/quic-go/webtransport-go/issues/216">#216</a></li> <li>A 10ms deadline is applied before attempting the <code>WT_CLOSE_SESSION</code> capsule, preventing <code>Session.Close</code> from blocking any longer than 10ms: <a href="https://redirect.github.com/quic-go/webtransport-go/issues/224">#224</a></li> <li><code>errors.Is</code> error comparisons were fixed for <code>StreamError</code> and <code>SessionError</code>: <a href="https://redirect.github.com/quic-go/webtransport-go/issues/204">#204</a>, <a href="https://redirect.github.com/quic-go/webtransport-go/issues/205">#205</a></li> <li>The underlying QUIC connection is now closed when establishing a WebTransport session fails: <a href="https://redirect.github.com/quic-go/webtransport-go/issues/236">#236</a></li> </ul> <h2>Changelog</h2> <ul> <li>ci: remove 386 (32 bit x86) by <a href="https://github.com/marten-seemann"><code>@​marten-seemann</code></a> in <a href="https://redirect.github.com/quic-go/webtransport-go/pull/180">quic-go/webtransport-go#180</a></li> <li>Bump actions/setup-python from 5 to 6 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/quic-go/webtransport-go/pull/178">quic-go/webtransport-go#178</a></li> <li>Bump actions/checkout from 4 to 5 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/quic-go/webtransport-go/pull/177">quic-go/webtransport-go#177</a></li> <li>Bump actions/setup-go from 5 to 6 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/quic-go/webtransport-go/pull/179">quic-go/webtransport-go#179</a></li> <li>ci: use <code>go mod tidy -diff</code> to check for tidied <code>go.mod</code> by <a href="https://github.com/marten-seemann"><code>@​marten-seemann</code></a> in <a href="https://redirect.github.com/quic-go/webtransport-go/pull/181">quic-go/webtransport-go#181</a></li> <li>ci: fix setting of OS and Go envs for Codecov by <a href="https://github.com/marten-seemann"><code>@​marten-seemann</code></a> in <a href="https://redirect.github.com/quic-go/webtransport-go/pull/183">quic-go/webtransport-go#183</a></li> <li>ci: enable Codecov test analysis by <a href="https://github.com/marten-seemann"><code>@​marten-seemann</code></a> in <a href="https://redirect.github.com/quic-go/webtransport-go/pull/182">quic-go/webtransport-go#182</a></li> <li>update minimum Go version to 1.24, use 1.24 and 1.25 on CI by <a href="https://github.com/marten-seemann"><code>@​marten-seemann</code></a> in <a href="https://redirect.github.com/quic-go/webtransport-go/pull/184">quic-go/webtransport-go#184</a></li> <li>update quic-go to v0.56.0 by <a href="https://github.com/marten-seemann"><code>@​marten-seemann</code></a> in <a href="https://redirect.github.com/quic-go/webtransport-go/pull/185">quic-go/webtransport-go#185</a></li> <li>ci: remove unused code generation step from lint job by <a href="https://github.com/marten-seemann"><code>@​marten-seemann</code></a> in <a href="https://redirect.github.com/quic-go/webtransport-go/pull/186">quic-go/webtransport-go#186</a></li> <li>Bump golangci/golangci-lint-action from 8 to 9 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/quic-go/webtransport-go/pull/187">quic-go/webtransport-go#187</a></li> <li>README: remove unfunded status section by <a href="https://github.com/marten-seemann"><code>@​marten-seemann</code></a> in <a href="https://redirect.github.com/quic-go/webtransport-go/pull/188">quic-go/webtransport-go#188</a></li> <li>expose SendStream.Context and Stream.Context by <a href="https://github.com/Sicilica"><code>@​Sicilica</code></a> in <a href="https://redirect.github.com/quic-go/webtransport-go/pull/176">quic-go/webtransport-go#176</a></li> <li>replace Session.ConnectionState with Session.SessionState by <a href="https://github.com/marten-seemann"><code>@​marten-seemann</code></a> in <a href="https://redirect.github.com/quic-go/webtransport-go/pull/189">quic-go/webtransport-go#189</a></li> <li>implement application protocol negotiation by <a href="https://github.com/marten-seemann"><code>@​marten-seemann</code></a> in <a href="https://redirect.github.com/quic-go/webtransport-go/pull/190">quic-go/webtransport-go#190</a></li> <li>ci: update Chrome to 142.0.7444.162 in interop test by <a href="https://github.com/marten-seemann"><code>@​marten-seemann</code></a> in <a href="https://redirect.github.com/quic-go/webtransport-go/pull/192">quic-go/webtransport-go#192</a></li> <li>remove header-based draft version negotiation by <a href="https://github.com/marten-seemann"><code>@​marten-seemann</code></a> in <a href="https://redirect.github.com/quic-go/webtransport-go/pull/191">quic-go/webtransport-go#191</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/quic-go/webtransport-go/commit/9d448b125754f4c83064afb2c586221214e55eec"><code>9d448b1</code></a> enable and use the QUIC Stream Resets with Partial Delivery extension (<a href="https://redirect.github.com/quic-go/webtransport-go/issues/239">#239</a>)</li> <li><a href="https://github.com/quic-go/webtransport-go/commit/128538a14311a6ca9f1518658dc6ceeabb6e1569"><code>128538a</code></a> update quic-go to v0.59.0 (<a href="https://redirect.github.com/quic-go/webtransport-go/issues/240">#240</a>)</li> <li><a href="https://github.com/quic-go/webtransport-go/commit/5d8d3c4fd68741a7611bd680e525b04269638520"><code>5d8d3c4</code></a> immediately reject streams for closed sessions (<a href="https://redirect.github.com/quic-go/webtransport-go/issues/235">#235</a>)</li> <li><a href="https://github.com/quic-go/webtransport-go/commit/af56b7f689ccf0b889f46aed781507c433b7d9b3"><code>af56b7f</code></a> close client’s QUIC connection on WebTransport session close or failure (<a href="https://redirect.github.com/quic-go/webtransport-go/issues/236">#236</a>)</li> <li><a href="https://github.com/quic-go/webtransport-go/commit/093f58bbc35e4c1a544bb249c2ee1894f909c128"><code>093f58b</code></a> move connection management to client and server (<a href="https://redirect.github.com/quic-go/webtransport-go/issues/231">#231</a>)</li> <li><a href="https://github.com/quic-go/webtransport-go/commit/9154cfc2990189d483a61b97226b5498e689b75d"><code>9154cfc</code></a> ci: update golangci-lint to v2.7.2 (<a href="https://redirect.github.com/quic-go/webtransport-go/issues/234">#234</a>)</li> <li><a href="https://github.com/quic-go/webtransport-go/commit/acca67672e89df3c33b54aa607bdd59a5dd4a354"><code>acca676</code></a> add a security policy (<a href="https://redirect.github.com/quic-go/webtransport-go/issues/233">#233</a>)</li> <li><a href="https://github.com/quic-go/webtransport-go/commit/f2622e11ade1b815708062fe7c008e7c9a4bf979"><code>f2622e1</code></a> remove stray TODO from Session (<a href="https://redirect.github.com/quic-go/webtransport-go/issues/232">#232</a>)</li> <li><a href="https://github.com/quic-go/webtransport-go/commit/58df38ab96d0ad6f6c67fb40d2bc4883e896be6a"><code>58df38a</code></a> simplify stream buffering logic in the session manager (<a href="https://redirect.github.com/quic-go/webtransport-go/issues/230">#230</a>)</li> <li><a href="https://github.com/quic-go/webtransport-go/commit/3b5a3df73beed82d6709020164c0a8883af202ca"><code>3b5a3df</code></a> README: add list of notable projects and a release policy (<a href="https://redirect.github.com/quic-go/webtransport-go/issues/225">#225</a>)</li> <li>Additional commits viewable in <a href="https://github.com/quic-go/webtransport-go/compare/v0.9.0...v0.10.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/quic-go/webtransport-go&package-manager=go_modules&previous-version=0.9.0&new-version=0.10.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 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](https://github.com/celestiaorg/go-header/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 08e3e45 commit f058bbc

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

go.mod

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ require (
2828
github.com/davecgh/go-spew v1.1.1 // indirect
2929
github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c // indirect
3030
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0 // indirect
31+
github.com/dunglas/httpsfv v1.1.0 // indirect
3132
github.com/flynn/noise v1.1.0 // indirect
3233
github.com/go-logr/logr v1.4.3 // indirect
3334
github.com/go-logr/stdr v1.2.2 // indirect
@@ -89,8 +90,8 @@ require (
8990
github.com/prometheus/common v0.64.0 // indirect
9091
github.com/prometheus/procfs v0.16.1 // indirect
9192
github.com/quic-go/qpack v0.6.0 // indirect
92-
github.com/quic-go/quic-go v0.57.1 // indirect
93-
github.com/quic-go/webtransport-go v0.9.0 // indirect
93+
github.com/quic-go/quic-go v0.59.0 // indirect
94+
github.com/quic-go/webtransport-go v0.10.0 // indirect
9495
github.com/spaolacci/murmur3 v1.1.0 // indirect
9596
github.com/wlynxg/anet v0.0.5 // indirect
9697
go.opentelemetry.io/auto/sdk v1.1.0 // indirect

go.sum

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ github.com/decred/dcrd/crypto/blake256 v1.1.0 h1:zPMNGQCm0g4QTY27fOCorQW7EryeQ/U
1919
github.com/decred/dcrd/crypto/blake256 v1.1.0/go.mod h1:2OfgNZ5wDpcsFmHmCK5gZTPcCXqlm2ArzUIkw9czNJo=
2020
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0 h1:NMZiJj8QnKe1LgsbDayM4UoHwbvwDRwnI3hwNaAHRnc=
2121
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0/go.mod h1:ZXNYxsqcloTdSy/rNShjYzMhyjf0LaoftYK0p+A3h40=
22+
github.com/dunglas/httpsfv v1.1.0 h1:Jw76nAyKWKZKFrpMMcL76y35tOpYHqQPzHQiwDvpe54=
23+
github.com/dunglas/httpsfv v1.1.0/go.mod h1:zID2mqw9mFsnt7YC3vYQ9/cjq30q41W+1AnDwH8TiMg=
2224
github.com/flynn/noise v1.1.0 h1:KjPQoQCEFdZDiP03phOvGi11+SVVhBG2wOWAorLsstg=
2325
github.com/flynn/noise v1.1.0/go.mod h1:xbMo+0i6+IGbYdJhF31t2eR1BIU0CYc12+BNAKwUTag=
2426
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
@@ -182,10 +184,10 @@ github.com/prometheus/procfs v0.16.1 h1:hZ15bTNuirocR6u0JZ6BAHHmwS1p8B4P6MRqxtzM
182184
github.com/prometheus/procfs v0.16.1/go.mod h1:teAbpZRB1iIAJYREa1LsoWUXykVXA1KlTmWl8x/U+Is=
183185
github.com/quic-go/qpack v0.6.0 h1:g7W+BMYynC1LbYLSqRt8PBg5Tgwxn214ZZR34VIOjz8=
184186
github.com/quic-go/qpack v0.6.0/go.mod h1:lUpLKChi8njB4ty2bFLX2x4gzDqXwUpaO1DP9qMDZII=
185-
github.com/quic-go/quic-go v0.57.1 h1:25KAAR9QR8KZrCZRThWMKVAwGoiHIrNbT72ULHTuI10=
186-
github.com/quic-go/quic-go v0.57.1/go.mod h1:ly4QBAjHA2VhdnxhojRsCUOeJwKYg+taDlos92xb1+s=
187-
github.com/quic-go/webtransport-go v0.9.0 h1:jgys+7/wm6JarGDrW+lD/r9BGqBAmqY/ssklE09bA70=
188-
github.com/quic-go/webtransport-go v0.9.0/go.mod h1:4FUYIiUc75XSsF6HShcLeXXYZJ9AGwo/xh3L8M/P1ao=
187+
github.com/quic-go/quic-go v0.59.0 h1:OLJkp1Mlm/aS7dpKgTc6cnpynnD2Xg7C1pwL6vy/SAw=
188+
github.com/quic-go/quic-go v0.59.0/go.mod h1:upnsH4Ju1YkqpLXC305eW3yDZ4NfnNbmQRCMWS58IKU=
189+
github.com/quic-go/webtransport-go v0.10.0 h1:LqXXPOXuETY5Xe8ITdGisBzTYmUOy5eSj+9n4hLTjHI=
190+
github.com/quic-go/webtransport-go v0.10.0/go.mod h1:LeGIXr5BQKE3UsynwVBeQrU1TPrbh73MGoC6jd+V7ow=
189191
github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII=
190192
github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o=
191193
github.com/spaolacci/murmur3 v1.1.0 h1:7c1g84S4BPRrfL5Xrdp6fOJ206sU9y293DDHaoy0bLI=

0 commit comments

Comments
 (0)