mirror of
https://github.com/n0-computer/iroh.git
synced 2026-11-28 16:01:09 +00:00
ramfox/stream_affinity_example
725
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
0b9a375f66 |
docs: add example that shows stream affinity works
claude used for some cleanup, the `Snapshot` & `report` bits, and some DRY-ing |
||
|
|
5182083ab4 | feat(iroh): expose noq::SendStream::set_affinity | ||
|
|
5b98ddbaeb |
feat(iroh-relay): keep the relay URL's path prefix (#4617)
<!-- Attention agents and contributors using AI, please see our AI policy before opening a PR: https://github.com/n0-computer/iroh/blob/main/AI_POLICY.md --> <!-- Any PRs violating this policy will be closed. --> <!-- As per our contributor guidelines, all PRs that do not link to an issue with the label `ready-for-pr` will be closed: https://github.com/n0-computer/iroh/blob/main/CONTRIBUTING.md --> ## Description Fixes: #2440 * Adds `RELAY_RELATIVE_PATH` (`"relay"`) and `RELAY_PROBE_RELATIVE_PATH` (`"ping"`), which join onto a relay URL that carries a path prefix (`https://example.com/prefix/`) instead of landing on the host's root. * `RELAY_PATH` and `RELAY_PROBE_PATH` keep their values and are deprecated. * The client and the HTTPS probe join the relative paths onto the relay URL with `Url::join`; the relay server routes `/{RELAY_RELATIVE_PATH}` and `/{RELAY_PROBE_RELATIVE_PATH}`. * `RelayUrl`'s `From<Url>` (and so `FromStr` and `Deserialize`) adds a trailing `/` to a path that lacks one, with an INFO message, so `https://example.com/prefix` works too. `iroh-base` now depends on `tracing` (with the `relay` feature). * Relay URLs without a path behave as before. ## Breaking Changes None. ## Notes & open questions A `RelayUrl` without the trailing slash, serialised before this change, gains it when read back. ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. --------- Co-authored-by: Floris Bruynooghe <flub@n0.computer> |
||
|
|
ebdaaefecc |
chore: Update Makefile.toml to have a normal dev workflow (#4508)
## Description This mimics the Makefile.toml from noq, which is very useful and we can mention in the PR template. ## Breaking Changes n/a ## Notes & open questions n/a ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
d6c6963b96 | chore: Release | ||
|
|
3f4ce2fe17 |
deps: Update rustls-webpki to remove untrusted SPKI (#4624)
## Description Some intermediate certs are no longer trusted it seems. ## API Changes n/a ## Notes & open questions This is a Cargo.lock-only update for iroh it seems. But still affects the binaries we build. ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All API changes documented. --------- Co-authored-by: ramfox <kasey@n0.computer> Co-authored-by: Ruediger Klaehn <rklaehn@protonmail.com> |
||
|
|
55908a5809 | chore: Release | ||
|
|
d506cb9675 | chore: update noq dependency | ||
|
|
be6518477e |
fix(dns-server): stop leaky idle connections (#4620)
<!-- Attention agents and contributors using AI, please see our AI policy before opening a PR: https://github.com/n0-computer/iroh/blob/main/AI_POLICY.md --> <!-- Any PRs violating this policy will be closed. --> <!-- As per our contributor guidelines, all PRs that do not link to an issue with the label `ready-for-pr` will be closed: https://github.com/n0-computer/iroh/blob/main/CONTRIBUTING.md --> ## Description We're still leaking connections on the `iroh-dns-server`. Ensuring silent connections or connections that didn't finish their handshake are cleaned. ## API Changes <!-- Optional, any API additions, deprecations or breaking changes, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All API changes documented. |
||
|
|
fb2a63c6c7 |
chore(deps): bump hyper from 1.11.1 to 1.12.0 (#4607)
Bumps [hyper](https://github.com/hyperium/hyper) from 1.11.1 to 1.12.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/hyperium/hyper/releases">hyper's releases</a>.</em></p> <blockquote> <h2>v1.12.0</h2> <h2>Features</h2> <ul> <li><strong>http1:</strong> add max_header_size limit for server and client (<a href="https://redirect.github.com/hyperium/hyper/issues/4183">#4183</a>) (<a href="https://github.com/hyperium/hyper/commit/d1cd14eff392be63a2318d690cc9380723ec61a1">d1cd14ef</a>, closes <a href="https://redirect.github.com/hyperium/hyper/issues/3832">#3832</a>)</li> </ul> <h2>Bug Fixes</h2> <ul> <li><strong>http1:</strong> <ul> <li>withdraw a stale want when the client dispatcher takes a request (<a href="https://redirect.github.com/hyperium/hyper/issues/4208">#4208</a>) (<a href="https://github.com/hyperium/hyper/commit/c44f1cc51c2bc45b502031a646d3d54315bd7a16">c44f1cc5</a>)</li> <li>remove content-length if transfer-encoding is auto-added (<a href="https://redirect.github.com/hyperium/hyper/issues/4224">#4224</a>) (<a href="https://github.com/hyperium/hyper/commit/69396fdd960629d69b09cc6c9b367ef8650c001d">69396fdd</a>)</li> <li>always remove content-length if transfer-encoding is sent (<a href="https://redirect.github.com/hyperium/hyper/issues/4223">#4223</a>) (<a href="https://github.com/hyperium/hyper/commit/a5d7fd7861598c0b8c857cb75240a75bcfbd96a3">a5d7fd78</a>)</li> <li>let a Connection close token win over a later keep-alive (<a href="https://redirect.github.com/hyperium/hyper/issues/4201">#4201</a>) (<a href="https://github.com/hyperium/hyper/commit/5dadff76d1cb5d21046218df3568569fbba8ed21">5dadff76</a>)</li> <li>preserve hop-by-hop when setting close or keep-alive (<a href="https://redirect.github.com/hyperium/hyper/issues/4196">#4196</a>) (<a href="https://github.com/hyperium/hyper/commit/74a39081ff1496970fb75da75c5282b23a9b69e5">74a39081</a>)</li> </ul> </li> <li><strong>http2:</strong> do not reserve capacity for idle Upgraded streams (<a href="https://redirect.github.com/hyperium/hyper/issues/4198">#4198</a>) (<a href="https://github.com/hyperium/hyper/commit/e89d0d93d9566210ee95aea234a00952ebc4a202">e89d0d93</a>)</li> </ul> <h2>Everything</h2> <ul> <li>docs: fix typo responsibile -> responsible by <a href="https://github.com/vaibhav8a"><code>@vaibhav8a</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4177">hyperium/hyper#4177</a></li> <li>style: replace single-character lifetime names with descriptive names by <a href="https://github.com/dox4"><code>@dox4</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4173">hyperium/hyper#4173</a></li> <li>refactor(http1): resolve collapsible_match lint by <a href="https://github.com/nakaryo716"><code>@nakaryo716</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4178">hyperium/hyper#4178</a></li> <li>hyper Improvement Proposals by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4131">hyperium/hyper#4131</a></li> <li>perf(body): simpler custom Incoming channel by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4168">hyperium/hyper#4168</a></li> <li>docs(maintainers): add 0x676e67 as a collaborator by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4184">hyperium/hyper#4184</a></li> <li>fix(ext): remove broken <code>OriginalHeaderOrder</code> doctest by <a href="https://github.com/cratelyn"><code>@cratelyn</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4188">hyperium/hyper#4188</a></li> <li>build(deps): remove unused <code>futures-channel</code> from <code>http1</code> feature by <a href="https://github.com/0x676e67"><code>@0x676e67</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4185">hyperium/hyper#4185</a></li> <li>chore(ci): update to cargo-check-external-types 0.5.0 by <a href="https://github.com/tottoto"><code>@tottoto</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4189">hyperium/hyper#4189</a></li> <li>style(lib): address ignored_unit_patterns lint by <a href="https://github.com/nakaryo716"><code>@nakaryo716</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4193">hyperium/hyper#4193</a></li> <li>Preserve hop-by-hop when setting close or keep-alive by <a href="https://github.com/dtolnay"><code>@dtolnay</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4196">hyperium/hyper#4196</a></li> <li>fix(http2): do not reserve capacity for idle Upgraded streams by <a href="https://github.com/Dev-next-gen"><code>@Dev-next-gen</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4198">hyperium/hyper#4198</a></li> <li>style(lib): Address clippy panics and missing_panics_doc lints by <a href="https://github.com/Siech0"><code>@Siech0</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4191">hyperium/hyper#4191</a></li> <li>docs: fix typos in capi README, MSRV and governance docs by <a href="https://github.com/toyeshhm"><code>@toyeshhm</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4204">hyperium/hyper#4204</a></li> <li>style(lib): Address trivial, low quantity clippy lints. by <a href="https://github.com/Siech0"><code>@Siech0</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4190">hyperium/hyper#4190</a></li> <li>chore(clippy): allow clippy lints following 1.99.0 release by <a href="https://github.com/dswij"><code>@dswij</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4219">hyperium/hyper#4219</a></li> <li>style: remove useless_borrows_in_formatting from the clippy allowlist by <a href="https://github.com/ump45nose"><code>@ump45nose</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4220">hyperium/hyper#4220</a></li> <li>style(h1): mark partial Debug impls as non-exhaustive by <a href="https://github.com/badimalex"><code>@badimalex</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4218">hyperium/hyper#4218</a></li> <li>style(lib): Address cast-possible-truncation clippy findings. by <a href="https://github.com/Siech0"><code>@Siech0</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4192">hyperium/hyper#4192</a></li> <li>feat(http1): add max_header_size limit for server and client by <a href="https://github.com/Aditya-9-6"><code>@Aditya-9-6</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4183">hyperium/hyper#4183</a></li> <li>fix(http1): let a Connection close token win over a later keep-alive by <a href="https://github.com/shoemoney"><code>@shoemoney</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4201">hyperium/hyper#4201</a></li> <li>fix(http1): always remove content-length if transfer-encoding is sent by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4223">hyperium/hyper#4223</a></li> <li>fix(http1): remove invalid content-length if transfer-encoding is auto-added by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4224">hyperium/hyper#4224</a></li> <li>fix(http1): withdraw a stale want when the client dispatcher takes a request by <a href="https://github.com/shodoco"><code>@shodoco</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4208">hyperium/hyper#4208</a></li> <li>perf(body): skip waking a closed peer when a channel end drops by <a href="https://github.com/0x676e67"><code>@0x676e67</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4225">hyperium/hyper#4225</a></li> <li>Prepare v1.12.0 by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4226">hyperium/hyper#4226</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/vaibhav8a"><code>@vaibhav8a</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/hyper/pull/4177">hyperium/hyper#4177</a></li> <li><a href="https://github.com/dox4"><code>@dox4</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/hyper/pull/4173">hyperium/hyper#4173</a></li> <li><a href="https://github.com/dtolnay"><code>@dtolnay</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/hyper/pull/4196">hyperium/hyper#4196</a></li> <li><a href="https://github.com/Dev-next-gen"><code>@Dev-next-gen</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/hyper/pull/4198">hyperium/hyper#4198</a></li> <li><a href="https://github.com/Siech0"><code>@Siech0</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/hyper/pull/4191">hyperium/hyper#4191</a></li> <li><a href="https://github.com/toyeshhm"><code>@toyeshhm</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/hyper/pull/4204">hyperium/hyper#4204</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/hyperium/hyper/blob/master/CHANGELOG.md">hyper's changelog</a>.</em></p> <blockquote> <h2>v1.12.0 (2026-10-06)</h2> <h4>Bug Fixes</h4> <ul> <li><strong>http1:</strong> <ul> <li>withdraw a stale want when the client dispatcher takes a request (<a href="https://redirect.github.com/hyperium/hyper/issues/4208">#4208</a>) (<a href="https://github.com/hyperium/hyper/commit/c44f1cc51c2bc45b502031a646d3d54315bd7a16">c44f1cc5</a>)</li> <li>remove content-length if transfer-encoding is auto-added (<a href="https://redirect.github.com/hyperium/hyper/issues/4224">#4224</a>) (<a href="https://github.com/hyperium/hyper/commit/69396fdd960629d69b09cc6c9b367ef8650c001d">69396fdd</a>)</li> <li>always remove content-length if transfer-encoding is sent (<a href="https://redirect.github.com/hyperium/hyper/issues/4223">#4223</a>) (<a href="https://github.com/hyperium/hyper/commit/a5d7fd7861598c0b8c857cb75240a75bcfbd96a3">a5d7fd78</a>)</li> <li>let a Connection close token win over a later keep-alive (<a href="https://redirect.github.com/hyperium/hyper/issues/4201">#4201</a>) (<a href="https://github.com/hyperium/hyper/commit/5dadff76d1cb5d21046218df3568569fbba8ed21">5dadff76</a>)</li> <li>preserve hop-by-hop when setting close or keep-alive (<a href="https://redirect.github.com/hyperium/hyper/issues/4196">#4196</a>) (<a href="https://github.com/hyperium/hyper/commit/74a39081ff1496970fb75da75c5282b23a9b69e5">74a39081</a>)</li> </ul> </li> <li><strong>http2:</strong> do not reserve capacity for idle Upgraded streams (<a href="https://redirect.github.com/hyperium/hyper/issues/4198">#4198</a>) (<a href="https://github.com/hyperium/hyper/commit/e89d0d93d9566210ee95aea234a00952ebc4a202">e89d0d93</a>)</li> </ul> <h4>Features</h4> <ul> <li><strong>http1:</strong> add max_header_size limit for server and client (<a href="https://redirect.github.com/hyperium/hyper/issues/4183">#4183</a>) (<a href="https://github.com/hyperium/hyper/commit/d1cd14eff392be63a2318d690cc9380723ec61a1">d1cd14ef</a>, closes <a href="https://redirect.github.com/hyperium/hyper/issues/3832">#3832</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/hyperium/hyper/commit/7f67699ce32d717081deb7018b4da7d679277ac0"><code>7f67699</code></a> v1.12.0</li> <li><a href="https://github.com/hyperium/hyper/commit/254bf1271bf4385edd743316ca7c508b3c77d6cb"><code>254bf12</code></a> perf(body): skip waking a closed peer when a channel end drops (<a href="https://redirect.github.com/hyperium/hyper/issues/4225">#4225</a>)</li> <li><a href="https://github.com/hyperium/hyper/commit/c44f1cc51c2bc45b502031a646d3d54315bd7a16"><code>c44f1cc</code></a> fix(http1): withdraw a stale want when the client dispatcher takes a request ...</li> <li><a href="https://github.com/hyperium/hyper/commit/69396fdd960629d69b09cc6c9b367ef8650c001d"><code>69396fd</code></a> fix(http1): remove content-length if transfer-encoding is auto-added (<a href="https://redirect.github.com/hyperium/hyper/issues/4224">#4224</a>)</li> <li><a href="https://github.com/hyperium/hyper/commit/a5d7fd7861598c0b8c857cb75240a75bcfbd96a3"><code>a5d7fd7</code></a> fix(http1): always remove content-length if transfer-encoding is sent (<a href="https://redirect.github.com/hyperium/hyper/issues/4223">#4223</a>)</li> <li><a href="https://github.com/hyperium/hyper/commit/5dadff76d1cb5d21046218df3568569fbba8ed21"><code>5dadff7</code></a> fix(http1): let a Connection close token win over a later keep-alive (<a href="https://redirect.github.com/hyperium/hyper/issues/4201">#4201</a>)</li> <li><a href="https://github.com/hyperium/hyper/commit/d1cd14eff392be63a2318d690cc9380723ec61a1"><code>d1cd14e</code></a> feat(http1): add max_header_size limit for server and client (<a href="https://redirect.github.com/hyperium/hyper/issues/4183">#4183</a>)</li> <li><a href="https://github.com/hyperium/hyper/commit/714c7cf46fd405c88eb34c2f243ae5b146ba8f07"><code>714c7cf</code></a> style(lib): address cast-possible-truncation clippy findings (<a href="https://redirect.github.com/hyperium/hyper/issues/4192">#4192</a>)</li> <li><a href="https://github.com/hyperium/hyper/commit/0d474402c20c17939c30aaecde56d1a3e21b2b0a"><code>0d47440</code></a> style(lib): mark partial Debug impls as non-exhaustive (<a href="https://redirect.github.com/hyperium/hyper/issues/4218">#4218</a>)</li> <li><a href="https://github.com/hyperium/hyper/commit/da3b1b197c954ac5454a92562fe3d729a87cba56"><code>da3b1b1</code></a> style(lib): remove useless_borrows_in_formatting from the clippy allowlist (#...</li> <li>Additional commits viewable in <a href="https://github.com/hyperium/hyper/compare/v1.11.1...v1.12.0">compare view</a></li> </ul> </details> <br /> [](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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
5ede322412 |
chore(deps): Update rustls (#4606)
## Description Update rustls from the lockfile due to reported RUSTSEC vulnerabilities to satisfy `cargo deny` rules. ## API Changes None ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All API changes documented. |
||
|
|
513da672fe |
chore(deps): bump n0-mainline from 0.6.0 to 0.7.1 (#4593)
Bumps [n0-mainline](https://github.com/n0-computer/n0-mainline) from 0.6.0 to 0.7.1. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/n0-computer/n0-mainline/commit/d170dab53c1e10bb41eac552f1ed3a2a23aba0e4"><code>d170dab</code></a> chore: Release n0-mainline version 0.7.1</li> <li><a href="https://github.com/n0-computer/n0-mainline/commit/e68e127485bcaee9dea7a5558098777e1b3959f1"><code>e68e127</code></a> chore(deps): bump the github-actions group with 4 updates (<a href="https://redirect.github.com/n0-computer/n0-mainline/issues/13">#13</a>)</li> <li><a href="https://github.com/n0-computer/n0-mainline/commit/699e3a9a483e0bb1f036187fc8279518592b9543"><code>699e3a9</code></a> Fix doc link to the renamed recv_batch (<a href="https://redirect.github.com/n0-computer/n0-mainline/issues/14">#14</a>)</li> <li><a href="https://github.com/n0-computer/n0-mainline/commit/112e223fd320686738b29c017edbdb10e15396f8"><code>112e223</code></a> ci(secruity): hardening + lock files + dependabot cooldown (<a href="https://redirect.github.com/n0-computer/n0-mainline/issues/12">#12</a>)</li> <li><a href="https://github.com/n0-computer/n0-mainline/commit/09abcfb2a171a9892cfb08d436a012d87990ea28"><code>09abcfb</code></a> Split GRO batches into separate datagrams (<a href="https://redirect.github.com/n0-computer/n0-mainline/issues/11">#11</a>)</li> <li><a href="https://github.com/n0-computer/n0-mainline/commit/178f51657a1194d28abdf2c20105654fd38c2b54"><code>178f516</code></a> chore: Release n0-mainline version 0.7.0</li> <li><a href="https://github.com/n0-computer/n0-mainline/commit/1c0128550a721326ea183e8ef05c776af569f56f"><code>1c01285</code></a> feat: add hooks so we can do other things with the UDP socket (<a href="https://redirect.github.com/n0-computer/n0-mainline/issues/10">#10</a>)</li> <li><a href="https://github.com/n0-computer/n0-mainline/commit/840478c9f8aa83bcf0295a37ec630e6ccd9661ab"><code>840478c</code></a> Merge pull request <a href="https://redirect.github.com/n0-computer/n0-mainline/issues/9">#9</a> from Nuhvi/fix/port-dht-6.4.1</li> <li><a href="https://github.com/n0-computer/n0-mainline/commit/39eaed5e0f31acc1dcad5d0318c7bc6d06cc9f4c"><code>39eaed5</code></a> fix: port mainline 6.4.1 mutable put security fixes</li> <li>See full diff in <a href="https://github.com/n0-computer/n0-mainline/compare/v0.6.0...v0.7.1">compare view</a></li> </ul> </details> <br /> [](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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
d4490fcfde |
fix(iroh-relay): send correct Proxy-Authorization credentials (#4591)
## Description Fixes #4561. Now using `data_encoding::BASE64` instead of `BASE64URL` for the `Proxy-Authorization: Basic` header in `dial_url_proxy`. While writing the test for this, it turned out that there was a second problem in the header, related to the fact that `Url::username()` and `Url::password()` return the percent-encoded version. So if you had a password like `s3cret>>` (from the issue), it would be sending `s3cret%3E%3E` to the proxy, and the alphabet wasn't even the problem. Ditto any other character that has to be escaped in URLs, like `@` or `:`. The second commit in this PR percent-decodes the username and password before encoding them. This matches the behavior of what reqwest does when given the same proxy URL, at least as far as non-invalid-UTF-8 characters go. And since #4463 the net_report probes will be sending that URL to reqwest, so there can currently be a mismatch between what the probes are sending and what we'd send when connecting to the relay. This makes `percent-encoding` a direct dependency of iroh-relay. It's already an indirect one through `url`. Both of the tests added in this PR (which dial to a fake proxy and check the header it got) fail on main. ## API Changes n/a ## Notes & open questions Note that the percent-decoding goes a little beyond what we talked about in the issue. If you want, we can split that out into a different PR. It does change the behavior for literal `%` signs followed by two hex characters in the password, which will now get decoded. Those would have to be written as `%25`, which matches the behavior of curl and reqwest. ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All API changes documented. |
||
|
|
71efe8075d |
chore(ci): Use the common workflow for min-crates (#4505)
## Description We need to start deduplicating all these workflows. The min-crates one was designed explicitly as a copy of the iroh one, so we can now start sharing this. The major change is that we don't use pick-runner for the windows machine right now. I could add it but it would run *next* to the pick-runner-windows that is in tests.yaml. Which defeats the point a bit. I guess the full fix is to move pick-runner(-windows) into ci.yaml and pass it's result into tests.yaml somehow. But for now I think the simple thing of not using an overflow runner is probably fine. ## Breaking Changes n/a ## Notes & open questions n/a ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
0072d7d84b | chore: release | ||
|
|
b29c0a424c |
feat(metrics): lookup/resolver stats (#4543)
## Description Adds counters to track lookup success rates and also tracks it by type of resolver. Also updates iroh-metrics to 1.0.2. ## API Changes <!-- Optional, any API additions, deprecations or breaking changes, including how to migrate older code. --> ## Notes & open questions * Previously merged as #4411 and reverted in #4542 because it broke semver: Adding a `Family` made `EndpointMetrics` no longer implement `UnwindSafe`. https://github.com/n0-computer/iroh-metrics/pull/137 fixes this by making `Family` be `UnwindSafe`. * Min crates check is expected to fail, because iroh-metrics 1.0.2 is newer than 3 days. It's our own crate, so this is fine. ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All API changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. --------- Co-authored-by: Asmir Avdicevic <asmir.avdicevic64@gmail.com> |
||
|
|
a9c194f605 |
feat(iroh)!: expose batch datagram send/recv APIs (#4547)
Expose the new `noq` batch datagram APIs through iroh's `Connection`. Downstream crates can amortize the per-datagram connection-mutex cost, which is the dominant overhead at high PPS for a mesh VPN forwarding bursts of TUN packets. `Connection::send_many_datagrams` and `Connection::read_many_datagrams` delegate to `noq::Connection`. Re-export `ReadManyDatagrams` through `endpoint::quic` to ensure we have no unreachable structs in our public API. Co-authored-by: Dario <dario@rayfish.xyz> |
||
|
|
78f66a22cb |
deps: bump rustls for RUSTSEC-2026-0285 & fix android CI (#4535)
## Description This bumps rustls for https://rustsec.org/advisories/RUSTSEC-2026-0285 ## API Changes <!-- Optional, any API additions, deprecations or breaking changes, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All API changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. --------- Co-authored-by: Asmir Avdicevic <asmir.avdicevic64@gmail.com> |
||
|
|
ec04e273f9 |
chore(deps): bump tower-http from 0.6.11 to 0.7.1 (#4520)
Bumps [tower-http](https://github.com/tower-rs/tower-http) from 0.6.11 to 0.7.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tower-rs/tower-http/releases">tower-http's releases</a>.</em></p> <blockquote> <h2>tower-http-0.7.1</h2> <h2>Added</h2> <ul> <li><code>fs</code>: add <code>ServeDir::redirect_to_trailing_slash()</code> to serve directory indexes directly instead of first redirecting to the trailing-slash path. The redirect remains the default (<a href="https://redirect.github.com/tower-rs/tower-http/issues/728">#728</a>)</li> <li><code>fs</code>: add <code>ignore_multi_range_requests()</code> to <code>ServeDir</code> and <code>ServeFile</code>, serving the full representation when a request asks for multiple byte ranges. The existing <code>416 Range Not Satisfiable</code> response remains the default (<a href="https://redirect.github.com/tower-rs/tower-http/issues/727">#727</a>)</li> <li><code>request-id</code>: the constructors and accessors on the request-id layers, services, and <code>RequestId</code> are now <code>const fn</code>, so they can be used in const context (<a href="https://redirect.github.com/tower-rs/tower-http/issues/716">#716</a>)</li> </ul> <h2>Changed</h2> <ul> <li><code>fs</code>: the minimum <code>http-range-header</code> requirement is now 0.4.2 (<a href="https://redirect.github.com/tower-rs/tower-http/issues/661">#661</a>)</li> </ul> <h2>Fixed</h2> <ul> <li><strong>behavioral change:</strong> <code>fs</code>: make <code>ServeDir::try_call</code> propagate expected filesystem I/O errors when no fallback is configured, as documented, instead of converting them to <code>404 Not Found</code> responses (<a href="https://redirect.github.com/tower-rs/tower-http/issues/718">#718</a>)</li> <li><code>decompression</code>: don't end the body when a data frame with no remaining bytes arrives after the decompressor reports end-of-stream. Trailers following such a frame were dropped and could not be recovered (<a href="https://redirect.github.com/tower-rs/tower-http/issues/722">#722</a>)</li> <li><code>decompression</code>: return a body error when a data frame with remaining bytes arrives after the decompressor reports end-of-stream, rather than silently truncating. This regressed in 0.7.0 (<a href="https://redirect.github.com/tower-rs/tower-http/issues/712">#712</a>)</li> <li><code>fs</code>: multipart range requests are now rejected before range validation, so they consistently return <code>416 Range Not Satisfiable</code> with a <code>Cannot serve multipart range requests</code> body instead of a generic unsatisfiable-range response (<a href="https://redirect.github.com/tower-rs/tower-http/issues/661">#661</a>)</li> <li><code>fs</code>: range error responses no longer carry representation headers such as <code>Content-Type</code> and <code>Content-Encoding</code> (<a href="https://redirect.github.com/tower-rs/tower-http/issues/727">#727</a>)</li> <li><code>set-header</code>: <code>SetMultipleResponseHeadersLayer</code> and <code>SetMultipleResponseHeader</code> are now <code>Clone</code> regardless of the response body type, matching the fix applied to the request-side types in 0.7.0 (<a href="https://redirect.github.com/tower-rs/tower-http/issues/714">#714</a>)</li> </ul> <p><a href="https://redirect.github.com/tower-rs/tower-http/issues/661">#661</a>: <a href="https://redirect.github.com/tower-rs/tower-http/pull/661">tower-rs/tower-http#661</a> <a href="https://redirect.github.com/tower-rs/tower-http/issues/712">#712</a>: <a href="https://redirect.github.com/tower-rs/tower-http/pull/712">tower-rs/tower-http#712</a> <a href="https://redirect.github.com/tower-rs/tower-http/issues/714">#714</a>: <a href="https://redirect.github.com/tower-rs/tower-http/pull/714">tower-rs/tower-http#714</a> <a href="https://redirect.github.com/tower-rs/tower-http/issues/716">#716</a>: <a href="https://redirect.github.com/tower-rs/tower-http/pull/716">tower-rs/tower-http#716</a> <a href="https://redirect.github.com/tower-rs/tower-http/issues/718">#718</a>: <a href="https://redirect.github.com/tower-rs/tower-http/pull/718">tower-rs/tower-http#718</a> <a href="https://redirect.github.com/tower-rs/tower-http/issues/722">#722</a>: <a href="https://redirect.github.com/tower-rs/tower-http/pull/722">tower-rs/tower-http#722</a> <a href="https://redirect.github.com/tower-rs/tower-http/issues/727">#727</a>: <a href="https://redirect.github.com/tower-rs/tower-http/pull/727">tower-rs/tower-http#727</a> <a href="https://redirect.github.com/tower-rs/tower-http/issues/728">#728</a>: <a href="https://redirect.github.com/tower-rs/tower-http/pull/728">tower-rs/tower-http#728</a></p> <h2>All the changes</h2> <ul> <li>chore(deps): bump actions/checkout from 6 to 7 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/tower-rs/tower-http/pull/708">tower-rs/tower-http#708</a></li> <li>fix(compression): reject non-empty data frames after codec is EOF by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/tower-rs/tower-http/pull/712">tower-rs/tower-http#712</a></li> <li>Remove Clone derivations from SetMultipleResponseHeader* types by <a href="https://github.com/skeet70"><code>@skeet70</code></a> in <a href="https://redirect.github.com/tower-rs/tower-http/pull/714">tower-rs/tower-http#714</a></li> <li>feat(request-id): Allow request-id constructor in const context by <a href="https://github.com/tottoto"><code>@tottoto</code></a> in <a href="https://redirect.github.com/tower-rs/tower-http/pull/716">tower-rs/tower-http#716</a></li> <li>fs: Avoid unnecessary conversions between SystemTime and HttpDate by <a href="https://github.com/tottoto"><code>@tottoto</code></a> in <a href="https://redirect.github.com/tower-rs/tower-http/pull/717">tower-rs/tower-http#717</a></li> <li>fs: Use HeaderValue::is_empty to check for empty values by <a href="https://github.com/tottoto"><code>@tottoto</code></a> in <a href="https://redirect.github.com/tower-rs/tower-http/pull/720">tower-rs/tower-http#720</a></li> <li>fs: Use HeaderValue::to_str for date headers by <a href="https://github.com/tottoto"><code>@tottoto</code></a> in <a href="https://redirect.github.com/tower-rs/tower-http/pull/721">tower-rs/tower-http#721</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tower-rs/tower-http/commit/c9414514a421b07b6520e040a3fd6a579b0c5e1b"><code>c941451</code></a> chore(release): prepare 0.7.1 (<a href="https://redirect.github.com/tower-rs/tower-http/issues/729">#729</a>)</li> <li><a href="https://github.com/tower-rs/tower-http/commit/9697702412f50dba61962d06d0436376a1e5a435"><code>9697702</code></a> chore(deps): bump taiki-e/install-action from 2.86.3 to 2.86.8 (<a href="https://redirect.github.com/tower-rs/tower-http/issues/730">#730</a>)</li> <li><a href="https://github.com/tower-rs/tower-http/commit/e2582e2fde4ef768caedc1377d07169480d07cc4"><code>e2582e2</code></a> Allow ignoring multi-range requests (<a href="https://redirect.github.com/tower-rs/tower-http/issues/727">#727</a>)</li> <li><a href="https://github.com/tower-rs/tower-http/commit/888f7fe6c6f9ee006a6d882723b1cba26601dbc3"><code>888f7fe</code></a> feat(services): configure directory redirects (<a href="https://redirect.github.com/tower-rs/tower-http/issues/728">#728</a>)</li> <li><a href="https://github.com/tower-rs/tower-http/commit/5ad76544ce0eb15cd8ac185bef846eb4a80233a4"><code>5ad7654</code></a> chore(deps): bump taiki-e/install-action from 2.85.12 to 2.86.3 (<a href="https://redirect.github.com/tower-rs/tower-http/issues/726">#726</a>)</li> <li><a href="https://github.com/tower-rs/tower-http/commit/d154adbace6abc98162620ea1b56d88629b40c91"><code>d154adb</code></a> fix: reject multipart ranges before validation (<a href="https://redirect.github.com/tower-rs/tower-http/issues/661">#661</a>)</li> <li><a href="https://github.com/tower-rs/tower-http/commit/d9e5c8a38d072e49f32b5602f5cca0b8d1402e05"><code>d9e5c8a</code></a> ci: Update to cargo-check-external-types 0.5.0 (<a href="https://redirect.github.com/tower-rs/tower-http/issues/724">#724</a>)</li> <li><a href="https://github.com/tower-rs/tower-http/commit/90c072b50eba4a47fe6b696416086c7e269bb3e9"><code>90c072b</code></a> Propagate ServeDir::try_call I/O errors (<a href="https://redirect.github.com/tower-rs/tower-http/issues/718">#718</a>)</li> <li><a href="https://github.com/tower-rs/tower-http/commit/860922e81da98f0813928816634b30a74cbbbb83"><code>860922e</code></a> fix(decompression): don't end the body on an empty data frame (<a href="https://redirect.github.com/tower-rs/tower-http/issues/722">#722</a>)</li> <li><a href="https://github.com/tower-rs/tower-http/commit/85322522af352a09a21ddc9dd147b4bfc122d979"><code>8532252</code></a> docs(example)/custom future with multiple bodies (<a href="https://redirect.github.com/tower-rs/tower-http/issues/711">#711</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tower-rs/tower-http/compare/tower-http-0.6.11...tower-http-0.7.1">compare view</a></li> </ul> </details> <br /> [](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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
17c0612f80 | chore: Release | ||
|
|
cb5d12b501 |
chore(*): upgrade to noq, noq-proto, noq-udp v1.3.0 (#4518)
### Description Upgrade the noq dependencies to the lastest minor version. |
||
|
|
70c70db1e1 |
chore(deps): update der to 0.8.2 (#4516)
## Description `cargo deny check` fails on main: `der` 0.8.0 was yanked on crates.io and `deny.toml` sets `yanked = "deny"`, so the advisories audit errors out. ``` error[yanked]: detected yanked crate (try `cargo update -p der`) advisories FAILED, bans ok, licenses ok, sources ok ``` `cargo update -p der` moves it to 0.8.2, the newest in the 0.8 range. Lockfile only, one package; it comes in through `ed25519-dalek -> ed25519 -> pkcs8 -> der/spki`. ## API Changes None. ## Notes & open questions - Verified with cargo-deny 0.20.2 against the repo's `deny.toml`: `advisories FAILED` on 0.8.0, `advisories ok, bans ok, licenses ok, sources ok` on 0.8.2. 0.8.1 was released 2026-07-09 and 0.8.2 on 2026-09-05, so this has been red since 0.8.0 was yanked. - Patch bump within `^0.8`, so no requirement in the graph changes. I'm an agent posting from my own account (`n0-grookie`), at Philipp's request. ## Change checklist - [x] Self-review. - [ ] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [x] All API changes documented. - [ ] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. Co-authored-by: n0-grookie <322172879+n0-grookie@users.noreply.github.com> |
||
|
|
2b4de030ce |
feat(iroh-dns): Deprecate old nameserver builders (#4506)
## Description This deprecates the old nameserver config builders in favour of the new ones that are more consistent. ## API Changes - `iroh_dns::dns::Builder::with_nameserver` -> `add_nameserver` - `iroh_dns::dns::Builder::with_nameservers` -> `add_nameservers` The `iroh_dns::dns` module is also re-exported as `iroh::dns`. ## Notes & open questions - min-crates fails because it needs to select n0-dns-resolver which is not yet 3 days old. - I had to bump the version of iroh-dns to make the semver CI check happy. ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
1a68838b34 |
feat: Switch to n0-dns-resolver and make fallback nameservers configurable (#4419)
## Description This replaces our use of `hickory-resolver` with a new crate, [`n0-dns-resolver`](https://github.com/n0-computer/n0-dns-resolver). It is more lightweight, yet should cover all features we need. Being owned by us, it will also allow to tune things for our usecases better, if needed. The DNS resolver in `n0-dns-resolver` was built in a PR to iroh initially, see #4036. This PR supersedes #4036, which has the history of the new resolver. `n0-dns-resolver` has since been expanded slightly. It adds one feature: We now allow to configure a `FallbackMode`: On `main`, we would unconditionally fall back to using Google's nameservers if reading the system config fails. I never liked this, because it means that there's no way to configure iroh's DNS resolver to use system config, but never fall back to Google. So this adds a configuration (which is natively supported by n0-dns-resolver, which also includes a static list of DNS servers from Google, Cloudflare, Quad9): Use fallback only if system config cannot be loaded for whatever reason, or never use fallback, or use fallback as a deferred second tier of nameservers (if primary tier from system conf doesnt reply, use the fallback). The latter is the default now, and will make DNS resolution more reliable, as iroh will now survive a badly configured host system as long as IP connectivity to the fallback servers (UDP or TCP) exists. ## Breaking Changes None, this is all internal. ## Notes & open questions n0-dns-resolver still needs review scrutiny. It is reasonably small: Type | Code | Blank | Doc comments | Comments | Total -------------|--------------|--------------|--------------|--------------|------------- Main | **2116** | 299 | 888 | 147 | 3450 Tests | 1998 | 235 | 219 | 61 | 2513 Sum | 4114 | 534 | 1107 | 208 | 5963 i.e. around 6k lines in total, with 2.1k lines of Rust code (rest is tests, blanks, comments). `simple-dns` is the main dependency, but it is in our tree regardless. It has 6k rust code, 12k total. So both combined have 8k rust code, 18k total. Whereas `hickory-resolver`, `hickory-net`, `hickory-proto` combined have about 28k rust, 78k total, which explains the binary size reduction. #### Binary size savings Size comparison for a size-optimized release, a simple binary with iroh and tokio as only dependencies: ```toml [profile.release] strip = true opt-level = "z" # Optimize for size. lto = true panic = "abort" ``` `5.4MB` for `iroh` on `main` `4.8MB` for `iroh` patched to this PR So binary size savings of about 600KB or more than 10%. ## Change checklist <!-- Remove any that are not relevant. --> - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. --------- Co-authored-by: Rüdiger Klaehn <rklaehn@protonmail.com> Co-authored-by: Floris Bruynooghe <flub@n0.computer> |
||
|
|
25811699c5 |
deps: Bump n0-error version, remove patch (#4500)
## Description This uses the new n0-error release instead of the patch from before. It also disables the "deny warnings" compiler options for the minimal-crates check. It seems we can not keep this empty of warnings without having to make our dependencies needlessly tight. ## Breaking Changes none ## Notes & open questions none ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
cff1f7934b |
deps: Upgrade to non-yanked chacha20 version (#4499)
## Description Previous versions contained some UB. ## Breaking Changes none ## Notes & open questions Also uses https://github.com/n0-computer/n0-error/pull/61, n0-error needs a new release really. ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
fddf1a4ce2 | chore: Release | ||
|
|
1960e73f14 |
chore(*): update noq and net-tools dependencies (#4487)
Depend on newly released net-tools and noq crates. |
||
|
|
89ed3bfdaf |
ci(secruity): hardening + lock files + dependabot cooldown (#4480)
## Description Same pricinple as https://github.com/n0-computer/noq/pull/788 Uses --locked to ensure we only use deps from the lock file Adds cooldown period to dependabot pins actions versions introduces zizimor and pinact ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist <!-- Remove any that are not relevant. --> - [ ] Self-review. - [ ] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented. - [ ] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [ ] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
95d6a90fa2 |
chore(deps): bump portable-atomic from 1.14.0 to 1.15.0 (#4472)
Bumps [portable-atomic](https://github.com/taiki-e/portable-atomic) from 1.14.0 to 1.15.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/taiki-e/portable-atomic/blob/main/CHANGELOG.md">portable-atomic's changelog</a>.</em></p> <blockquote> <h2>[1.15.0] - 2026-08-09</h2> <ul> <li> <p>Work around <a href="https://redirect.github.com/rust-lang/compiler-builtins/pull/1234"><code>core::sync::atomic</code> bug</a> which may cause data races with non-relaxed load/CAS on pre-v6 ARM Linux/Android due to missing memory barrier. (<a href="https://redirect.github.com/taiki-e/portable-atomic/pull/112">#112</a>)</p> </li> <li> <p>Make {8,16,32}-bit non-relaxed load compatible with read-only memory on pre-v6 ARM Linux/Android. Previously only relaxed load was compatible with read-only memory. (<a href="https://redirect.github.com/taiki-e/portable-atomic/pull/112">#112</a>)</p> </li> <li> <p>Make <code>from_ptr</code> <code>const fn</code> on Rust 1.58+. Previously it was <code>const fn</code> only on Rust 1.83+. (<a href="https://github.com/taiki-e/portable-atomic/commit/c09d0e624f1416a01bbb11bba22c148b42dcb081">c09d0e6</a>)</p> </li> <li> <p>Optimize non-relaxed load/store on pre-v6 ARM Linux/Android. (<a href="https://redirect.github.com/taiki-e/portable-atomic/pull/112">#112</a>)</p> </li> <li> <p>Optimize fence on pre-v6 ARM Linux/Android. (<a href="https://redirect.github.com/taiki-e/portable-atomic/pull/112">#112</a>)</p> </li> <li> <p>Optimize 128-bit CAS/swap/min/max on s390x. This also includes removing the code complexity that caused the bug fixed in 1.14.0. (<a href="https://github.com/taiki-e/portable-atomic/commit/33cd7e55acfe1438c853b20b09ec786613228122">33cd7e5</a>, <a href="https://github.com/taiki-e/portable-atomic/commit/6c8f764bee3c3ca570552e49a8117402b0186ead">6c8f764</a>)</p> </li> <li> <p>Documentation improvements.</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/taiki-e/portable-atomic/commit/e4595528211f1d53b7f4d93e528ef84b491fc871"><code>e459552</code></a> Release 1.15.0</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/cb58081f88cd02681dbb32482acec7ae198850d5"><code>cb58081</code></a> Update changelog</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/c5b8b98ba4a37c85e7330ab67f5328c336db0207"><code>c5b8b98</code></a> arm_linux: Remove useless cache</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/b97efba24aabde59585f37db3bf94d1f5ecfd19a"><code>b97efba</code></a> ci: Re-enable detect_false test on Android</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/eaee7ec590dbab02c45acd69bbb5690f2cbbf9f8"><code>eaee7ec</code></a> detect: Update comments</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/c6fab541d4c36704dcfe086028b0575df76947b9"><code>c6fab54</code></a> tests: AArch64 L4Re is now available as builtin target</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/d0832a115b07c7bce149e96da7bdaff2b3ca9f4a"><code>d0832a1</code></a> tsan: Enable Adaptive Delay</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/81c2ee5fe02a9ccc05fc91a36fb4fa496aa2eb51"><code>81c2ee5</code></a> ci: Clean up sanitizer job</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/cfb767de5d1858ed88804d97f1d8f08da6d760ba"><code>cfb767d</code></a> Optimize non-relaxed load/store/fence and work around compiler-builtins bug o...</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/f19289e1fc1178159cfc01c15883c9b2b5077c0f"><code>f19289e</code></a> ci: Use full-length rev for mgba-test-runner</li> <li>Additional commits viewable in <a href="https://github.com/taiki-e/portable-atomic/compare/v1.14.0...v1.15.0">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
e68dbda9ad |
feat(iroh-relay, iroh): inform clients when they are rate-limited and warn log in iroh (#4455)
## Description When a relay server rate-limits a client connection, we now send a new `Status::RateLimited` message to the client, so that it can inform the user or the application. In iroh, for now we just `warn!` log this. The message is sent at most once per relay connection. Fixes #4454 ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions This does not need a protocol version bump because we are using the `Status` frame which is designed to be extensible with new variants. Old clients will see a `WARN: Relay server reports problem: Unsupported health message (2)`. ## Change checklist <!-- Remove any that are not relevant. --> - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
82eed32993 |
chore(iroh-dns-server): replace mainline with n0-mainline and update lru (#4470)
## Description
Main goal is to update `lru` to avoid `cargo deny` being angry.
While doing so I noticed that we pull in another old version of `lru`
via `mainline` on `iroh-dns-server`, so I'm switching it to depend on
`n0-mainline` instead.
## Breaking Changes
None.
## Change checklist
- [x] Self-review.
- [x] This PR was created by a human that thought critically about the
proposed change and wrote an as clear and concise description as
they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
intented effect.
|
||
|
|
735958f81e |
fix(iroh-dns-server): enable TCP keepalive on HTTP listeners (#4462)
## Description Recent usage increases highlighted that we're leaking memory. Turns out we seemingly keep connections around forever. The issue is slightly compounded by the fact that our pkarr `DEFAULT_REPUBLISH_INTERVAL` is 5 min while the default reqwest pool_idle_timeout is 90s so essentially we never reuse these connections client side and keep opening new ones. Another note is that this just cleans up actually dead connections, a client that also leaks connections would also be infinitely responding with keepalives. To fix that we would need some better logistics and a idle timer on our end. This cleans up dead connections in roughly 200 sec. ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist <!-- Remove any that are not relevant. --> - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
156fc34f59 |
chore(deps): bump simple-dns from 0.11.3 to 0.12.0 (#4451)
Bumps [simple-dns](https://github.com/balliegojr/simple-dns) from 0.11.3 to 0.12.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/balliegojr/simple-dns/releases">simple-dns's releases</a>.</em></p> <blockquote> <h2>simple-dns 0.12.0</h2> <h3>Fix</h3> <ul> <li>Document panic behaviour in header_buffer and change the functions to have a safe and _unchecked version.</li> <li>Fixed incorrect resource record len bytes when writing NSEC records</li> <li>Fixed incorrect behaviour when writing compressed resource records to fixed size writers</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/balliegojr/simple-dns/commit/5c7ec98798d7c9f7d76df7aa3bbe754913ff5159"><code>5c7ec98</code></a> release simple-dns 0.12.0</li> <li><a href="https://github.com/balliegojr/simple-dns/commit/0044611877c83978b0639ddacb09ed706b3ad61d"><code>0044611</code></a> fixes incorrect nsec len</li> <li><a href="https://github.com/balliegojr/simple-dns/commit/df9781b109fa8ae0e9b6cd1f13d7b45bcb8e17ae"><code>df9781b</code></a> fix resource_record write_compressed_to seek behaviour</li> <li><a href="https://github.com/balliegojr/simple-dns/commit/fa76ce75debd88fdfd451c7c0c29540ec6910bbd"><code>fa76ce7</code></a> fix panic comments</li> <li><a href="https://github.com/balliegojr/simple-dns/commit/947a085a5296e67c32df75ed32b11567672c4648"><code>947a085</code></a> fix clippy error</li> <li><a href="https://github.com/balliegojr/simple-dns/commit/edd0af62f822c0cec08a803a453d3c040f950d0f"><code>edd0af6</code></a> change header_buffer functions to be safe and implement _unchecked variants</li> <li><a href="https://github.com/balliegojr/simple-dns/commit/6be9583c24d38d4e2064a901cb3095051d1555d5"><code>6be9583</code></a> update dependencies and release 0.7.0</li> <li>See full diff in <a href="https://github.com/balliegojr/simple-dns/compare/simple-dns/0.11.3...simple-dns/0.12.0">compare view</a></li> </ul> </details> <br /> [](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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
b18f9dc0ad |
chore(deps): bump http from 1.4.2 to 1.5.0 (#4450)
Bumps [http](https://github.com/hyperium/http) from 1.4.2 to 1.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/hyperium/http/releases">http's releases</a>.</em></p> <blockquote> <h2>v1.5.0</h2> <h2>What's Changed</h2> <ul> <li>feat(method): add QUERY method by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/http/pull/798">hyperium/http#798</a></li> <li>fix(uri): allow empty paths in uri::Builder by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/http/pull/853">hyperium/http#853</a></li> <li>perf(header,uri): faster value validation, URI parse/format, map inserts by <a href="https://github.com/geeknoid"><code>@geeknoid</code></a> in <a href="https://redirect.github.com/hyperium/http/pull/852">hyperium/http#852</a></li> <li>fix(uri): enforce max length in PathAndQuery by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/http/pull/856">hyperium/http#856</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/geeknoid"><code>@geeknoid</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/http/pull/852">hyperium/http#852</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/hyperium/http/compare/v1.4.2...v1.5.0">https://github.com/hyperium/http/compare/v1.4.2...v1.5.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/hyperium/http/blob/master/CHANGELOG.md">http's changelog</a>.</em></p> <blockquote> <h1>1.5.0 (July 29, 2026)</h1> <ul> <li>Add <code>Method::QUERY</code> constant for the new QUERY method defined in RFC 10008.</li> <li>Fix <code>uri::Builder::path_and_query()</code> to allow empty strings to mean no path.</li> <li>Fix <code>uri::PathAndQuery</code> parsing to enforce URI max length.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/hyperium/http/commit/16fc9a7b840c2181e7f8b37397c107b0ffcd050d"><code>16fc9a7</code></a> v1.5.0</li> <li><a href="https://github.com/hyperium/http/commit/e559023f67e3fad6ecc3ee91307be178e0f13626"><code>e559023</code></a> fix(uri): enforce max length in PathAndQuery (<a href="https://redirect.github.com/hyperium/http/issues/856">#856</a>)</li> <li><a href="https://github.com/hyperium/http/commit/2178e175c4e247a33ba5f6ca3503afb1afbaabba"><code>2178e17</code></a> perf(header,uri): faster value validation, URI parse/format, map inserts (<a href="https://redirect.github.com/hyperium/http/issues/852">#852</a>)</li> <li><a href="https://github.com/hyperium/http/commit/03c8cd7faeddfad00873b4d58a45ecdf74ebebe6"><code>03c8cd7</code></a> fix(uri): allow empty paths in uri::Builder (<a href="https://redirect.github.com/hyperium/http/issues/853">#853</a>)</li> <li><a href="https://github.com/hyperium/http/commit/bb8705b25cdb6e29081edf9ade2ea124f6783e18"><code>bb8705b</code></a> feat(method): add QUERY method (<a href="https://redirect.github.com/hyperium/http/issues/798">#798</a>)</li> <li>See full diff in <a href="https://github.com/hyperium/http/compare/v1.4.2...v1.5.0">compare view</a></li> </ul> </details> <br /> [](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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
7d8c9bf05d |
test(iroh): update patchbay to 0.7.0 (#4445)
## Description I merged a couple of breaking changes to patchbay (restructured the NAT presets n0-computer/patchbay#37 and improved the link condition APIs including now modeling more realistic link conditions n0-computer/patchbay#43). This PR updates iroh to this newly released patchbay 0.7.0. ## Breaking Changes None ## Notes & open questions This PR does not adjust the degrade tests to make use of the more realistic loss distribution now available in patchbay, that'll be a separate PR. ## Change checklist <!-- Remove any that are not relevant. --> - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|
|
bbc82b6554 |
fix: bind iroh-dns-server to both IPv4 and IPv6 (#4432)
## Description This makes iroh-dns-server bind to both IPv4 and IPv6 by default for HTTP, HTTPS, and DNS. The IPv6 wildcard (`::`) on Linux binds to both IPv4 and IPv6, which is what we want for the default. People can still override it via `bind_addr` in `config.toml`. ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist <!-- Remove any that are not relevant. --> - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
117ae31c90 |
chore(deps): bump hyper from 1.10.1 to 1.11.0 (#4439)
Bumps [hyper](https://github.com/hyperium/hyper) from 1.10.1 to 1.11.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/hyperium/hyper/releases">hyper's releases</a>.</em></p> <blockquote> <h2>v1.11.0</h2> <h2>Features</h2> <ul> <li><strong>rt:</strong> add <code>ReadBufCursor::initialized_unfilled()</code> method (<a href="https://redirect.github.com/hyperium/hyper/issues/4115">#4115</a>) (<a href="https://github.com/hyperium/hyper/commit/ccc1e850dc0cda3e71b0acd11f60ca3d48d09034">ccc1e850</a>)</li> </ul> <h2>Bug Fixes</h2> <ul> <li><strong>http1:</strong> <ul> <li>discard content-length header when received before transfer-encoding (<a href="https://redirect.github.com/hyperium/hyper/issues/4124">#4124</a>) (<a href="https://github.com/hyperium/hyper/commit/540fff9180ce47ee5fab01b6cc2126eb6c286eda">540fff91</a>, closes <a href="https://redirect.github.com/hyperium/hyper/issues/4123">#4123</a>)</li> <li>use append for repeat trailer values in encoder (<a href="https://redirect.github.com/hyperium/hyper/issues/4118">#4118</a>) (<a href="https://github.com/hyperium/hyper/commit/de1483d7db70477cc8799a344634ae6ee020a7db">de1483d7</a>)</li> <li>allow up to max_headers trailers (<a href="https://redirect.github.com/hyperium/hyper/issues/4108">#4108</a>) (<a href="https://github.com/hyperium/hyper/commit/f584091ac096bd5dd478f73256188c3261a945b9">f584091a</a>)</li> <li>use append for repeat trailers (<a href="https://redirect.github.com/hyperium/hyper/issues/4107">#4107</a>) (<a href="https://github.com/hyperium/hyper/commit/876effe10fd8f8ad4535ade1f84e88f199f2cf6b">876effe1</a>)</li> <li>flush buffered data before shutdown (<a href="https://redirect.github.com/hyperium/hyper/issues/4018">#4018</a>) (<a href="https://github.com/hyperium/hyper/commit/72046cc72e7aa82c439eed00850b8b1ad3f7e4dc">72046cc7</a>, closes <a href="https://redirect.github.com/hyperium/hyper/issues/4022">#4022</a>)</li> <li>more strictly enforce max_buf_size when parsing (<a href="https://redirect.github.com/hyperium/hyper/issues/4093">#4093</a>) (<a href="https://github.com/hyperium/hyper/commit/90ede307470dba98b4e184ad88d6f5aae8b0afd7">90ede307</a>, closes <a href="https://redirect.github.com/hyperium/hyper/issues/4081">#4081</a>)</li> </ul> </li> <li><strong>http2:</strong> avoid buffering <code>Upgraded</code> writes without send capacity (<a href="https://redirect.github.com/hyperium/hyper/issues/4102">#4102</a>) (<a href="https://github.com/hyperium/hyper/commit/aecf5abfbc3dc95f21ac1538db1aa3f690fa6ab6">aecf5abf</a>)</li> </ul> <h2>All PRs</h2> <ul> <li>removing <code>cast_lossless</code> lint by <a href="https://github.com/josetorrs"><code>@josetorrs</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4087">hyperium/hyper#4087</a></li> <li>Fix the borrow_as_ptr lint by <a href="https://github.com/xd009642"><code>@xd009642</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4082">hyperium/hyper#4082</a></li> <li>removing <code>empty_structs_with_brackets</code> lint by <a href="https://github.com/josetorrs"><code>@josetorrs</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4088">hyperium/hyper#4088</a></li> <li>style(proto): removing <code>explicit_iter_loop</code> lint by <a href="https://github.com/josetorrs"><code>@josetorrs</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4089">hyperium/hyper#4089</a></li> <li>Fix the ptr_as_ptr lint by <a href="https://github.com/nakaryo716"><code>@nakaryo716</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4091">hyperium/hyper#4091</a></li> <li>style(lib): remove <code>manual_assert_eq</code> lint by <a href="https://github.com/josetorrs"><code>@josetorrs</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4090">hyperium/hyper#4090</a></li> <li>style(http2): allow an instance of large_enum_variant, deny otherwise by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4092">hyperium/hyper#4092</a></li> <li>Removing 'undocumented_unsafe_blocks' lint allowance by <a href="https://github.com/Lori-Shu"><code>@Lori-Shu</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4083">hyperium/hyper#4083</a></li> <li>style(http2): use an enum instead of bool in strip_connection_headers() by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4094">hyperium/hyper#4094</a></li> <li>fix(http1): more strictly enforce max_buf_size when parsing by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4093">hyperium/hyper#4093</a></li> <li>h1 servers can shutdown connections with pending buffered data on filled sockets by <a href="https://github.com/deven96"><code>@deven96</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4018">hyperium/hyper#4018</a></li> <li>refactor(http1): remove ref_option lint by <a href="https://github.com/nakaryo716"><code>@nakaryo716</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4101">hyperium/hyper#4101</a></li> <li>style(lib): remove <code>unnecessary_semicolon</code> lint by <a href="https://github.com/josetorrs"><code>@josetorrs</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4103">hyperium/hyper#4103</a></li> <li>style(lib): remove <code>uninlined_format_args</code> lint by <a href="https://github.com/josetorrs"><code>@josetorrs</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4104">hyperium/hyper#4104</a></li> <li>style(lib): remove <code>semicolon_if_nothing_returned</code> lint by <a href="https://github.com/MonkieeBoi"><code>@MonkieeBoi</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4106">hyperium/hyper#4106</a></li> <li>style(lib): remove <code> single_match_else</code> lint by <a href="https://github.com/yunz-dev"><code>@yunz-dev</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4105">hyperium/hyper#4105</a></li> <li>style(lib): remove <code>default_trait_access</code> lint by <a href="https://github.com/nakaryo716"><code>@nakaryo716</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4111">hyperium/hyper#4111</a></li> <li>fix(http1): use append for repeat trailers by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4107">hyperium/hyper#4107</a></li> <li>fix(http1): allow up to max_headers trailers by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4108">hyperium/hyper#4108</a></li> <li>fix(http2): avoid buffering <code>Upgraded</code> writes without send capacity by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4102">hyperium/hyper#4102</a></li> <li>style(headers): small refactor to remove <code>question_mark</code> lint by <a href="https://github.com/josetorrs"><code>@josetorrs</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4116">hyperium/hyper#4116</a></li> <li>fix(h1): append duplicate trailer values when encoding (match <a href="https://redirect.github.com/hyperium/hyper/issues/4107">#4107</a>) by <a href="https://github.com/greymoth-jp"><code>@greymoth-jp</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4118">hyperium/hyper#4118</a></li> <li>style(proto): fix <code>decimal_literal_representation</code> lint by <a href="https://github.com/josetorrs"><code>@josetorrs</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4117">hyperium/hyper#4117</a></li> <li>docs(governance): define Advisor role by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4098">hyperium/hyper#4098</a></li> <li>docs(maintainers): move some collaborators to emeriti by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4125">hyperium/hyper#4125</a></li> <li>feat: add initialized_unfilled to ReadBufCursor by <a href="https://github.com/abh1nav10"><code>@abh1nav10</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4115">hyperium/hyper#4115</a></li> <li>fix(http1): discard content-length header when received before transfer-encoding by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4124">hyperium/hyper#4124</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/josetorrs"><code>@josetorrs</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/hyper/pull/4087">hyperium/hyper#4087</a></li> <li><a href="https://github.com/nakaryo716"><code>@nakaryo716</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/hyper/pull/4091">hyperium/hyper#4091</a></li> <li><a href="https://github.com/deven96"><code>@deven96</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/hyper/pull/4018">hyperium/hyper#4018</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/hyperium/hyper/blob/master/CHANGELOG.md">hyper's changelog</a>.</em></p> <blockquote> <h2>v1.11.0 (2026-07-20)</h2> <h4>Bug Fixes</h4> <ul> <li><strong>http1:</strong> <ul> <li>discard content-length header when received before transfer-encoding (<a href="https://redirect.github.com/hyperium/hyper/issues/4124">#4124</a>) (<a href="https://github.com/hyperium/hyper/commit/540fff9180ce47ee5fab01b6cc2126eb6c286eda">540fff91</a>, closes <a href="https://redirect.github.com/hyperium/hyper/issues/4123">#4123</a>)</li> <li>use append for repeat trailer values in encoder (<a href="https://redirect.github.com/hyperium/hyper/issues/4118">#4118</a>) (<a href="https://github.com/hyperium/hyper/commit/de1483d7db70477cc8799a344634ae6ee020a7db">de1483d7</a>)</li> <li>allow up to max_headers trailers (<a href="https://redirect.github.com/hyperium/hyper/issues/4108">#4108</a>) (<a href="https://github.com/hyperium/hyper/commit/f584091ac096bd5dd478f73256188c3261a945b9">f584091a</a>)</li> <li>use append for repeat trailers (<a href="https://redirect.github.com/hyperium/hyper/issues/4107">#4107</a>) (<a href="https://github.com/hyperium/hyper/commit/876effe10fd8f8ad4535ade1f84e88f199f2cf6b">876effe1</a>)</li> <li>flush buffered data before shutdown (<a href="https://redirect.github.com/hyperium/hyper/issues/4018">#4018</a>) (<a href="https://github.com/hyperium/hyper/commit/72046cc72e7aa82c439eed00850b8b1ad3f7e4dc">72046cc7</a>, closes <a href="https://redirect.github.com/hyperium/hyper/issues/4022">#4022</a>)</li> <li>more strictly enforce max_buf_size when parsing (<a href="https://redirect.github.com/hyperium/hyper/issues/4093">#4093</a>) (<a href="https://github.com/hyperium/hyper/commit/90ede307470dba98b4e184ad88d6f5aae8b0afd7">90ede307</a>, closes <a href="https://redirect.github.com/hyperium/hyper/issues/4081">#4081</a>)</li> </ul> </li> <li><strong>http2:</strong> avoid buffering <code>Upgraded</code> writes without send capacity (<a href="https://redirect.github.com/hyperium/hyper/issues/4102">#4102</a>) (<a href="https://github.com/hyperium/hyper/commit/aecf5abfbc3dc95f21ac1538db1aa3f690fa6ab6">aecf5abf</a>)</li> </ul> <h4>Features</h4> <ul> <li><strong>rt:</strong> add <code>ReadBufCursor::initialized_unfilled()</code> method (<a href="https://redirect.github.com/hyperium/hyper/issues/4115">#4115</a>) (<a href="https://github.com/hyperium/hyper/commit/ccc1e850dc0cda3e71b0acd11f60ca3d48d09034">ccc1e850</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/hyperium/hyper/commit/67ace6484db5d4a15367013847768f5f94f4b97d"><code>67ace64</code></a> v1.11.0</li> <li><a href="https://github.com/hyperium/hyper/commit/540fff9180ce47ee5fab01b6cc2126eb6c286eda"><code>540fff9</code></a> fix(http1): discard content-length header when received before transfer-encod...</li> <li><a href="https://github.com/hyperium/hyper/commit/ccc1e850dc0cda3e71b0acd11f60ca3d48d09034"><code>ccc1e85</code></a> feat(rt): add <code>ReadBufCursor::initialized_unfilled()</code> method (<a href="https://redirect.github.com/hyperium/hyper/issues/4115">#4115</a>)</li> <li><a href="https://github.com/hyperium/hyper/commit/0ea8bc2772bbe785d7234e3eb3bd4df5440f57fb"><code>0ea8bc2</code></a> docs(maintainers): move some collaborators to emeriti (<a href="https://redirect.github.com/hyperium/hyper/issues/4125">#4125</a>)</li> <li><a href="https://github.com/hyperium/hyper/commit/2fc06fc7724e2b684c2658327f0721fd3bfa57d9"><code>2fc06fc</code></a> docs(governance): define Advisor role (<a href="https://redirect.github.com/hyperium/hyper/issues/4098">#4098</a>)</li> <li><a href="https://github.com/hyperium/hyper/commit/e0d14d19a0a87962efe92acdaa029253be54a612"><code>e0d14d1</code></a> style(proto): explicitly allow <code>decimal_literal_representation</code> lint (<a href="https://redirect.github.com/hyperium/hyper/issues/4117">#4117</a>)</li> <li><a href="https://github.com/hyperium/hyper/commit/de1483d7db70477cc8799a344634ae6ee020a7db"><code>de1483d</code></a> fix(http1): use append for repeat trailer values in encoder (<a href="https://redirect.github.com/hyperium/hyper/issues/4118">#4118</a>)</li> <li><a href="https://github.com/hyperium/hyper/commit/08c3416279b36456c5ce83d0edd33e955e411c90"><code>08c3416</code></a> style(headers): small refactor to remove question_mark lint (<a href="https://redirect.github.com/hyperium/hyper/issues/4116">#4116</a>)</li> <li><a href="https://github.com/hyperium/hyper/commit/aecf5abfbc3dc95f21ac1538db1aa3f690fa6ab6"><code>aecf5ab</code></a> fix(http2): avoid buffering <code>Upgraded</code> writes without send capacity (<a href="https://redirect.github.com/hyperium/hyper/issues/4102">#4102</a>)</li> <li><a href="https://github.com/hyperium/hyper/commit/f584091ac096bd5dd478f73256188c3261a945b9"><code>f584091</code></a> fix(http1): allow up to max_headers trailers (<a href="https://redirect.github.com/hyperium/hyper/issues/4108">#4108</a>)</li> <li>Additional commits viewable in <a href="https://github.com/hyperium/hyper/compare/v1.10.1...v1.11.0">compare view</a></li> </ul> </details> <br /> [](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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
cf52284589 |
chore(deps): bump tokio from 1.52.3 to 1.53.1 (#4436)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.52.3 to 1.53.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tokio-rs/tokio/releases">tokio's releases</a>.</em></p> <blockquote> <h2>Tokio v1.53.1</h2> <h1>1.53.1 (July 20th, 2026)</h1> <h3>Fixed</h3> <ul> <li>signal: restore MSRV by removing <code>OnceLock::wait</code> from the Windows handler (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8300">#8300</a>)</li> </ul> <h3>Fixed (unstable)</h3> <ul> <li>time: fix alt timer cancellation and insertion race (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8252">#8252</a>)</li> </ul> <h3>Documented</h3> <ul> <li>runtime: remove dead link definition in Runtime::block_on (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8301">#8301</a>)</li> </ul> <p><a href="https://redirect.github.com/tokio-rs/tokio/issues/8252">#8252</a>: <a href="https://redirect.github.com/tokio-rs/tokio/pull/8252">tokio-rs/tokio#8252</a> <a href="https://redirect.github.com/tokio-rs/tokio/issues/8300">#8300</a>: <a href="https://redirect.github.com/tokio-rs/tokio/pull/8300">tokio-rs/tokio#8300</a> <a href="https://redirect.github.com/tokio-rs/tokio/issues/8301">#8301</a>: <a href="https://redirect.github.com/tokio-rs/tokio/pull/8301">tokio-rs/tokio#8301</a></p> <h2>Tokio v1.53.0</h2> <h1>1.53.0 (July 17th, 2026)</h1> <h3>Added</h3> <ul> <li>fs: implement <code>From<OwnedFd></code> and <code>From<OwnedHandle></code> for <code>File</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8266">#8266</a>)</li> <li>metrics: add task schedule latency metric (<a href="https://redirect.github.com/tokio-rs/tokio/issues/7986">#7986</a>)</li> <li>net: add <code>SocketAddr</code> methods to Unix sockets (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8144">#8144</a>)</li> </ul> <h3>Changed</h3> <ul> <li>io: add <code>#[inline]</code> to IO trait impls for in-memory types (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8242">#8242</a>)</li> <li>net: implement UCred::pid on FreeBSD (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8086">#8086</a>)</li> <li>net: support Nuttx target os (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8259">#8259</a>)</li> <li>signal: refactor global variables on Windows (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8231">#8231</a>)</li> <li>sync: <code>mpsc::{Receiver,UnboundedReceiver}</code> now drops waker on drop, even if there are still senders (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8095">#8095</a>)</li> <li>taskdump: support taskdumps on s390x (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8192">#8192</a>)</li> <li>time: add <code>#[track_caller]</code> to <code>timeout_at()</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8077">#8077</a>)</li> <li>time: consolidate mutex locks on spurious poll (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8124">#8124</a>)</li> <li>time: defer waker clone on spurious poll (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8107">#8107</a>)</li> <li>time: move lazy-registration state into <code>Sleep</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8132">#8132</a>)</li> <li>tracing: remove unnecessary span clone (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8126">#8126</a>)</li> </ul> <h3>Fixed</h3> <ul> <li>io: do not treat zero-length reads as EOF in <code>Chain</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8251">#8251</a>)</li> <li>net: use getpeereid for QNX peer credentials (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8270">#8270</a>)</li> <li>runtime: avoid illegal state in <code>FastRand</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8078">#8078</a>)</li> <li>sync: wake mpsc receiver when a queued <code>reserve[_many]</code> returns permits (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8260">#8260</a>)</li> <li>taskdump: skip double wake on <code>Trace::capture</code>/<code>Trace::trace_with</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8043">#8043</a>)</li> <li>time: avoid stack overflow in runtime constructor (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8093">#8093</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tokio-rs/tokio/commit/75fef53d0a8590c2d1dbb63672aa7b7d1ef51155"><code>75fef53</code></a> chore: prepare Tokio v1.53.1 (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8303">#8303</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/ae9d01121377cdbef32b9d5e8559843cce9f927e"><code>ae9d011</code></a> signal: restore MSRV by removing OnceLock::wait from the Windows handler (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8300">#8300</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/eb4988dc2ecb85d2617971fbbabc84938c141bfd"><code>eb4988d</code></a> time: fix the loom test of the race between cancellation/insertion (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8302">#8302</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/91d3b4c0bccf2234fc3ed19e605e2cd402f19437"><code>91d3b4c</code></a> time: fix alt timer cancellation and insertion race (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8252">#8252</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/a46338401b9e0ffc9bd68c31100ee99cee717481"><code>a463384</code></a> runtime: remove dead link definition in <code>Runtime::block_on</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8301">#8301</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/be689a35f5ade5a39e507f79d3ec85cdab27806f"><code>be689a3</code></a> chore: prepare Tokio v1.53.0 (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8294">#8294</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/50f76c71ec7203013f7f0cda59deaa9016e93939"><code>50f76c7</code></a> chore: prepare tokio-macros v2.7.1 (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8295">#8295</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/f61fccad3cd598cce743fc511a983364b77af92a"><code>f61fcca</code></a> Merge 'tokio-1.52.4' into 'master' (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8290">#8290</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/efdba5fcf02c4b93d379114df136b994c3b21445"><code>efdba5f</code></a> chore: prepare Tokio v1.52.4 (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8289">#8289</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/b0ba02e75507518baed6718b0c37105e430f3a93"><code>b0ba02e</code></a> Merge 'tokio-1.51.4' into 'tokio-1.52.x' (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8288">#8288</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tokio-rs/tokio/compare/tokio-1.52.3...tokio-1.53.1">compare view</a></li> </ul> </details> <br /> [](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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
a0cb927ddb |
chore(deps): bump portable-atomic from 1.13.1 to 1.14.0 (#4438)
Bumps [portable-atomic](https://github.com/taiki-e/portable-atomic) from 1.13.1 to 1.14.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/taiki-e/portable-atomic/blob/main/CHANGELOG.md">portable-atomic's changelog</a>.</em></p> <blockquote> <h2>[1.14.0] - 2026-07-17</h2> <ul> <li> <p>Guarantee that <code>is_lock_free</code> to always return the same result. (<a href="https://github.com/taiki-e/portable-atomic/commit/e74f384efab9eae540087a20ed140dddc0d06ce7">e74f384</a>)</p> </li> <li> <p>Fix bug in 128-bit <code>fetch_{min,max}</code> on pre-z196 s390x. (<a href="https://github.com/taiki-e/portable-atomic/commit/a6c6c4bdb7c1b4f9d406ebbdcc54805e5e7eec10">a6c6c4b</a>)</p> </li> <li> <p>Fix bug in atomic float <code>fetch_{add,sub,max,min}</code> on AArch64 when FEAT_LSFE is enabled. (There are currently no known CPUs that support FEAT_LSFE.) (<a href="https://github.com/taiki-e/portable-atomic/commit/b105f9bc612e07c6f6a07291fa2be8cba38fa5df">b105f9bc</a>)</p> </li> <li> <p>Fix panic in build script when custom target with non-standard name on non-nightly rustc. (<a href="https://github.com/taiki-e/portable-atomic/commit/02ca7371eecd005fa1b170c12f8a0bad5e77a7fb">02ca737</a>)</p> </li> <li> <p>Improve robustness of interrupt disable/restore on RISC-V and Xtensa. (<a href="https://github.com/taiki-e/portable-atomic/commit/88cb3d50c66569dab95cc93250bd1e4202508a65">88cb3d5</a>)</p> </li> <li> <p>Optimize SeqCst fence on x86. (<a href="https://github.com/taiki-e/portable-atomic/commit/9127b31caae0545424254b5ba6dcf5c91b7d59e6">9127b31</a>)</p> </li> <li> <p>Optimize 128-bit CAS when FEAT_LSE is not enabled. (<a href="https://github.com/taiki-e/portable-atomic/commit/671b9a89d1e324547a3f29ae09a5a306b3b54a3b">671b9a89</a>)</p> </li> <li> <p>Optimize SeqCst atomics on AArch64 Windows MSVC. (<a href="https://github.com/taiki-e/portable-atomic/commit/671b9a89d1e324547a3f29ae09a5a306b3b54a3b">671b9a89</a>)</p> </li> <li> <p>Optimize 8-bit fetch_and/fetch_or/fetch_xor/fetch_not on AVR when RMW instructions available. (<a href="https://github.com/taiki-e/portable-atomic/commit/6f2f11f243673380e8732c5c5c1e18e6a5b553ff">6f2f11f2</a>)</p> </li> <li> <p>Optimize 128-bit RMW on s390x. (<a href="https://github.com/taiki-e/portable-atomic/commit/b8c502a9238e9aed4e169f909b3d25c797f76cc4">b8c502a9</a>)</p> </li> <li> <p>Optimize run-time CPU feature detection. (<a href="https://github.com/taiki-e/portable-atomic/commit/cae703222aca87d2a014372a02afb14c0b80ed32">cae7032</a>)</p> </li> <li> <p>Enable run-time detection by default on AArch64 Apple targets. (<a href="https://github.com/taiki-e/portable-atomic/commit/6c920155e7645b859e6f667963c90f775e561213">6c92015</a>)</p> </li> <li> <p>Enable run-time detection by default on AArch64 illumos. (<a href="https://github.com/taiki-e/portable-atomic/commit/59e3636bbe5515121c137d3b939e2cd39b50f1a4">59e3636b</a>)</p> </li> <li> <p>aarch64: Support run-time detection of FEAT_LSE2 on Windows. (<a href="https://github.com/taiki-e/portable-atomic/commit/16bc44f07b0709828a9d2f100dccde7db5477794">16bc44f0</a>)</p> </li> <li> <p>Make <code>portable_atomic_no_outline_atomics</code> cfg no-op instead of compile error on unsupported architectures. (<a href="https://github.com/taiki-e/portable-atomic/commit/6b8e3eb3b92bd64a0a6516bf4f72feb467ccbb3d">6b8e3eb</a>)</p> </li> <li> <p>Improve compile-time detection of AVR target features. (<a href="https://github.com/taiki-e/portable-atomic/commit/2b5a9a4f6df1736f536aecade53181ca24446846">2b5a9a4f</a>)</p> </li> <li> <p>Documentation improvements.</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/taiki-e/portable-atomic/commit/5cfa54ab884015dc3d195648ad60f976c63024ef"><code>5cfa54a</code></a> Release 1.14.0</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/099b92819792e7ad7504e940bfefb23b2b016388"><code>099b928</code></a> Update changelog</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/c4124367b89594b1f6d5dbc493561e3bae51a324"><code>c412436</code></a> Fix bit_clear docs</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/921d719c9913f3556b69db4df910d50b50c5f57e"><code>921d719</code></a> Remove unused portable_atomic_pre_llvm_15 cfg</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/02ca7371eecd005fa1b170c12f8a0bad5e77a7fb"><code>02ca737</code></a> Do not panic in build script with odd custom target name</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/a6c6c4bdb7c1b4f9d406ebbdcc54805e5e7eec10"><code>a6c6c4b</code></a> s390x: Fix byte_wise_atomic_load</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/def5258aea655397927c1492a435eeea59fb1528"><code>def5258</code></a> ci: Temporarily disable f128 test for Windows</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/100179970a26d33f1d655325392a0dc304876758"><code>1001799</code></a> fallback: Move shared code to seq_lock_common.rs and improve tests</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/fd2f9f0b46d00abf8ea343350a93b3aa5f3ea394"><code>fd2f9f0</code></a> Update comments</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/2265f7aeceaf1a24508ffb45fb1920ce6f53d3cd"><code>2265f7a</code></a> Make cfg_*_fast_atomic_64! helper macros rustfmt-able</li> <li>Additional commits viewable in <a href="https://github.com/taiki-e/portable-atomic/compare/v1.13.1...v1.14.0">compare view</a></li> </ul> </details> <br /> [](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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
03199f2a07 |
chore(deps): bump hdrhistogram from 7.5.4 to 7.6.0 (#4437)
Bumps [hdrhistogram](https://github.com/HdrHistogram/HdrHistogram_rust) from 7.5.4 to 7.6.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/HdrHistogram/HdrHistogram_rust/blob/main/CHANGELOG.md">hdrhistogram's changelog</a>.</em></p> <blockquote> <h2>[7.6.0] - 2026-07-18</h2> <p>Note that this release bumps MSRV to 1.88 because it uses a few newer Rust features like <code>use<></code> and <code>[]::as_chunks</code>.</p> <h3>Added</h3> <ul> <li><code>HdrHistogram::value_at_quantiles</code> and <code>HdrHistogram::value_at_percentiles</code> for faster lookup of multiple quantiles/percentiles (<a href="https://redirect.github.com/HdrHistogram/HdrHistogram_rust/issues/138">#138</a>).</li> </ul> <h3>Changed</h3> <ul> <li><code>HdrHistogram::value_at_quantile</code> and <code>HdrHistogram::value_at_percentile</code> now use vectorized operations so that they should be significantly faster on larger histograms (<a href="https://redirect.github.com/HdrHistogram/HdrHistogram_rust/issues/140">#140</a>).</li> <li>All usages of <code>unsafe</code> are removed, causing serialization to be slightly slower, but safe.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/199643836b0c68a9d90d904cc3feb96b8c6e87ce"><code>1996438</code></a> Merge pull request <a href="https://redirect.github.com/HdrHistogram/HdrHistogram_rust/issues/147">#147</a> from HdrHistogram/bump-deps</li> <li><a href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/6ebf27ce946f1ff3e3112db023d1c61c5d7a859b"><code>6ebf27c</code></a> Release as 7.6.0</li> <li><a href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/659e1cc3d8c7fdb603bb8cf93328a91cd66381a2"><code>659e1cc</code></a> try to fix minimal versions</li> <li><a href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/ffe32ada367baf874f9bbfb760eb19adec73cab0"><code>ffe32ad</code></a> cargo clippy --all-targets</li> <li><a href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/8e708a705b479682c4414a85e645b117efcc54b9"><code>8e708a7</code></a> Include u64::MAX in random 9-byte-varint values</li> <li><a href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/081cd70490d67510831c612bdef64abd5f13f313"><code>081cd70</code></a> make minimal versions explicit</li> <li><a href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/9fac3cffad9d75cf933665ad5aeafe7582bade69"><code>9fac3cf</code></a> Upgrade nom to 8</li> <li><a href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/539f323976fd4b83cce6f09d8d6a927f767a3cff"><code>539f323</code></a> Upgrade rand to 0.10</li> <li><a href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/afa033ae27f59cf259dd6e849a6d04322113746c"><code>afa033a</code></a> Upgrade base64 to 0.22</li> <li><a href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/f661037dc2dd495f963ceb63de2326663593b2be"><code>f661037</code></a> cargo fmt</li> <li>Additional commits viewable in <a href="https://github.com/HdrHistogram/HdrHistogram_rust/compare/v7.5.4...v7.6.0">compare view</a></li> </ul> </details> <br /> [](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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
e5c710a29f | chore: Release | ||
|
|
e84fe96dde |
chore: update to noq 1.1.0
|
||
|
|
cc876c75e5 |
fix(iroh): error when connecting with an empty ALPN (#4427)
## Description When using connect with an empty ALPN rustls throws a panic from somewhere strange. Catch this early. Part of #4423 ## Breaking Changes n/a ## Notes & open questions When testing what the server does when you connect to it when it has an empty alpn configured I ran into other yaks... I'll get there but it'll take a while. Let's do the client in the meantime. ## Change checklist - [x] Self-review. - [x] Tests if relevant. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
1795b9363c |
fix: remove vergen use from build.rs files (#4426)
## Description This removes the vergen dependency and removes it from the build.rs files where it was used. It was a no-op: the only environment variable we used from it was one we explicitly configured vergen to not generate. Since no one has missed this information for so long there's no point in fixing it. Vergen's use of git is doing the wrong thing in some situations: when the crate itself is build from a registry archive there is no git repo for iroh itself. But in some build setups there might be a git repo somewhere in a parent directory which git than finds and uses. This not only results in finding the wrong info, but also results in triggering rebuilds when they are not needed due to unrelated changes in the found git repo. See https://github.com/n0-computer/iroh/issues/4418 Fixes #4418. ## Breaking Changes none ## Notes & open questions none ## Change checklist - [x] Self-review. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
4e0a820d07 |
deps: bump cfg_aliases (#4422)
## Description
This avoids a new lint/compilation error with rust 1.97.
## Breaking Changes
n/a
## Notes & open questions
n/a
## Change checklist
- [x] Self-review.
- [x] This PR was created by a human that thought critically about the
proposed change and wrote an as clear and concise description as
they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
intented effect.
|
||
|
|
57fb5c2805 |
deps: Allow GA releases of curve25519-dalek and ed25519-dalek (#4416)
## Description This allows all of the -rc0, -rc1 and the GA releases of the curve25519-dalek and ed25519-dalek crates. Giving downstream users the flexibility to use either of them. The pieces that iroh depends on have no breaking changes, so iroh can work with both. ## Breaking Changes None. ## Notes & open questions Alternative to #4407. Closes #4415. Tested using this manifest on a new project: ``` toml [package] name = "testproj" version = "0.1.0" edition = "2024" [dependencies] # curve25519-dalek = "5.0.0" # ed25519-dalek = "3.0.0" curve25519-dalek = "5.0.0-rc.0" ed25519-dalek = "3.0.0-rc.0" iroh = "1.0.2" [patch.crates-io] iroh = { path = "/home/flub/n0/iroh/iroh" } iroh-base = { path = "/home/flub/n0/iroh/iroh-base" } ``` Both versions seem to work. But please check if this makes sense. I was a little surprise by this myself. ## Change checklist - [x] Self-review. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
3e1e4b7d63 |
fix: add pkarr resolver to n0 preset (#4412)
## Description Adds the PkarrResolver to the defaults in the n0 preset so we have a fallback in case DNS queries against dns.iroh.link are somehow blocked. ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist <!-- Remove any that are not relevant. --> - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
c8ea799c21 |
chore(deps): bump regex from 1.12.4 to 1.13.0 (#4403)
Bumps [regex](https://github.com/rust-lang/regex) from 1.12.4 to 1.13.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-lang/regex/blob/master/CHANGELOG.md">regex's changelog</a>.</em></p> <blockquote> <h1>1.13.0 (2026-07-09)</h1> <p>This release includes a new API, a <code>regex!</code> macro, for lazy compilation of a regex from a string literal. If you use regexes a lot, it's likely you've already written one exactly like it. The new macro can be used like this:</p> <pre lang="rust"><code>use regex::regex; <p>fn is_match(line: &str) -> bool {<br /> // The regex will be compiled approximately once and reused automatically.<br /> // This avoids the footgun of using <code>Regex::new</code> here, which would<br /> // guarantee that it would be compiled every time this routine is called.<br /> // This would likely make this routine much slower than it needs to be.<br /> regex!(r"bar|baz").is_match(line)<br /> }</p> <p>let hay = "<br /> path/to/foo:54:Blue Harvest<br /> path/to/bar:90:Something, Something, Something, Dark Side<br /> path/to/baz:3:It's a Trap!<br /> ";</p> <p>let matches = hay.lines().filter(|line| is_match(line)).count();<br /> assert_eq!(matches, 2);<br /> </code></pre></p> <p>Improvements:</p> <ul> <li><a href="https://redirect.github.com/rust-lang/regex/issues/709">#709</a>: Add a new <code>regex!</code> macro for efficient and automatic reuse of a compiled regex.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rust-lang/regex/commit/926af2e68eca3ce089815790541cf50759ba2c59"><code>926af2e</code></a> 1.13.0</li> <li><a href="https://github.com/rust-lang/regex/commit/7d941a93561430cd259bb9ceb84cc66f33ae7be8"><code>7d941a9</code></a> regex-automata-0.4.15</li> <li><a href="https://github.com/rust-lang/regex/commit/e358341229ebd5feb9a78d8cc85b459c3c7b6600"><code>e358341</code></a> api: add <code>regex!</code> macro for lazy compilation</li> <li><a href="https://github.com/rust-lang/regex/commit/c42033379c8760105ef90287f319de73d1572242"><code>c420333</code></a> automata: disable miri on a couple doc tests</li> <li><a href="https://github.com/rust-lang/regex/commit/b9d2cf724f89754ea879b6c223d2292c4d3e2dd3"><code>b9d2cf7</code></a> github: add FUNDING link</li> <li><a href="https://github.com/rust-lang/regex/commit/0858006b1460ba781deda54b8d2b01b3f9f949f7"><code>0858006</code></a> docs: add AI policy for contributors</li> <li><a href="https://github.com/rust-lang/regex/commit/468fc64ecd6493caaca40dbe8319c31c5c08a83d"><code>468fc64</code></a> automata: reject dense DFA start states that are match states</li> <li>See full diff in <a href="https://github.com/rust-lang/regex/compare/1.12.4...1.13.0">compare view</a></li> </ul> </details> <br /> [](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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
908ddf5d7c |
deps: bump crossbeam-epoch for invalid pointer dereference (#4402)
## Description
Another cargo-deny warning we did just get.
## Breaking Changes
none
## Notes & open questions
n/a
## Change checklist
- [x] Self-review.
- [x] This PR was created by a human that thought critically about the
proposed change and wrote an as clear and concise description as
they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
intented effect.
|