Commit Graph
2379 Commits
Author SHA1 Message Date
Franz Heinzmann 0a22d76905 feat: update relay protocol to iroh-relay-v2, add new Health frame, test protocol update mechanism (#3955)
## Description

This commit adds a `iroh-relay-v2` protocol. The only changes to the
`iroh-relay-v1` protocol are:
* removed `Health` frame (id 11) with string payload
* added `Status` frame (id 13) with binary-encoded enum payload that can
be extended with further variants or payloads
* From now on, unknown frames will be ignored in iroh (instead of
erroring out)

The actual change is thus quite minor, but serves as a real-world test
for our protocol negotiation.

The PR also fixes a bug in how the relay server parsed the supported
protocols; it is harmless because all existing deployments support a
single version anyway, but good to fix now.

Everything is fully backwards-compatible on the wire (old clients can
talk to new relays, and new clients can talk to old relays).

## Breaking Changes

* `iroh_relay::http::RELAY_PROTOCOL_VERSION` has been removed. The relay
protocol now supports version negotiation between client and server. Use
`iroh_relay::http::ProtocolVersion` instead. For the previous constant
value, use `ProtocolVersion::V1.to_str()`.
* `iroh_relay::server::client::Config` has a new field
`protocol_version: ProtocolVersion`.
* `iroh_relay::protos::relay::RelayToClientMsg` has a new
`Status(Status)` variant and the existing `Health` variant is
deprecated. Clients should handle `RelayToClientMsg::Status` for
connection health information. The `Health` variant is still sent by V1
relay servers but should not be relied upon going forward.

## 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.
2026-04-15 11:53:40 +02:00
dependabot[bot] e36378d572 chore(deps): bump the github-actions group across 1 directory with 2 updates (#4112)
Bumps the github-actions group with 2 updates in the / directory:
[actions/checkout](https://github.com/actions/checkout) and
[cargo-bins/cargo-binstall](https://github.com/cargo-bins/cargo-binstall).

Updates `actions/checkout` from 4 to 6
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/checkout/releases">actions/checkout's
releases</a>.</em></p>
<blockquote>
<h2>v6.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Update README to include Node.js 24 support details and requirements
by <a href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/2248">actions/checkout#2248</a></li>
<li>Persist creds to a separate file by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2286">actions/checkout#2286</a></li>
<li>v6-beta by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2298">actions/checkout#2298</a></li>
<li>update readme/changelog for v6 by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2311">actions/checkout#2311</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v5.0.0...v6.0.0">https://github.com/actions/checkout/compare/v5.0.0...v6.0.0</a></p>
<h2>v6-beta</h2>
<h2>What's Changed</h2>
<p>Updated persist-credentials to store the credentials under
<code>$RUNNER_TEMP</code> instead of directly in the local git
config.</p>
<p>This requires a minimum Actions Runner version of <a
href="https://github.com/actions/runner/releases/tag/v2.329.0">v2.329.0</a>
to access the persisted credentials for <a
href="https://docs.github.com/en/actions/tutorials/use-containerized-services/create-a-docker-container-action">Docker
container action</a> scenarios.</p>
<h2>v5.0.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Port v6 cleanup to v5 by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2301">actions/checkout#2301</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v5...v5.0.1">https://github.com/actions/checkout/compare/v5...v5.0.1</a></p>
<h2>v5.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Update actions checkout to use node 24 by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2226">actions/checkout#2226</a></li>
<li>Prepare v5.0.0 release by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2238">actions/checkout#2238</a></li>
</ul>
<h2>⚠️ Minimum Compatible Runner Version</h2>
<p><strong>v2.327.1</strong><br />
<a
href="https://github.com/actions/runner/releases/tag/v2.327.1">Release
Notes</a></p>
<p>Make sure your runner is updated to this version or newer to use this
release.</p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v4...v5.0.0">https://github.com/actions/checkout/compare/v4...v5.0.0</a></p>
<h2>v4.3.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Port v6 cleanup to v4 by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2305">actions/checkout#2305</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v4...v4.3.1">https://github.com/actions/checkout/compare/v4...v4.3.1</a></p>
<h2>v4.3.0</h2>
<h2>What's Changed</h2>
<ul>
<li>docs: update README.md by <a
href="https://github.com/motss"><code>@​motss</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1971">actions/checkout#1971</a></li>
<li>Add internal repos for checking out multiple repositories by <a
href="https://github.com/mouismail"><code>@​mouismail</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1977">actions/checkout#1977</a></li>
<li>Documentation update - add recommended permissions to Readme by <a
href="https://github.com/benwells"><code>@​benwells</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2043">actions/checkout#2043</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/actions/checkout/blob/main/CHANGELOG.md">actions/checkout's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>v6.0.2</h2>
<ul>
<li>Fix tag handling: preserve annotations and explicit fetch-tags by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2356">actions/checkout#2356</a></li>
</ul>
<h2>v6.0.1</h2>
<ul>
<li>Add worktree support for persist-credentials includeIf by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2327">actions/checkout#2327</a></li>
</ul>
<h2>v6.0.0</h2>
<ul>
<li>Persist creds to a separate file by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2286">actions/checkout#2286</a></li>
<li>Update README to include Node.js 24 support details and requirements
by <a href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/2248">actions/checkout#2248</a></li>
</ul>
<h2>v5.0.1</h2>
<ul>
<li>Port v6 cleanup to v5 by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2301">actions/checkout#2301</a></li>
</ul>
<h2>v5.0.0</h2>
<ul>
<li>Update actions checkout to use node 24 by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2226">actions/checkout#2226</a></li>
</ul>
<h2>v4.3.1</h2>
<ul>
<li>Port v6 cleanup to v4 by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2305">actions/checkout#2305</a></li>
</ul>
<h2>v4.3.0</h2>
<ul>
<li>docs: update README.md by <a
href="https://github.com/motss"><code>@​motss</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1971">actions/checkout#1971</a></li>
<li>Add internal repos for checking out multiple repositories by <a
href="https://github.com/mouismail"><code>@​mouismail</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1977">actions/checkout#1977</a></li>
<li>Documentation update - add recommended permissions to Readme by <a
href="https://github.com/benwells"><code>@​benwells</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2043">actions/checkout#2043</a></li>
<li>Adjust positioning of user email note and permissions heading by <a
href="https://github.com/joshmgross"><code>@​joshmgross</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2044">actions/checkout#2044</a></li>
<li>Update README.md by <a
href="https://github.com/nebuk89"><code>@​nebuk89</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2194">actions/checkout#2194</a></li>
<li>Update CODEOWNERS for actions by <a
href="https://github.com/TingluoHuang"><code>@​TingluoHuang</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/2224">actions/checkout#2224</a></li>
<li>Update package dependencies by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2236">actions/checkout#2236</a></li>
</ul>
<h2>v4.2.2</h2>
<ul>
<li><code>url-helper.ts</code> now leverages well-known environment
variables by <a href="https://github.com/jww3"><code>@​jww3</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/1941">actions/checkout#1941</a></li>
<li>Expand unit test coverage for <code>isGhes</code> by <a
href="https://github.com/jww3"><code>@​jww3</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1946">actions/checkout#1946</a></li>
</ul>
<h2>v4.2.1</h2>
<ul>
<li>Check out other refs/* by commit if provided, fall back to ref by <a
href="https://github.com/orhantoy"><code>@​orhantoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1924">actions/checkout#1924</a></li>
</ul>
<h2>v4.2.0</h2>
<ul>
<li>Add Ref and Commit outputs by <a
href="https://github.com/lucacome"><code>@​lucacome</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1180">actions/checkout#1180</a></li>
<li>Dependency updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>- <a
href="https://redirect.github.com/actions/checkout/pull/1777">actions/checkout#1777</a>,
<a
href="https://redirect.github.com/actions/checkout/pull/1872">actions/checkout#1872</a></li>
</ul>
<h2>v4.1.7</h2>
<ul>
<li>Bump the minor-npm-dependencies group across 1 directory with 4
updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1739">actions/checkout#1739</a></li>
<li>Bump actions/checkout from 3 to 4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1697">actions/checkout#1697</a></li>
<li>Check out other refs/* by commit by <a
href="https://github.com/orhantoy"><code>@​orhantoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1774">actions/checkout#1774</a></li>
<li>Pin actions/checkout's own workflows to a known, good, stable
version. by <a href="https://github.com/jww3"><code>@​jww3</code></a> in
<a
href="https://redirect.github.com/actions/checkout/pull/1776">actions/checkout#1776</a></li>
</ul>
<h2>v4.1.6</h2>
<ul>
<li>Check platform to set archive extension appropriately by <a
href="https://github.com/cory-miller"><code>@​cory-miller</code></a> in
<a
href="https://redirect.github.com/actions/checkout/pull/1732">actions/checkout#1732</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/checkout/commit/de0fac2e4500dabe0009e67214ff5f5447ce83dd"><code>de0fac2</code></a>
Fix tag handling: preserve annotations and explicit fetch-tags (<a
href="https://redirect.github.com/actions/checkout/issues/2356">#2356</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/064fe7f3312418007dea2b49a19844a9ee378f49"><code>064fe7f</code></a>
Add orchestration_id to git user-agent when ACTIONS_ORCHESTRATION_ID is
set (...</li>
<li><a
href="https://github.com/actions/checkout/commit/8e8c483db84b4bee98b60c0593521ed34d9990e8"><code>8e8c483</code></a>
Clarify v6 README (<a
href="https://redirect.github.com/actions/checkout/issues/2328">#2328</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/033fa0dc0b82693d8986f1016a0ec2c5e7d9cbb1"><code>033fa0d</code></a>
Add worktree support for persist-credentials includeIf (<a
href="https://redirect.github.com/actions/checkout/issues/2327">#2327</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/c2d88d3ecc89a9ef08eebf45d9637801dcee7eb5"><code>c2d88d3</code></a>
Update all references from v5 and v4 to v6 (<a
href="https://redirect.github.com/actions/checkout/issues/2314">#2314</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/1af3b93b6815bc44a9784bd300feb67ff0d1eeb3"><code>1af3b93</code></a>
update readme/changelog for v6 (<a
href="https://redirect.github.com/actions/checkout/issues/2311">#2311</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/71cf2267d89c5cb81562390fa70a37fa40b1305e"><code>71cf226</code></a>
v6-beta (<a
href="https://redirect.github.com/actions/checkout/issues/2298">#2298</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/069c6959146423d11cd0184e6accf28f9d45f06e"><code>069c695</code></a>
Persist creds to a separate file (<a
href="https://redirect.github.com/actions/checkout/issues/2286">#2286</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493"><code>ff7abcd</code></a>
Update README to include Node.js 24 support details and requirements (<a
href="https://redirect.github.com/actions/checkout/issues/2248">#2248</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/08c6903cd8c0fde910a37f88322edcfb5dd907a8"><code>08c6903</code></a>
Prepare v5.0.0 release (<a
href="https://redirect.github.com/actions/checkout/issues/2238">#2238</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/checkout/compare/v4...v6">compare
view</a></li>
</ul>
</details>
<br />

Updates `cargo-bins/cargo-binstall` from 1.17.9 to 1.18.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/cargo-bins/cargo-binstall/releases">cargo-bins/cargo-binstall's
releases</a>.</em></p>
<blockquote>
<h2>v1.18.1</h2>
<p><em>Binstall is a tool to fetch and install Rust-based executables as
binaries. It aims to be a drop-in replacement for <code>cargo
install</code> in most cases. Install it today with <code>cargo install
cargo-binstall</code>, from the binaries below, or if you already have
it, upgrade with <code>cargo binstall cargo-binstall</code>.</em></p>
<h4>In this release:</h4>
<p>Remove <code>GITHUB_TOKEN</code> and <code>GH_TOKEN</code> when
fallback to installing from source using <code>cargo-install</code> (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2533">#2533</a>)</p>
<p>This reduces the risk of leaks of tokens for users who pass the
<code>GITHUN_TOKEN</code> or <code>GH_TOKEN</code>
environment variables to cargo-binstall to avoid GitHub API rate
limits.</p>
<h2>v1.18.0</h2>
<p><em>Binstall is a tool to fetch and install Rust-based executables as
binaries. It aims to be a drop-in replacement for <code>cargo
install</code> in most cases. Install it today with <code>cargo install
cargo-binstall</code>, from the binaries below, or if you already have
it, upgrade with <code>cargo binstall cargo-binstall</code>.</em></p>
<h4>In this release:</h4>
<ul>
<li>feat: support <code>cargo:token</code> and
<code>cargo:token-from-stdout</code> auth for private registries (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2526">#2526</a>
<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2528">#2528</a>)</li>
</ul>
<h4>Other changes:</h4>
<ul>
<li>Upgrade dependencies</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/dc19f1e48450eefe5a29b8da6c6b00a87d730b37"><code>dc19f1e</code></a>
release: cargo-binstall v1.18.1 (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2535">#2535</a>)</li>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/94bc68e7efa62ceea52ea6a71c9cc5c390151132"><code>94bc68e</code></a>
chore(binstalk): release v0.28.73 (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2534">#2534</a>)</li>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/0d65135961eddf19314af64b5cf3f59d4eee25b0"><code>0d65135</code></a>
binstalk: Remove GITHUB_TOKEN and GH_TOKEN when installing from source
(<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2533">#2533</a>)</li>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/f8ce4d55b131f4a1e373b8747ca6b6a54133ae5a"><code>f8ce4d5</code></a>
release: cargo-binstall v1.18.0 (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2532">#2532</a>)</li>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/7ef7b56abb96c9d71a0b5f71d3c9e2ced7cb849c"><code>7ef7b56</code></a>
chore: release (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2524">#2524</a>)</li>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/4d6e1bd0e7ec407fbcad111abf7bce31ec60d668"><code>4d6e1bd</code></a>
dep: Upgrade transitive dependencies (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2529">#2529</a>)</li>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/6ed12bbaae779f3fd3ba1477bc9a61a2535a3bb2"><code>6ed12bb</code></a>
feat: support <code>cargo:token-from-stdout</code> in private registries
(<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2528">#2528</a>)</li>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/c3664f981c04ab538bd76b0ba83680ee5bab631a"><code>c3664f9</code></a>
feat: support <code>cargo:token</code> auth for private registries (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2526">#2526</a>)</li>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/b6c541758da069b696c176405f63bd11cc1f21f9"><code>b6c5417</code></a>
build(deps): bump the deps group with 2 updates (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2525">#2525</a>)</li>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/d8822126a23fcb622ca7b46f94ea2b73316bedf4"><code>d882212</code></a>
dep: Upgrade transitive dependencies (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2523">#2523</a>)</li>
<li>See full diff in <a
href="https://github.com/cargo-bins/cargo-binstall/compare/v1.17.9...v1.18.1">compare
view</a></li>
</ul>
</details>
<br />


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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-15 09:16:31 +02:00
Franz Heinzmann d72f1cb87a tests(iroh): add patchbay test matrix for switching uplinks (#4095)
## Description

Adds a patchbay test matrix for testing uplink switching across IP
family transitions (v4/v6/dual-stack) for both client and server side.
Each test holepunches a direct path, replugs the switching side to a
different router, and verifies that a new direct path is selected and
data flows over it.

The tests all pass. Initially, the server side tests failed, and this
uncovered two issues which are now fixed:
* We currently fail to detect the default route when switching to a
v6-only interface in netwatch, see
https://github.com/n0-computer/net-tools/pull/132. This leads to iroh
not forwarding the major network change to quinn, because we only do
this if we determine the network to be usable, which fails because the
default route check fails.
* noq's `handle_network_change` only checks whether a path is
recoverable on the client side; the server side always assumed paths
were recoverable, so dead direct paths were never proactively abandoned
after a server replug. See https://github.com/n0-computer/noq/pull/579
2026-04-14 16:26:05 +02:00
Rüdiger Klaehn ea7a634fad feat: Rate limiting in router (#3951)
## Description

Add an optional mechanism for rate limiting and requesting requests in
the iroh router.

The reason to have something like this is if we ever have a single iroh
endpoint exposed to the world that can be overloaded or hit by a DOS
attack. E.g. a public irpc service, n0des, ...

Unfortunately this has quite some API surface: a trait for the
callbacks, and enums for the fn returns.

~~I also added an example that hammers a server with lots of clients and
measures the CPU load. Here is the output of the latest version:~~

Simplified the sample. The hammering tool now lives in a separate repo,
since it got a bit too big for an example.

```
Connection filter benchmark, 100 attempts per filter

Direct connections:

             no filter:   0 accepted,   0 rejected, 100 closed  (client: 40.63ms | server: 97.30ms cpu,     1028 ops/s, 41.00ms wall)
           ignore addr:   0 accepted, 100 rejected,   0 closed  (client:   5.01s | server:  3.46ms cpu,    28868 ops/s, 10.53ms wall)
           reject addr:   0 accepted, 100 rejected,   0 closed  (client:  8.04ms | server:  5.61ms cpu,    17835 ops/s, 10.08ms wall)
        retry + reject:   0 accepted, 100 rejected,   0 closed  (client: 37.18ms | server: 12.77ms cpu,     7833 ops/s, 39.96ms wall)
           reject alpn:   0 accepted,   0 rejected, 100 closed  (client: 31.34ms | server: 75.25ms cpu,     1329 ops/s, 33.84ms wall)

Relay connections (https://127.0.0.1:53395/):

             no filter:   0 accepted,   0 rejected, 100 closed  (client:   4.10s | server: 174.75ms cpu,      572 ops/s,   4.09s wall)
    reject endpoint id:   0 accepted, 100 rejected,   0 closed  (client:   4.04s | server: 21.50ms cpu,     4652 ops/s,   4.04s wall)
           reject alpn:   0 accepted,   0 rejected, 100 closed  (client:   4.08s | server: 88.07ms cpu,     1135 ops/s,   4.08s wall)
```

ignore is fastest, reject just a tad slower. reject alpn doesn't buy
much over just closing the connection. It is just a convenient place to
throttle or reject by alpn.

For relay connections, the cheapest is to reject by endpoint id. This is
quite a bit faster than closing the connection since we get the endpoint
id early. Rejecting by alpn in this case helps a bit more.

The example starts a server in a subprocess and then hammers it with n
connections. The subprocess is measuring its own CPU time.

## Breaking Changes

None

## Notes & open questions

## 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.
- [ ] List all breaking changes in the above "Breaking Changes" section.
- [ ] Open an issue or PR on any number0 repos that are affected by this
breaking change. Give guidance on how the updates should be handled or
do the actual updates themselves. The major ones are:
    - [ ] [`quic-rpc`](https://github.com/n0-computer/quic-rpc)
    - [ ] [`iroh-gossip`](https://github.com/n0-computer/iroh-gossip)
    - [ ] [`iroh-blobs`](https://github.com/n0-computer/iroh-blobs)
    - [ ] [`dumbpipe`](https://github.com/n0-computer/dumbpipe)
    - [ ] [`sendme`](https://github.com/n0-computer/sendme)
2026-04-14 13:52:18 +02:00
Franz Heinzmann 184e378795 deps: bump noq and net-tools (#4113)
## Description

Bumps noq and netwatch/portmapper to recent main commits.
2026-04-14 12:19:56 +02:00
Franz Heinzmann 811a0627fe deps(iroh): update patchbay to 0.5 (#4097)
## Description

Updates patchbay from 0.3.0 to 0.5.0.
* v0.4 introduced an new `Iface` API.
* v0.5 fixed a nasty bug when running patchbay as root (as CI runners
do) where `resolv.conf` would leak to the host, and has a new
`Lab::builder` API.
2026-04-14 10:27:06 +02:00
Franz HeinzmannandFloris Bruynooghe ee844a66b0 feat(iroh-relay): expose more metrics on the relay server (#4085)
## Description

Adds more metrics to the relay server:
- Metrics for HTTP (TCP) connections
- Metrics for QUIC (QAD) connections
- Metrics for inactive clients

Also slightly improves logging for QUIC connections.


Co-authored-by: Floris Bruynooghe <flub@n0.computer>
2026-04-13 20:53:32 +02:00
Franz Heinzmann 86d3ac6076 refactor(iroh, iroh-relay)!: mark public types as non_exhaustive (#4107)
## Description

Add `#[non_exhaustive]` to various public structs and enums that we
might want to extend during 1.0:

- structs: `relay_map::RelayConfig`, `relay_map::RelayQuicConfig`
- enums: `DirectAddrType`, `DiscoveryEvent`: enums
- enums in iroh_relay: `RelayToClientMsg`, `ClientToRelayMsg`,
`FrameType`

There's more items in the server-side of iroh-relay, will do those
separately.

## Breaking Changes

* `iroh_relay::RelayConfig` is now `#[non_exhaustive]`. Use
`RelayConfig::from(relay_url)` for the common case, or
`RelayConfig::new(url, quic)` to specify a custom QUIC config.
* `iroh_relay::RelayQuicConfig` is now `#[non_exhaustive]`. Use
`RelayQuicConfig::new(port)` or `RelayQuicConfig::default()` instead of
struct literals.
* `iroh_relay::protos::relay::RelayToClientMsg` is now
`#[non_exhaustive]`.
* `iroh_relay::protos::relay::ClientToRelayMsg` is now
`#[non_exhaustive]`.
* `iroh_relay::protos::common::FrameType` is now `#[non_exhaustive]`.
* `iroh::DirectAddrType` is now `#[non_exhaustive]`.
* `iroh::address_lookup::mdns::DiscoveryEvent` is now
`#[non_exhaustive]`.
* `iroh_relay::server::Metrics` is now `#[non_exhaustive]`. Use
`Metrics::default()` instead of struct literals.
* `iroh_relay::server::RelayMetrics` is now `#[non_exhaustive]`. Use
`RelayMetrics::default()` instead of struct literals.

## 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] All breaking changes documented.
- [x] List all breaking changes in the above "Breaking Changes" section.
2026-04-13 16:19:53 +02:00
Friedel Ziegelmayer 372aab94e2 feat(iroh): add ability to configure external addrs (#4098)
## Description

This allows configuring known external addresses using the builder and
at runtime, to aid in the help of discovery, when they are already known
through other processes.

Related to #2552
2026-04-13 14:00:18 +02:00
Franz Heinzmann 0cc244190b tests: minor patchbay test improvements (#4091)
## Description

* Collect nextest output in the downloadable dump together with the
testdir for easier debugging
* Remove stale "currently ignored" comments
* Add explicit connection closing to all tests
* Increase timeouts for degrade tests
* Fix formatting by reducing `info!` line length in async blocks so that
`rustfmt` doesn't silently ignore the block
2026-04-09 22:24:42 +02:00
Franz Heinzmann 79bb0e48e9 refactor(iroh-relay)!: proper timeouts on relay connections (#4083)
## Description

Adds a timeout to relay connections to abort connections that stall
while establishing the relay WebSocket connection.

A timeout of 30s is started for each new incoming TCP stream. The
timeout is cleared once the connection has completed a TLS handshake (if
serving via HTTPS), received a WebSocket request and passed that request
to the relay protocol handler. If the timeout elapses before the
connection is fully established and passed to the relay handler, the
connection is aborted.

Before this change, clients could open TCP connections to the relay
server, and they would sit idle forever if the client neither closes it
nor issues the WebSocket request.

## Breaking Changes

* `iroh_relay::server::http_server::RelayService` no longer implements
`hyper::Service`. Use
`iroh_relay::server::http_server::RelayServiceWithNotify` instead, it
can be constructed from a `RelayService` with
`RelayServiceWithNotify::new`
* `iroh_relay::server::http_server::RelayService::handle_connection` now
takes a new argument `establish_timeout`

<!-- 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.
2026-04-08 16:07:57 +02:00
Friedel ZiegelmayerandPhilipp Krüger 159a5cf29c feat: update noq and net-tools to latest (#4088)
- Update noq to latest `main` branch
- Update netwatch to latest `main` branch
- Reduce patchbay test concurrency to 1 thread to increase reliability
- Pin hickory-resolver beta version
- unignore some patchbay tests
- Fix `switch_uplink_v6` test to avoid an initial IPv6-based connection
failing the test

---------

Co-authored-by: Philipp Krüger <philipp.krueger1@gmail.com>
2026-04-08 15:34:34 +02:00
Franz HeinzmannandAsmir Avdicevic 2433645f2a fix: set default crypto provider for iroh-relay binary (#4087)
## Description

This sets `ring` as the default crypto provider in the iroh-relay
binary. Otherwise we get panics in `tokio-rustls-acme` if both the
`tls-ring` and `tls-aws-lc-rs` feature are enabled.

This works and allows to deploy iroh-relay when built with
`--all-features`.
A cleaner fix would be to pass through a crypto provider into
tokio-rustls-acme. It does allow that in most parts, but not all - see
https://github.com/n0-computer/tokio-rustls-acme/pull/42.

## 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.
- [ ] List all breaking changes in the above "Breaking Changes" section.
- [ ] Open an issue or PR on any number0 repos that are affected by this
breaking change. Give guidance on how the updates should be handled or
do the actual updates themselves. The major ones are:
    - [ ] [`quic-rpc`](https://github.com/n0-computer/quic-rpc)
    - [ ] [`iroh-gossip`](https://github.com/n0-computer/iroh-gossip)
    - [ ] [`iroh-blobs`](https://github.com/n0-computer/iroh-blobs)
    - [ ] [`dumbpipe`](https://github.com/n0-computer/dumbpipe)
    - [ ] [`sendme`](https://github.com/n0-computer/sendme)

---------

Co-authored-by: Asmir Avdicevic <asmir.avdicevic64@gmail.com>
2026-04-08 14:28:23 +02:00
Franz Heinzmann 40b50a11d9 refactor: remove needless alloc in relay server (#4084)
## Description

Not that it matters much, but we don't have to box the future returned
from from the `hyper::Service` impl in the relay server.

## 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.
- [ ] List all breaking changes in the above "Breaking Changes" section.
- [ ] Open an issue or PR on any number0 repos that are affected by this
breaking change. Give guidance on how the updates should be handled or
do the actual updates themselves. The major ones are:
    - [ ] [`quic-rpc`](https://github.com/n0-computer/quic-rpc)
    - [ ] [`iroh-gossip`](https://github.com/n0-computer/iroh-gossip)
    - [ ] [`iroh-blobs`](https://github.com/n0-computer/iroh-blobs)
    - [ ] [`dumbpipe`](https://github.com/n0-computer/dumbpipe)
    - [ ] [`sendme`](https://github.com/n0-computer/sendme)
2026-04-08 13:25:21 +02:00
Franz HeinzmannandFriedel Ziegelmayer 9b01751b6d tests: improve patchbay test setup (#4078)
## Description

* ignore tests currently known as being flaky
* no longer retry failed tests. the reruns would write into the same
testdir, making debugging the failures very hard especially if the retry
succeeded
* improve logging in case of failures

---------

Co-authored-by: Friedel Ziegelmayer <me@dignifiedquire.com>
2026-04-08 10:16:49 +02:00
Asmir Avdicevicanddignifiedquire 8bf7002e0e fix: handle wine properly (#3902)
Tests that iroh works under wine & proton in CI 

Depends on 
- [x] https://github.com/n0-computer/net-tools/pull/95
- [x] https://github.com/n0-computer/quinn/pull/414

Ref: https://github.com/n0-computer/iroh/issues/3901

---------

Co-authored-by: dignifiedquire <me@dignifiedquire.com>
2026-04-07 18:38:38 +02:00
Asmir AvdicevicandFriedel Ziegelmayer 54442c3013 chore(ci): move more CI jobs to self hosted runners (#4072)
## Description

Moving some of these jobs to our own runners to ease off the github
runners. I intend to follow this up by making a special category of
runners just for them.

## 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.
- [ ] List all breaking changes in the above "Breaking Changes" section.
- [ ] Open an issue or PR on any number0 repos that are affected by this
breaking change. Give guidance on how the updates should be handled or
do the actual updates themselves. The major ones are:
    - [ ] [`quic-rpc`](https://github.com/n0-computer/quic-rpc)
    - [ ] [`iroh-gossip`](https://github.com/n0-computer/iroh-gossip)
    - [ ] [`iroh-blobs`](https://github.com/n0-computer/iroh-blobs)
    - [ ] [`dumbpipe`](https://github.com/n0-computer/dumbpipe)
    - [ ] [`sendme`](https://github.com/n0-computer/sendme)

Co-authored-by: Friedel Ziegelmayer <me@dignifiedquire.com>
2026-04-07 17:45:41 +02:00
dependabot[bot] 14a1e8d9dc chore(deps): bump proptest from 1.10.0 to 1.11.0 (#4052)
Bumps [proptest](https://github.com/proptest-rs/proptest) from 1.10.0 to
1.11.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/proptest-rs/proptest/commit/7f1367f9a4dc8440c47b93166a38ed064f63ea8c"><code>7f1367f</code></a>
Merge pull request <a
href="https://redirect.github.com/proptest-rs/proptest/issues/641">#641</a>
from proptest-rs/release-1.11</li>
<li><a
href="https://github.com/proptest-rs/proptest/commit/a63bf7eb4e337d76a26a12d3238320acc747551f"><code>a63bf7e</code></a>
proptest-state-machine v0.8.0</li>
<li><a
href="https://github.com/proptest-rs/proptest/commit/d86e9ff8655cb9833d5e5772195a2485396656f4"><code>d86e9ff</code></a>
add changelog for <a
href="https://redirect.github.com/proptest-rs/proptest/issues/640">#640</a></li>
<li><a
href="https://github.com/proptest-rs/proptest/commit/794031313b4fe42d2c28bad1765a3d22d0b7b8c0"><code>7940313</code></a>
proptest v1.11.0</li>
<li><a
href="https://github.com/proptest-rs/proptest/commit/3ec998c4d6d9c3992cff9284487914aaeea258e6"><code>3ec998c</code></a>
fix <a
href="https://redirect.github.com/proptest-rs/proptest/issues/638">#638</a>
changelog</li>
<li><a
href="https://github.com/proptest-rs/proptest/commit/8ceb00cfe53f5cf713cd8c007b1c4b9c7d26f401"><code>8ceb00c</code></a>
Merge pull request <a
href="https://redirect.github.com/proptest-rs/proptest/issues/639">#639</a>
from lukoktonos/bits128</li>
<li><a
href="https://github.com/proptest-rs/proptest/commit/9c8df1abb945363924bc216dace9e634f6f11ff9"><code>9c8df1a</code></a>
Merge pull request <a
href="https://redirect.github.com/proptest-rs/proptest/issues/638">#638</a>
from folkertdev/f16-support</li>
<li><a
href="https://github.com/proptest-rs/proptest/commit/ca9d8e1458518dc22ba1a1b00c92471ba8e6e746"><code>ca9d8e1</code></a>
changelog <a
href="https://redirect.github.com/proptest-rs/proptest/issues/638">#638</a></li>
<li><a
href="https://github.com/proptest-rs/proptest/commit/a39869f5ee5f5aebf43feefd3fd7fec743e230c9"><code>a39869f</code></a>
imply f16 feat by unstable</li>
<li><a
href="https://github.com/proptest-rs/proptest/commit/85c5ca02764bebeea2cc6261bdf84f9fb9d3eb4c"><code>85c5ca0</code></a>
Merge pull request <a
href="https://redirect.github.com/proptest-rs/proptest/issues/637">#637</a>
from folkertdev/min-max-assoc-constants</li>
<li>Additional commits viewable in <a
href="https://github.com/proptest-rs/proptest/compare/v1.10.0...v1.11.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>
2026-04-07 17:38:47 +02:00
Friedel Ziegelmayer 6be4b3cb8b fix(iroh-relay): send EndpointGone message to the right peers (#4079)
## Description

This was previously being sent to the wrong peer leaving, instead of to
the peers that actually had communicated with this peer.


## Breaking Changes

None
2026-04-07 17:06:05 +02:00
dependabot[bot] cb3e247020 chore(deps): bump ctor from 0.6.3 to 0.8.0 (#4067)
Bumps [ctor](https://github.com/mmastrac/rust-ctor) from 0.6.3 to 0.8.0.
2026-04-07 16:02:08 +02:00
Franz Heinzmann 36781ad424 refactor(iroh-base)!: change SecretKey::generate to not take an Rng arg (#4075)
## Description

This removes `rand` from the public API of iroh, allowing us to bump
`rand` crates during iroh 1.0.

The only usage in public API was `SecretKey::generate`. This now does
not take a generic arg for the RNG anymore, instead the key is generated
with `rand::rng()`, i.e. rand's default RNG.
Docs are adapted to say that if you want to use a different RNG, use
`SecretKey::from_bytes`.
The downside is that `iroh_base` now depends on `rand` but I think
that's fine I don't see `iroh_base` being used anywhere where rand is
not already in the tree.



## Breaking Changes

* `iroh_base::SecretKey::generate()` does not take a `Rng` generic
argument anymore. Instead, it uses `rand` internally through it default
RNG (`rand::rng`). If you want to use a different RNG, use
`SecretKey::from_bytes` instead.

## 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] All breaking changes documented.
2026-04-07 12:45:33 +02:00
Franz Heinzmann 3077f172a1 refactor(iroh-base)!: rename CustomAddr::as_vec to CustomAddr::to_vec and improve docs (#4074)
## Description

* renames `CustomAddr::as_vec` to `CustomAddr::to_vec` because it
allocates and rust naming conventions state that `as_` should be free
* expand docs to detail the string and binary encoding formats for
custom addresses
* remove `pub` from fns on non-public `CustomAddrBytes` type

## Breaking Changes

* renamed: `iroh_base::CustomAddr::as_vec` ->
`iroh_base::CustomAddr::to_vec`

## 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] All breaking changes documented.
2026-04-07 11:45:11 +02:00
Franz Heinzmann d803dfecbb refactor(iroh-base)!: don't expose third-party error types in iroh-base (#4073)
## Description

Changes the `KeyDecodeError` in iroh-base to no longer embed errors from
third-party crates to not leak them in public API surface. Also makes
the enum `non_exhaustive`.

## Breaking Changes

* changed: Variants on `iroh_base::key::KeyDecodeError` changed

## 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.
- [ ] List all breaking changes in the above "Breaking Changes" section.
- [ ] Open an issue or PR on any number0 repos that are affected by this
breaking change. Give guidance on how the updates should be handled or
do the actual updates themselves. The major ones are:
    - [ ] [`quic-rpc`](https://github.com/n0-computer/quic-rpc)
    - [ ] [`iroh-gossip`](https://github.com/n0-computer/iroh-gossip)
    - [ ] [`iroh-blobs`](https://github.com/n0-computer/iroh-blobs)
    - [ ] [`dumbpipe`](https://github.com/n0-computer/dumbpipe)
    - [ ] [`sendme`](https://github.com/n0-computer/sendme)
2026-04-07 10:55:59 +02:00
dependabot[bot] 6888f89d98 chore(deps): bump actions/upload-artifact from 4 to 7 in the github-actions group (#4068)
Bumps the github-actions group with 1 update:
[actions/upload-artifact](https://github.com/actions/upload-artifact).

Updates `actions/upload-artifact` from 4 to 7
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/upload-artifact/releases">actions/upload-artifact's
releases</a>.</em></p>
<blockquote>
<h2>v7.0.0</h2>
<h2>v7 What's new</h2>
<h3>Direct Uploads</h3>
<p>Adds support for uploading single files directly (unzipped). Callers
can set the new <code>archive</code> parameter to <code>false</code> to
skip zipping the file during upload. Right now, we only support single
files. The action will fail if the glob passed resolves to multiple
files. The <code>name</code> parameter is also ignored with this
setting. Instead, the name of the artifact will be the name of the
uploaded file.</p>
<h3>ESM</h3>
<p>To support new versions of the <code>@actions/*</code> packages,
we've upgraded the package to ESM.</p>
<h2>What's Changed</h2>
<ul>
<li>Add proxy integration test by <a
href="https://github.com/Link"><code>@​Link</code></a>- in <a
href="https://redirect.github.com/actions/upload-artifact/pull/754">actions/upload-artifact#754</a></li>
<li>Upgrade the module to ESM and bump dependencies by <a
href="https://github.com/danwkennedy"><code>@​danwkennedy</code></a> in
<a
href="https://redirect.github.com/actions/upload-artifact/pull/762">actions/upload-artifact#762</a></li>
<li>Support direct file uploads by <a
href="https://github.com/danwkennedy"><code>@​danwkennedy</code></a> in
<a
href="https://redirect.github.com/actions/upload-artifact/pull/764">actions/upload-artifact#764</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Link"><code>@​Link</code></a>- made
their first contribution in <a
href="https://redirect.github.com/actions/upload-artifact/pull/754">actions/upload-artifact#754</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/upload-artifact/compare/v6...v7.0.0">https://github.com/actions/upload-artifact/compare/v6...v7.0.0</a></p>
<h2>v6.0.0</h2>
<h2>v6 - What's new</h2>
<blockquote>
<p>[!IMPORTANT]
actions/upload-artifact@v6 now runs on Node.js 24 (<code>runs.using:
node24</code>) and requires a minimum Actions Runner version of 2.327.1.
If you are using self-hosted runners, ensure they are updated before
upgrading.</p>
</blockquote>
<h3>Node.js 24</h3>
<p>This release updates the runtime to Node.js 24. v5 had preliminary
support for Node.js 24, however this action was by default still running
on Node.js 20. Now this action by default will run on Node.js 24.</p>
<h2>What's Changed</h2>
<ul>
<li>Upload Artifact Node 24 support by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/upload-artifact/pull/719">actions/upload-artifact#719</a></li>
<li>fix: update <code>@​actions/artifact</code> for Node.js 24 punycode
deprecation by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/upload-artifact/pull/744">actions/upload-artifact#744</a></li>
<li>prepare release v6.0.0 for Node.js 24 support by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/upload-artifact/pull/745">actions/upload-artifact#745</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/upload-artifact/compare/v5.0.0...v6.0.0">https://github.com/actions/upload-artifact/compare/v5.0.0...v6.0.0</a></p>
<h2>v5.0.0</h2>
<h2>What's Changed</h2>
<p><strong>BREAKING CHANGE:</strong> this update supports Node
<code>v24.x</code>. This is not a breaking change per-se but we're
treating it as such.</p>
<ul>
<li>Update README.md by <a
href="https://github.com/GhadimiR"><code>@​GhadimiR</code></a> in <a
href="https://redirect.github.com/actions/upload-artifact/pull/681">actions/upload-artifact#681</a></li>
<li>Update README.md by <a
href="https://github.com/nebuk89"><code>@​nebuk89</code></a> in <a
href="https://redirect.github.com/actions/upload-artifact/pull/712">actions/upload-artifact#712</a></li>
<li>Readme: spell out the first use of GHES by <a
href="https://github.com/danwkennedy"><code>@​danwkennedy</code></a> in
<a
href="https://redirect.github.com/actions/upload-artifact/pull/727">actions/upload-artifact#727</a></li>
<li>Update GHES guidance to include reference to Node 20 version by <a
href="https://github.com/patrikpolyak"><code>@​patrikpolyak</code></a>
in <a
href="https://redirect.github.com/actions/upload-artifact/pull/725">actions/upload-artifact#725</a></li>
<li>Bump <code>@actions/artifact</code> to <code>v4.0.0</code></li>
<li>Prepare <code>v5.0.0</code> by <a
href="https://github.com/danwkennedy"><code>@​danwkennedy</code></a> in
<a
href="https://redirect.github.com/actions/upload-artifact/pull/734">actions/upload-artifact#734</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/upload-artifact/commit/bbbca2ddaa5d8feaa63e36b76fdaad77386f024f"><code>bbbca2d</code></a>
Support direct file uploads (<a
href="https://redirect.github.com/actions/upload-artifact/issues/764">#764</a>)</li>
<li><a
href="https://github.com/actions/upload-artifact/commit/589182c5a4cec8920b8c1bce3e2fab1c97a02296"><code>589182c</code></a>
Upgrade the module to ESM and bump dependencies (<a
href="https://redirect.github.com/actions/upload-artifact/issues/762">#762</a>)</li>
<li><a
href="https://github.com/actions/upload-artifact/commit/47309c993abb98030a35d55ef7ff34b7fa1074b5"><code>47309c9</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/upload-artifact/issues/754">#754</a>
from actions/Link-/add-proxy-integration-tests</li>
<li><a
href="https://github.com/actions/upload-artifact/commit/02a8460834e70dab0ce194c64360c59dc1475ef0"><code>02a8460</code></a>
Add proxy integration test</li>
<li><a
href="https://github.com/actions/upload-artifact/commit/b7c566a772e6b6bfb58ed0dc250532a479d7789f"><code>b7c566a</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/upload-artifact/issues/745">#745</a>
from actions/upload-artifact-v6-release</li>
<li><a
href="https://github.com/actions/upload-artifact/commit/e516bc8500aaf3d07d591fcd4ae6ab5f9c391d5b"><code>e516bc8</code></a>
docs: correct description of Node.js 24 support in README</li>
<li><a
href="https://github.com/actions/upload-artifact/commit/ddc45ed9bca9b38dbd643978d88e3981cdc91415"><code>ddc45ed</code></a>
docs: update README to correct action name for Node.js 24 support</li>
<li><a
href="https://github.com/actions/upload-artifact/commit/615b319bd27bb32c3d64dca6b6ed6974d5fbe653"><code>615b319</code></a>
chore: release v6.0.0 for Node.js 24 support</li>
<li><a
href="https://github.com/actions/upload-artifact/commit/017748b48f8610ca8e6af1222f4a618e84a9c703"><code>017748b</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/upload-artifact/issues/744">#744</a>
from actions/fix-storage-blob</li>
<li><a
href="https://github.com/actions/upload-artifact/commit/38d4c7997f5510fcc41fc4aae2a6b97becdbe7fc"><code>38d4c79</code></a>
chore: rebuild dist</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/upload-artifact/compare/v4...v7">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/upload-artifact&package-manager=github_actions&previous-version=4&new-version=7)](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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-07 09:25:26 +02:00
Franz Heinzmann 2ab12409b1 tests: add patchbay tests (#3986)
## Description

Adds a first round of tests using our new network simulation framework,
[patchbay](https://github.com/n0-computer/patchbay). Patchbay uses Linux
network namespaces to create isolated network topologies with routers,
NATs, and link impairment. This lets us test actual holepunching and NAT
traversal in realistic conditions, without needing any external
infrastructure.

The test suite covers establishing a direct path in different scenarios:

- Holepunching: two devices behind destination-independent NATs connect
via relay, then upgrade to direct.
- Uplink switching: a device changes its network uplink (v4 and v6)
mid-connection and recovers a direct path.
- Interface changes: network interfaces are added or removed while
connected
- Link outage recovery: a device goes offline and comes back, direct
connection resumes
- Degraded links: increasing levels of impairment (latency, jitter,
packet loss) are applied to either side of a connection and holepunching
still succeeds

Some tests that iroh doesn't pass yet are included but marked
`#[ignore]`. They should be un-ignored as we improve things.

### Running the tests

On Linux, things just work with user namespace support:
```sh
cargo make patchbay
# expands to:
cargo nextest run -p iroh --features qlog --test patchbay --profile patchbay

# run a specific test with logs:
RUST_LOG=trace cargo make patchbay holepunch_simple --nocapture
```

Test output is saved in `./target/testdir-current/patchbay/<test-name>`.
Patchbay currently collects tracing logs for each device, qlog files (if
the feature is enabled), and endpoint metrics.
There's also a browser UI for viewing timelines, topologies, and logs.
The UI can also be used to compare different test runs.
```sh
cargo install --git https://github.com/n0-computer/patchbay patchbay-cli
patchbay serve --testdir --open
```

On macOS you'll need to run the patchbay tests in a VM or container. The
`patchbay` CLI includes a tool to set up a container or QEMU VM for
this.
```sh
# both commands default to the container backend on macOS and native on linux
patchbay test -p iroh --test patchbay
patchbay serve --testdir --open
# use --vm to force VM mode even on linux
```

See the [patchbay docs](https://n0-computer.github.io/patchbay/) and
[README](https://github.com/n0-computer/patchbay) for more details.

## Notes and open questions

There's a draft PR with some more tests: #4065, but they need more
thought and work to really cover what we want to test.

## Breaking 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.
2026-04-02 10:21:54 +02:00
Philipp Krüger 065b448700 chore(iroh-bench): Allow configuring the number of worker threads for each endpoint in iroh-bench (#4063)
(this is https://github.com/n0-computer/iroh/pull/3780 reopened, because
that had the wrong target branch)

## Description

When I look at qlog files of iroh-bench runs, I can see that PATH_ACK
processing is severely delayed when using a single-threaded tokio
runtime for each endpoint.
This disappears when I give iroh-bench two worker threads. This allows
the EndpointDriver and the ConnectionDriver to each run independently of
each other, thus the endpoint driver won't be delayed when processing
PATH_ACKs.
When the processing was delayed, this had an effect on the apparent RTT
and in turn on congestion control.

## Screenshots

Before: Note all the blue lines going in from waaaaay back in history
all into one place on the left (those are the PATH_ACKs that get handled
way too late):
<img width="1720" height="772" alt="image"
src="https://github.com/user-attachments/assets/688e19e5-63bb-4d1c-9256-43ce0911a4c0"
/>

After: The PATH_ACKs get handled in time, they're way more interspersed
with stream frames:
<img width="1720" height="772" alt="image"
src="https://github.com/user-attachments/assets/a33db88c-dde0-458d-8007-12c7f119165d"
/>

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
2026-03-30 22:41:17 +02:00
Philipp Krüger 5edc1bc536 chore(deps): Update rand and friends to version 0.10 (#3922)
## Description

Updates the `rand` dependency to version 0.10.
As part of that, this also updates `rand_core`, `rand_chacha`, and a
bunch of cryptography crates like `curve25519-dalek`, `ed25519-dalek`,
`digest`, `sha1` and `sha2`. Some of the latter ones to prerelease
versions to enable compilation.

## Breaking Changes

- `iroh::SecretKey::generate`'s `CryptoRng` parameter is now updated
from rand 0.9 to rand 0.10

## Notes & open questions

Although this is ready for review, it's not ready to be merged yet,
because of patched dependencies.

This is the current TODO list:
- [x] ~~fastbloom needs to update to rand 0.10 and make a new release:
https://github.com/tomtomwombat/fastbloom/pull/27~~ (we can just disable
fastbloom's rand feature)
- [x] noq will need to merge https://github.com/n0-computer/noq/pull/511
once unblocked from fastbloom
- [x] swarm-discovery needs updating to hickory 0.26
https://github.com/rkuhn/swarm-discovery/pull/21
- [x] portmapper will need to merge
https://github.com/n0-computer/net-tools/pull/118
- [x] tokio-websockets has released with rand 0.10 support
- [x] igd-next has released with rand 0.10 support
- [x] And finally, hickory has released [a first beta for version
0.26](https://docs.rs/crate/hickory-resolver/0.26.0-beta.1), but it has
*a lot* of API changes and I'm working towards adjusting iroh code to
them.

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
2026-03-30 18:00:15 +02:00
dependabot[bot] 35084eae58 chore(deps): bump the github-actions group across 1 directory with 3 updates (#4054)
Bumps the github-actions group with 3 updates in the / directory:
[android-actions/setup-android](https://github.com/android-actions/setup-android),
[cargo-bins/cargo-binstall](https://github.com/cargo-bins/cargo-binstall)
and
[actions/create-github-app-token](https://github.com/actions/create-github-app-token).

Updates `android-actions/setup-android` from 3 to 4
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/android-actions/setup-android/releases">android-actions/setup-android's
releases</a>.</em></p>
<blockquote>
<h2>v4.0.0</h2>
<p>Hello,</p>
<p>The long awaited update of setup-android.</p>
<ul>
<li>Migrate action to Node24 (by <a
href="https://github.com/TWiStErRob"><code>@​TWiStErRob</code></a>)</li>
<li>Add and default to cmdline-tools version 20.0 ( 14742923 )</li>
<li>Update CI runners (by <a
href="https://github.com/TWiStErRob"><code>@​TWiStErRob</code></a>)</li>
<li>Update README.md (by <a
href="https://github.com/vil02"><code>@​vil02</code></a>)</li>
<li>Update npm dependencies to solve CVE's</li>
</ul>
<p>Incrementing major version to safeguard incase node upgrade or
default cmdline-tools upgrade breaks something downstream.</p>
<h2>v3.2.2</h2>
<p>Add support for cmdline-tools versions 12, 13, and 16 by <a
href="https://github.com/warting"><code>@​warting</code></a> in <a
href="https://redirect.github.com/android-actions/setup-android/pull/493">android-actions/setup-android#493</a>
.</p>
<p>Updated npm dependencies</p>
<h2>v3.2.1</h2>
<p>Updated dependencies</p>
<h2>v3.2.0</h2>
<p>Implement 'packages' input argument, which allows choosing which
packages to install from Android SDK</p>
<h2>v3.1.0</h2>
<p>Allow installing different Android SDK versions.
Allow silent license agreement.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/android-actions/setup-android/commit/651bceb6f9ca583f16b8d75b62c36ded2ae6fc9c"><code>651bceb</code></a>
Migrate from ncc to esbuild</li>
<li><a
href="https://github.com/android-actions/setup-android/commit/144235e0587cf3d746e56d7bd53ca53a966e2000"><code>144235e</code></a>
Update actions steps. checkout to v5, node to v6, java to v5, codeql to
v4</li>
<li><a
href="https://github.com/android-actions/setup-android/commit/200c644fca72efa03f84ad0c0e0bba00e6faa6e2"><code>200c644</code></a>
Add cmdline-tools version 20.0 ( 14742923 )</li>
<li><a
href="https://github.com/android-actions/setup-android/commit/715acc5ce167ce4019cf2f743710d152080fd478"><code>715acc5</code></a>
Remove <code>@​actions/cache</code> dependency</li>
<li><a
href="https://github.com/android-actions/setup-android/commit/125835f877d12c4bf3f94ba8bc91deb608f0a0ed"><code>125835f</code></a>
Update (not all) deps, migrate eslint to new format. compile to
es2024</li>
<li><a
href="https://github.com/android-actions/setup-android/commit/c4c8fe5bcde35fd88354d5a39d4739cbaf13cc30"><code>c4c8fe5</code></a>
Encourage users to use latest version of
<code>actions/setup-java</code></li>
<li><a
href="https://github.com/android-actions/setup-android/commit/6a40db5374286262464a7f8bbe2b8fc4f820518c"><code>6a40db5</code></a>
Migrate from Node 20 to Node 24</li>
<li><a
href="https://github.com/android-actions/setup-android/commit/641d7f5e800c4f489cc8c002afdf15ba3d1da935"><code>641d7f5</code></a>
Maintain GHA runners</li>
<li>See full diff in <a
href="https://github.com/android-actions/setup-android/compare/v3...v4">compare
view</a></li>
</ul>
</details>
<br />

Updates `cargo-bins/cargo-binstall` from 1.17.7 to 1.17.8
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/cargo-bins/cargo-binstall/releases">cargo-bins/cargo-binstall's
releases</a>.</em></p>
<blockquote>
<h2>v1.17.8</h2>
<p><em>Binstall is a tool to fetch and install Rust-based executables as
binaries. It aims to be a drop-in replacement for <code>cargo
install</code> in most cases. Install it today with <code>cargo install
cargo-binstall</code>, from the binaries below, or if you already have
it, upgrade with <code>cargo binstall cargo-binstall</code>.</em></p>
<h4>In this release:</h4>
<ul>
<li>Upgrade dependencies</li>
</ul>
<h4>Other changes:</h4>
<ul>
<li>Prebuilt signing process is much safer now (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2503">#2503</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/113a77a4ce971c41332f2129c3d995df993cf746"><code>113a77a</code></a>
release: cargo-binstall v1.17.8 (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2510">#2510</a>)</li>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/84cba9190ef84d6353c6cb5100c75ec6aa2fc07c"><code>84cba91</code></a>
chore: release (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2500">#2500</a>)</li>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/9b6ba1f458ecbee39372454f95364a330b2d0fc5"><code>9b6ba1f</code></a>
build(deps): bump netdev from 0.40.1 to 0.41.0 in the deps group (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2509">#2509</a>)</li>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/ffa641859a513fe3dc33022eaa0530555c8f7c36"><code>ffa6418</code></a>
dep: Upgrade transitive dependencies (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2508">#2508</a>)</li>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/19eb7c7d1263891c1dd1c8ed054dfb770b4c18ef"><code>19eb7c7</code></a>
Rm unused minisign key deletion release-cli.yml (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2507">#2507</a>)</li>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/9421f8a15a64fca422cc446e9531a8828666abdd"><code>9421f8a</code></a>
build(deps): bump astral-tokio-tar from 0.5.6 to 0.6.0 (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2504">#2504</a>)</li>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/1f14acd92f72adee26b31fa26b6e046973c99cb1"><code>1f14acd</code></a>
Simplify release-pipeline: Sign pre-builts in one workflow (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2503">#2503</a>)</li>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/811fbb5195c7b675c508168ebfca4355176bc25f"><code>811fbb5</code></a>
Refactor run_tests.sh to duplicate cargo-binstall to tempfile (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2505">#2505</a>)</li>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/4c4aeb61ee54318eba5737b7c07aa509a2ed6d32"><code>4c4aeb6</code></a>
build(deps): bump tracing-subscriber from 0.3.22 to 0.3.23 in the deps
group ...</li>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/177016786487504ca641e7183a9b5bc668d88480"><code>1770167</code></a>
dep: Upgrade transitive dependencies (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2499">#2499</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/cargo-bins/cargo-binstall/compare/v1.17.7...v1.17.8">compare
view</a></li>
</ul>
</details>
<br />

Updates `actions/create-github-app-token` from 2 to 3
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/create-github-app-token/releases">actions/create-github-app-token's
releases</a>.</em></p>
<blockquote>
<h2>v3.0.0</h2>
<h1><a
href="https://github.com/actions/create-github-app-token/compare/v2.2.2...v3.0.0">3.0.0</a>
(2026-03-14)</h1>
<ul>
<li>feat!: node 24 support (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/275">#275</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/2e564a0bb8e7cc2b907b2401a2afe177882d4325">2e564a0</a>)</li>
<li>fix!: require <code>NODE_USE_ENV_PROXY</code> for proxy support (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/342">#342</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/4451bcbc139f8124b0bf04f968ea2586b17df458">4451bcb</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>remove custom proxy handling (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/143">#143</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/dce0ab05f36f30b22fd14289fd36655c618e4e8e">dce0ab0</a>)</li>
</ul>
<h3>BREAKING CHANGES</h3>
<ul>
<li>Custom proxy handling has been removed. If you use HTTP_PROXY or
HTTPS_PROXY, you must now also set NODE_USE_ENV_PROXY=1 on the action
step.</li>
<li>Requires <a
href="https://github.com/actions/runner/releases/tag/v2.327.1">Actions
Runner v2.327.1</a> or later if you are using a self-hosted runner.</li>
</ul>
<h2>v3.0.0-beta.6</h2>
<h1><a
href="https://github.com/actions/create-github-app-token/compare/v3.0.0-beta.5...v3.0.0-beta.6">3.0.0-beta.6</a>
(2026-03-13)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>deps:</strong> bump <code>@​actions/core</code> from 1.11.1
to 3.0.0 (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/337">#337</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/b04413352d4644ac2131b9a90c074f5e93ca18a1">b044133</a>)</li>
<li><strong>deps:</strong> bump minimatch from 9.0.5 to 9.0.9 (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/335">#335</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/5cbc65624c9ddc4589492bda7c8b146223e8c3e4">5cbc656</a>)</li>
<li><strong>deps:</strong> bump the production-dependencies group with 4
updates (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/336">#336</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/6bda5bc1410576b9a0879ce6076d53345485bba9">6bda5bc</a>)</li>
<li><strong>deps:</strong> bump undici from 7.16.0 to 7.18.2 (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/323">#323</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/b4f638f48ee0dcdbb0bc646c48e4cb2a2de847fe">b4f638f</a>)</li>
</ul>
<h2>v3.0.0-beta.5</h2>
<h1><a
href="https://github.com/actions/create-github-app-token/compare/v3.0.0-beta.4...v3.0.0-beta.5">3.0.0-beta.5</a>
(2026-03-13)</h1>
<ul>
<li>fix!: require <code>NODE_USE_ENV_PROXY</code> for proxy support (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/342">#342</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/d53a1cdfde844c958786293adcaf739ecb8b5eb9">d53a1cd</a>)</li>
</ul>
<h3>BREAKING CHANGES</h3>
<ul>
<li>Custom proxy handling has been removed. If you use HTTP_PROXY or
HTTPS_PROXY, you must now also set NODE_USE_ENV_PROXY=1 on the action
step.</li>
</ul>
<h2>v3.0.0-beta.4</h2>
<h1><a
href="https://github.com/actions/create-github-app-token/compare/v3.0.0-beta.3...v3.0.0-beta.4">3.0.0-beta.4</a>
(2026-03-13)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>deps:</strong> bump <code>@​octokit/auth-app</code> from
7.2.1 to 8.0.1 (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/257">#257</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/bef1eaf1c0ac2b148ee2a0a74c65fbe6db0631f1">bef1eaf</a>)</li>
<li><strong>deps:</strong> bump <code>@​octokit/request</code> from
9.2.3 to 10.0.2 (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/256">#256</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/5d7307be63501c0070c634b0ae8fec74e8208130">5d7307b</a>)</li>
<li><strong>deps:</strong> bump glob from 10.4.5 to 10.5.0 (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/305">#305</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/5480f4325a18c025ee16d7e081413854624e9edc">5480f43</a>)</li>
<li><strong>deps:</strong> bump p-retry from 6.2.1 to 7.1.0 (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/294">#294</a>)
(<a
href="https://github.com/actions/create-github-app-token/commit/dce3be8b284f45e65caed11a610e2bef738d15b4">dce3be8</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/create-github-app-token/commit/f8d387b68d61c58ab83c6c016672934102569859"><code>f8d387b</code></a>
build(release): 3.0.0 [skip ci]</li>
<li><a
href="https://github.com/actions/create-github-app-token/commit/d2129bd463d4feb8723edeea9437baa7db58e41e"><code>d2129bd</code></a>
style: remove extra blank line in release workflow</li>
<li><a
href="https://github.com/actions/create-github-app-token/commit/77b94efc3e5f99a45abdd163fe04a4ebb95e98d6"><code>77b94ef</code></a>
build: refresh generated artifacts</li>
<li><a
href="https://github.com/actions/create-github-app-token/commit/3ab4c6689898955f913a485593b36b197c6dbbdc"><code>3ab4c66</code></a>
chore: move undici to devDependencies</li>
<li><a
href="https://github.com/actions/create-github-app-token/commit/739cf66feb937a443e4b6b7626bedd98f9fef6df"><code>739cf66</code></a>
docs: update README action versions</li>
<li><a
href="https://github.com/actions/create-github-app-token/commit/db40289976a36527816d4f6f45765fdee71f134b"><code>db40289</code></a>
build(deps): bump actions versions in test.yml</li>
<li><a
href="https://github.com/actions/create-github-app-token/commit/496a7ac4eb472eeac44d67818d1ce7f5e9e5fc97"><code>496a7ac</code></a>
test: migrate from AVA to Node.js native test runner (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/346">#346</a>)</li>
<li><a
href="https://github.com/actions/create-github-app-token/commit/3870dc3051e3f1fc3a2faa17bcbb00f31fe1dd6c"><code>3870dc3</code></a>
Rename end-to-end proxy job in test workflow</li>
<li><a
href="https://github.com/actions/create-github-app-token/commit/4451bcbc139f8124b0bf04f968ea2586b17df458"><code>4451bcb</code></a>
fix!: require <code>NODE_USE_ENV_PROXY</code> for proxy support (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/342">#342</a>)</li>
<li><a
href="https://github.com/actions/create-github-app-token/commit/dce0ab05f36f30b22fd14289fd36655c618e4e8e"><code>dce0ab0</code></a>
fix: remove custom proxy handling (<a
href="https://redirect.github.com/actions/create-github-app-token/issues/143">#143</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/create-github-app-token/compare/v2...v3">compare
view</a></li>
</ul>
</details>
<br />


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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-30 16:11:52 +01:00
Philipp Krüger 0485ffb7e0 chore(ci): Lock the version of wasm-bindgen-cli used in CI (#4060)
## Description

Locks the version of wasm-bindgen-cli used to the one corresponding to
the lockfile version.
This aligns the ci script to what we use in noq and elsewhere.

Also updates wasm-bindgen to version 0.2.115 from 0.2.114.
2026-03-30 15:34:43 +02:00
Rüdiger KlaehnandPhilipp Krüger 8af8370b56 refactor: Use latest noq api (#4057)
## Description

Noq API has changed a bit regarding watchers, in
https://github.com/n0-computer/noq/pull/547

This updates iroh to use the new API

## Breaking Changes

None

## 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.
- [ ] List all breaking changes in the above "Breaking Changes" section.
- [ ] Open an issue or PR on any number0 repos that are affected by this
breaking change. Give guidance on how the updates should be handled or
do the actual updates themselves. The major ones are:
    - [ ] [`quic-rpc`](https://github.com/n0-computer/quic-rpc)
    - [ ] [`iroh-gossip`](https://github.com/n0-computer/iroh-gossip)
    - [ ] [`iroh-blobs`](https://github.com/n0-computer/iroh-blobs)
    - [ ] [`dumbpipe`](https://github.com/n0-computer/dumbpipe)
    - [ ] [`sendme`](https://github.com/n0-computer/sendme)

---------

Co-authored-by: Philipp Krüger <philipp.krueger1@gmail.com>
2026-03-27 10:57:31 +01:00
Friedel Ziegelmayer b11b0eb670 fix(iroh)!: faster relay health check after network change (#4041)
## Description

After a major network change, send an immediate health check ping to the
relay server using an RTT-based timeout (3x last RTT, minimum 500ms)
instead of waiting for the next scheduled ping (up to 5s).

If the relay is healthy, the ping succeeds and nothing changes. If it's
broken, this detects it ~4.5s faster than the normal ping timeout,
triggering reconnection sooner.
2026-03-25 16:51:31 +01:00
Friedel Ziegelmayer eba6afcba5 fix: increase path idle timeouts and configure relay paths (#4038)
## Description

- Increase `PATH_MAX_IDLE_TIMEOUT` from 6.5s to 15s — the previous value
left only 1.5s for recovery after a 5s outage, which is too tight for
real-world WiFi reconnects (2-5s) and cellular handoffs (2-10s)
- Add `RELAY_PATH_MAX_IDLE_TIMEOUT` (30s) matching the connection-level
timeout, since the relay actor handles transparent WebSocket
reconnection during outages
- Add `configure_path()` helper that sets the relay idle timeout on all
path creation sites (initial connection, `open_path`,
`PathEvent::Opened`)
- Clamp user-provided `default_path_max_idle_timeout` instead of
silently ignoring values above the limit

## Notes

- iroh 0.35 used 10s at the QUIC level with 45s DISCO session timeout
- tailscale uses 45s session timeout with 3s heartbeats at the WireGuard
level
- 15s is a compromise: 3x the 5s heartbeat interval, fast enough to
detect genuinely dead paths
2026-03-25 11:16:49 +00:00
Rüdiger Klaehn b141e02650 fix: Modify test_ip_wins_over_custom so it is a noop if no ip transport is… (#4048)
## Description

The test_ip_wins_over_custom is not just flaky. It just doesn't make
sense anymore with the changes we have made to the custom transports PR
to get it merged.

Basically once we have a custom transport we might not even get the ip
transport, ever. So the bias doesn't matter.

## Breaking Changes

None

## Notes & open questions

Note: we could fully enable this test again when we bring back the
backup custom transport feature. I also want to look into this some
more. This is just to get CI to pass again.

## 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.
- [ ] List all breaking changes in the above "Breaking Changes" section.
- [ ] Open an issue or PR on any number0 repos that are affected by this
breaking change. Give guidance on how the updates should be handled or
do the actual updates themselves. The major ones are:
    - [ ] [`quic-rpc`](https://github.com/n0-computer/quic-rpc)
    - [ ] [`iroh-gossip`](https://github.com/n0-computer/iroh-gossip)
    - [ ] [`iroh-blobs`](https://github.com/n0-computer/iroh-blobs)
    - [ ] [`dumbpipe`](https://github.com/n0-computer/dumbpipe)
    - [ ] [`sendme`](https://github.com/n0-computer/sendme)
2026-03-25 10:44:48 +00:00
Friedel Ziegelmayer dc01a7703c fix: poll for default route with exponential backoff after network change (#4039)
## Description

When a network change is detected but no default route is available
(interface just came up, gateway not yet assigned), the current code
fires `handle_network_change` immediately with no route, which marks all
IP paths as non-recoverable.

Poll with exponential backoff (100ms, 200ms, 400ms, 800ms, capped at 1s)
until a default route appears, then fire `handle_network_change` with
accurate interface state. This matches the observed behavior where Linux
takes 200ms-2s to assign a default route after interface UP.
2026-03-25 11:22:03 +01:00
Rüdiger Klaehn 174b58ba28 tests: Fix ip_wins_over_custom flakiness (#4047)
## Description

Increase the bias so we can't accidentally get a wrong selection because
IP transport is super slow.

## Breaking Changes

None

## Notes & open questions

Should I make this a minute?

## 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.
- [ ] List all breaking changes in the above "Breaking Changes" section.
- [ ] Open an issue or PR on any number0 repos that are affected by this
breaking change. Give guidance on how the updates should be handled or
do the actual updates themselves. The major ones are:
    - [ ] [`quic-rpc`](https://github.com/n0-computer/quic-rpc)
    - [ ] [`iroh-gossip`](https://github.com/n0-computer/iroh-gossip)
    - [ ] [`iroh-blobs`](https://github.com/n0-computer/iroh-blobs)
    - [ ] [`dumbpipe`](https://github.com/n0-computer/dumbpipe)
    - [ ] [`sendme`](https://github.com/n0-computer/sendme)
2026-03-24 12:29:13 +00:00
cc21f51279 fix: improve holepunching after network changes (#3928)
## Description

When the network changes we should recover our connection and
holepunch again. Because quinn now tracks 4-tuples a lot of network
paths would turn into black holes because the source address would no
longer match.

This hooks up network changes to quinn so that it will close and open
new paths correctly when this happens. This should result in most
paths not being validated after a network change which in turn means
any new ADD_ADDRESS and REACH_OUT frames will be sent on the validated
path instead of a path that is no longer functional.

## Breaking Changes

n/a

## Notes & open questions

The first few commits do some renaming and documenting of stuff that's
not
strictly required. It was nicer and easier to build on top of that. If
you, the reviewer, would prefer I can split those off into a refactoring
PR and base this one on top of that.

## Change checklist

- [x] I still need to check if the server updates quinn so it can do
      the correct ADD_ADDRESS and REMOVE_ADDRESS stuff.
- [x] I still need to check the sequencing of the above so things
      happen in the correct order.
- [x] Investigate `endpoint_relay_connect_loop` test failure
- [ ] 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.
- [ ] Tests if relevant.

---------

Co-authored-by: Diva Martínez <git@divma.net>
Co-authored-by: dignifiedquire <me@dignifiedquire.com>
2026-03-24 11:12:31 +00:00
Asmir Avdicevic 405de1de8d fix(ci): install cmake and nasm for aws-lc-sys on Windows (#4032)
## Description

aws-lc-sys requires cmake and NASM to build on Windows MSVC targets.
This adds a choco install step to both Windows CI jobs and ensure the
installed binaries are on PATH.

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
2026-03-20 15:53:48 +00:00
Philipp Krüger 387c2e4fcb feat(iroh): Pluggable crypto backends (#3992)
## Description

- Introduces a `ring` feature flag that enables turning off the ring
dependency
- Introduces a `aws-lc-rs` feature flag that enables using aws-lc-rs as
the crypto provider for rustls for everything TLS in iroh
- Adds `iroh::endpoint::Builder::crypto_provider` allowing anyone to
configure custom crypto providers beyond ring and aws-lc-rs. This is a
required call when neither `ring` nor `aws-lc-rs` are enabled, but will
default to either (preferring ring) if the features are enabled.
- Adds `presets::Empty` and `presets::Minimal`. The latter sets the
minimal set of required options on the builder, but is only available on
the `ring` or `aws-lc-rs` feature flags.
- Removes `Endpoint::empty_builder` in favor of `Endpoint::builder`
together with either the `presets::Empty` or `presets::Minimal`.

Depends on https://github.com/n0-computer/noq/pull/496

## Breaking Changes

- Added `iroh::endpoint::Builder::crypto_provider` for configuring the
crypto provider. After having built the Endpoint, you can get back the
crypto provider via `endpoint.tls_config().crypto_provider()`.
- Removed `Endpoint::empty_builder`. Use
`Endpoint::builder(presets::Empty)` or
`Endpoint::builder(presets::Minimal)` instead.
- **Behavioral**: If you don't call
`iroh::endpoint::Builder::crypto_provider`, you will get an error when
building in the call `Builder::bind()`.

## Notes & Open Questions

It's probably worth asking ourselves if we want to change the way we run
CI now.
Most of our tests are cfg-ed out when you disable *both* the ring and
aws-lc-rs features.
However, maybe we should add another test category that's like
`--no-default-features --feature ring/aws-lc-rs`?
We could call it `minimal` (and I guess we'd have to decide to use
either ring or aws-lc-rs).
2026-03-20 13:08:36 +00:00
Rüdiger Klaehn 197d8db094 feat: Expose the new fn decrypt on noq. (#4002)
## Description

Expose the new fn decrypt on noq.

Note that I am depending on a slightly outdated version of noq, because
main no longer compiles due to an unrelated change.

Also reexport the DecryptedInitial type.

## Breaking Changes

None

## 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.
- [ ] List all breaking changes in the above "Breaking Changes" section.
- [ ] Open an issue or PR on any number0 repos that are affected by this
breaking change. Give guidance on how the updates should be handled or
do the actual updates themselves. The major ones are:
    - [ ] [`quic-rpc`](https://github.com/n0-computer/quic-rpc)
    - [ ] [`iroh-gossip`](https://github.com/n0-computer/iroh-gossip)
    - [ ] [`iroh-blobs`](https://github.com/n0-computer/iroh-blobs)
    - [ ] [`dumbpipe`](https://github.com/n0-computer/dumbpipe)
    - [ ] [`sendme`](https://github.com/n0-computer/sendme)
2026-03-19 11:14:05 +00:00
Philipp Krüger d26cbd2fa0 feat(iroh): Avoid allocations in AddrFilter (#4018)
## Description

- Makes `AddrFilter` essentially a wrapper around `&Vec -> Cow<Vec>`
instead of `&BTreeSet -> Vec`.
- Reworks `EndpointInfo` and `EndpointData` APIs. Some docs were
outdated (e.g. claiming `with_relay_url(None)` would remove relays),
etc. Generally also removed `Deref` and `DerefMut` implementations from
`EndpointInfo -> EndpointData`.

## Breaking Changes

`iroh::address_lookup::EndpointInfo`:
- `EndpointInfo::with_relay_url` now takes `RelayUrl` instead of
`Option<RelayUrl>`
- `EndpointInfo::with_ip_addrs` now takes `Vec<SocketAddr>` instead of
`BTreeSet<SocketAddr>`.
- Removed `Deref` and `DerefMut` with `Target = EndpointData` from
`EndpointInfo`.
- Added `EndpointData::{addrs, relay_urls, user_data, ip_addrs}`.

`iroh::address_lookup::EndpointData`:
- `EndpointData::new` now takes a `Vec<TransportAddr>` instead of `impl
IntoIterator<Item = TransportAddr>` and keeps the ordering of addresses.
Use `EndpointAddr::from_iter` instead (although less performant).
- `EndpointData::with_user_data` now takes `UserData` instead of
`Option<UserData>`.
- `EndpointData::filtered_addrs` now returns `Cow<Vec<TransportAddr>>`
instead of `Vec<TransportAddr>`.
- Added `EndpointData::{add_relay_url, add_ip_addrs, apply_filter}`.
- Added `impl From<BTreeSet<{TransportAddr, SocketAddr}>> for
EndpointData`.
- Added `impl FromIterator<TransportAddr> for EndpointData`.

`iroh::address_lookup::AddrFilterFn`:
- Changed from being `BTreeSet`-based to `Vec`-based.
- Return type changed to `Cow<Vec<TransportAddr>>`
from`Vec<TransportAddr>`.

## Notes

There's some work required to keep the `EndpointData` transport
addresses deduplicated, and deduplicating a `Vec` is unfortunately
somewhat expensive and requires allocations, but I think it's better to
have this than not to.
I already saw some code in some publishing services that just keep
adding new information to a single `EndpointData` and keep publishing.
Without deduplication, this would go wrong. Maybe that should change
nonetheless, but that'd be a PR for another day.

## 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.
2026-03-19 11:01:17 +00:00
dignifiedquire 3d6e26b118 chore: Release v0.97.0 2026-03-16 17:26:42 +01:00
dignifiedquire 29c8c856be chore: update changelog generation command 2026-03-16 17:23:08 +01:00
Philipp KrügerandFranz Heinzmann b3da9402f4 fix(iroh)!: Don't publish IP addresses from PkarrPublisher by default (#4012)
## Description

Partially reverts #3987 so we have more control over the default
`AddrFilter` from within the `PkarrPublisherBuilder`, and because we
need it for pkarr, we keep this consistent across publishing services.

As a bonus, now pure resolvers don't suddently have a builder method for
address filtering that cannot apply to them (but they can still be
wrapped in `FilteredAddressLookup`, even though that's less
discoverable).

Fixes #4009 

## Breaking Changes

- **behavioral**: `PkarrPublisher` and `DhtPublisher` will now by
default publish *only* the relay URL, instead of detecting if
`RelayMode::Disabled` was set and in such cases publishing IP addresses.
We recommend users to explicitly set
`.addr_mode(AddrFilter::unfiltered())` if they set
`relay_mode(RelayMode::Disabled)`, to re-enable publishing IP addresses
publicly.

---------

Co-authored-by: Franz Heinzmann <frando@unbiskant.org>
2026-03-16 12:11:35 +00:00
Friedel Ziegelmayer 759f14eb0e feat(iroh)!: cleanup preset API (#4014)
## Description

The current default builder approach hardcodes the number 0 servers
directly, to make this more explicit, but still have a clean API for
examples everywhere this refactors the builder and bind API of the
endpoint.

## Breaking Changes

- `iroh::Endpoint::builder` now takes a preset
- `iroh::Endpoint::bind` now takes a preset
- `iroh::Endpoint::empty_builder` now assumes `RelayMode::Disabled` and
takes no arguments
- `iroh::EndpointBuilder::empty` now assumes `RelayMode::Disabled` and
takes no arguments


## Example

```rust
// Before
let endpoint = Endpoint::bind().await?;

// After
let endpoint = Endpoint::bind(presets::N0).await?;
```
2026-03-16 11:44:24 +00:00
dependabot[bot]andFriedel Ziegelmayer a34f823a8f chore(deps): bump the github-actions group with 2 updates (#4017)
Bumps the github-actions group with 2 updates:
[cargo-bins/cargo-binstall](https://github.com/cargo-bins/cargo-binstall)
and
[docker/build-push-action](https://github.com/docker/build-push-action).

Updates `cargo-bins/cargo-binstall` from 1.17.6 to 1.17.7
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/cargo-bins/cargo-binstall/releases">cargo-bins/cargo-binstall's
releases</a>.</em></p>
<blockquote>
<h2>v1.17.7</h2>
<p><em>Binstall is a tool to fetch and install Rust-based executables as
binaries. It aims to be a drop-in replacement for <code>cargo
install</code> in most cases. Install it today with <code>cargo install
cargo-binstall</code>, from the binaries below, or if you already have
it, upgrade with <code>cargo binstall cargo-binstall</code>.</em></p>
<h4>In this release:</h4>
<ul>
<li>Upgrade dependencies</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/1800853f2578f8c34492ec76154caef8e163fbca"><code>1800853</code></a>
release: cargo-binstall v1.17.7 (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2497">#2497</a>)</li>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/86b11b4b790980e8a929892cc2e264e00d6185d9"><code>86b11b4</code></a>
chore: release (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2495">#2495</a>)</li>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/7b996da12e86e42fae8972a3a7a9579b58920ffd"><code>7b996da</code></a>
build(deps): bump toml from 1.0.4+spec-1.1.0 to 1.0.6+spec-1.1.0 in the
deps ...</li>
<li><a
href="https://github.com/cargo-bins/cargo-binstall/commit/2676f09268d4228bf5658a7a59b13e665520a8da"><code>2676f09</code></a>
dep: Upgrade transitive dependencies (<a
href="https://redirect.github.com/cargo-bins/cargo-binstall/issues/2494">#2494</a>)</li>
<li>See full diff in <a
href="https://github.com/cargo-bins/cargo-binstall/compare/v1.17.6...v1.17.7">compare
view</a></li>
</ul>
</details>
<br />

Updates `docker/build-push-action` from 6 to 7
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/docker/build-push-action/releases">docker/build-push-action's
releases</a>.</em></p>
<blockquote>
<h2>v7.0.0</h2>
<ul>
<li>Node 24 as default runtime (requires <a
href="https://github.com/actions/runner/releases/tag/v2.327.1">Actions
Runner v2.327.1</a> or later) by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
href="https://redirect.github.com/docker/build-push-action/pull/1470">docker/build-push-action#1470</a></li>
<li>Remove deprecated <code>DOCKER_BUILD_NO_SUMMARY</code> and
<code>DOCKER_BUILD_EXPORT_RETENTION_DAYS</code> envs by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
href="https://redirect.github.com/docker/build-push-action/pull/1473">docker/build-push-action#1473</a></li>
<li>Remove legacy export-build tool support for build summary by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
href="https://redirect.github.com/docker/build-push-action/pull/1474">docker/build-push-action#1474</a></li>
<li>Switch to ESM and update config/test wiring by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
href="https://redirect.github.com/docker/build-push-action/pull/1466">docker/build-push-action#1466</a></li>
<li>Bump <code>@​actions/core</code> from 1.11.1 to 3.0.0 in <a
href="https://redirect.github.com/docker/build-push-action/pull/1454">docker/build-push-action#1454</a></li>
<li>Bump <code>@​docker/actions-toolkit</code> from 0.62.1 to 0.79.0 in
<a
href="https://redirect.github.com/docker/build-push-action/pull/1453">docker/build-push-action#1453</a>
<a
href="https://redirect.github.com/docker/build-push-action/pull/1472">docker/build-push-action#1472</a>
<a
href="https://redirect.github.com/docker/build-push-action/pull/1479">docker/build-push-action#1479</a></li>
<li>Bump minimatch from 3.1.2 to 3.1.5 in <a
href="https://redirect.github.com/docker/build-push-action/pull/1463">docker/build-push-action#1463</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v6.19.2...v7.0.0">https://github.com/docker/build-push-action/compare/v6.19.2...v7.0.0</a></p>
<h2>v6.19.2</h2>
<ul>
<li>Preserve port in <code>GIT_AUTH_TOKEN</code> host by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
href="https://redirect.github.com/docker/build-push-action/pull/1458">docker/build-push-action#1458</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v6.19.1...v6.19.2">https://github.com/docker/build-push-action/compare/v6.19.1...v6.19.2</a></p>
<h2>v6.19.1</h2>
<ul>
<li>Derive <code>GIT_AUTH_TOKEN</code> host from GitHub server URL by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
href="https://redirect.github.com/docker/build-push-action/pull/1456">docker/build-push-action#1456</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v6.19.0...v6.19.1">https://github.com/docker/build-push-action/compare/v6.19.0...v6.19.1</a></p>
<h2>v6.19.0</h2>
<ul>
<li>Scope default git auth token to <code>github.com</code> by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
href="https://redirect.github.com/docker/build-push-action/pull/1451">docker/build-push-action#1451</a></li>
<li>Bump brace-expansion from 1.1.11 to 1.1.12 in <a
href="https://redirect.github.com/docker/build-push-action/pull/1396">docker/build-push-action#1396</a></li>
<li>Bump form-data from 2.5.1 to 2.5.5 in <a
href="https://redirect.github.com/docker/build-push-action/pull/1391">docker/build-push-action#1391</a></li>
<li>Bump js-yaml from 3.14.1 to 3.14.2 in <a
href="https://redirect.github.com/docker/build-push-action/pull/1429">docker/build-push-action#1429</a></li>
<li>Bump lodash from 4.17.21 to 4.17.23 in <a
href="https://redirect.github.com/docker/build-push-action/pull/1446">docker/build-push-action#1446</a></li>
<li>Bump tmp from 0.2.3 to 0.2.4 in <a
href="https://redirect.github.com/docker/build-push-action/pull/1398">docker/build-push-action#1398</a></li>
<li>Bump undici from 5.28.4 to 5.29.0 in <a
href="https://redirect.github.com/docker/build-push-action/pull/1397">docker/build-push-action#1397</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v6.18.0...v6.19.0">https://github.com/docker/build-push-action/compare/v6.18.0...v6.19.0</a></p>
<h2>v6.18.0</h2>
<ul>
<li>Bump <code>@​docker/actions-toolkit</code> from 0.61.0 to 0.62.1 in
<a
href="https://redirect.github.com/docker/build-push-action/pull/1381">docker/build-push-action#1381</a></li>
</ul>
<blockquote>
<p>[!NOTE]
<a
href="https://docs.docker.com/build/ci/github-actions/build-summary/">Build
summary</a> is now supported with <a
href="https://docs.docker.com/build-cloud/">Docker Build Cloud</a>.</p>
</blockquote>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v6.17.0...v6.18.0">https://github.com/docker/build-push-action/compare/v6.17.0...v6.18.0</a></p>
<h2>v6.17.0</h2>
<ul>
<li>Bump <code>@​docker/actions-toolkit</code> from 0.59.0 to 0.61.0 by
<a href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in
<a
href="https://redirect.github.com/docker/build-push-action/pull/1364">docker/build-push-action#1364</a></li>
</ul>
<blockquote>
<p>[!NOTE]
Build record is now exported using the <a
href="https://docs.docker.com/reference/cli/docker/buildx/history/export/"><code>buildx
history export</code></a> command instead of the legacy export-build
tool.</p>
</blockquote>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/docker/build-push-action/compare/v6.16.0...v6.17.0">https://github.com/docker/build-push-action/compare/v6.16.0...v6.17.0</a></p>
<h2>v6.16.0</h2>
<ul>
<li>Handle no default attestations env var by <a
href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
href="https://redirect.github.com/docker/build-push-action/pull/1343">docker/build-push-action#1343</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/docker/build-push-action/commit/d08e5c354a6adb9ed34480a06d141179aa583294"><code>d08e5c3</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/build-push-action/issues/1479">#1479</a>
from docker/dependabot/npm_and_yarn/docker/actions-t...</li>
<li><a
href="https://github.com/docker/build-push-action/commit/cbd2dff9a0f0ef650dcce9c635bb2f877ab37be5"><code>cbd2dff</code></a>
chore: update generated content</li>
<li><a
href="https://github.com/docker/build-push-action/commit/f76f51f12900bb84aa9d1a498f35870ef1f76675"><code>f76f51f</code></a>
chore(deps): Bump <code>@​docker/actions-toolkit</code> from 0.78.0 to
0.79.0</li>
<li><a
href="https://github.com/docker/build-push-action/commit/7d03e66b5f24d6b390ab64b132795fd3ef4152c8"><code>7d03e66</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/build-push-action/issues/1473">#1473</a>
from crazy-max/rm-deprecated-envs</li>
<li><a
href="https://github.com/docker/build-push-action/commit/98f853d923dd281a3bcbbb98a0712a91aa913322"><code>98f853d</code></a>
chore: update generated content</li>
<li><a
href="https://github.com/docker/build-push-action/commit/cadccf6e8c7385c86d9cb0800cf07672645cc238"><code>cadccf6</code></a>
remove deprecated envs</li>
<li><a
href="https://github.com/docker/build-push-action/commit/03fe8775e325e34fffbda44c73316f8287aea372"><code>03fe877</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/build-push-action/issues/1478">#1478</a>
from docker/dependabot/github_actions/docker/setup-b...</li>
<li><a
href="https://github.com/docker/build-push-action/commit/827e36650e1fa7386d09422b5ba3c068fdbe0a1d"><code>827e366</code></a>
chore(deps): Bump docker/setup-buildx-action from 3 to 4</li>
<li><a
href="https://github.com/docker/build-push-action/commit/e25db879d025485a4eebd64fea9bb88a43632da6"><code>e25db87</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/build-push-action/issues/1474">#1474</a>
from crazy-max/rm-export-build-tool</li>
<li><a
href="https://github.com/docker/build-push-action/commit/1ac2573b5c8b4e4621d5453ab2a99e83725242bd"><code>1ac2573</code></a>
Merge pull request <a
href="https://redirect.github.com/docker/build-push-action/issues/1470">#1470</a>
from crazy-max/node24</li>
<li>Additional commits viewable in <a
href="https://github.com/docker/build-push-action/compare/v6...v7">compare
view</a></li>
</ul>
</details>
<br />


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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Friedel Ziegelmayer <me@dignifiedquire.com>
2026-03-16 10:24:33 +00:00
dependabot[bot]andFriedel Ziegelmayer 4e3f6b7e5a chore(deps): bump strum from 0.27.2 to 0.28.0 (#3981)
Bumps [strum](https://github.com/Peternator7/strum) from 0.27.2 to
0.28.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Peternator7/strum/blob/master/CHANGELOG.md">strum's
changelog</a>.</em></p>
<blockquote>
<h2>0.28.0</h2>
<ul>
<li>
<p><a
href="https://redirect.github.com/Peternator7/strum/pull/461">#461</a>:
Allow any kind of passthrough attributes on
<code>EnumDiscriminants</code>.</p>
<ul>
<li>Previously only list-style attributes (e.g.
<code>#[strum_discriminants(derive(...))]</code>) were supported. Now
path-only
(e.g. <code>#[strum_discriminants(non_exhaustive)]</code>) and
name/value (e.g. <code>#[strum_discriminants(doc =
&quot;foo&quot;)]</code>)
attributes are also supported.</li>
</ul>
</li>
<li>
<p><a
href="https://redirect.github.com/Peternator7/strum/pull/462">#462</a>:
Add missing <code>#[automatically_derived]</code> to generated impls not
covered by <a
href="https://redirect.github.com/Peternator7/strum/pull/444">#444</a>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Peternator7/strum/pull/466">#466</a>:
Bump MSRV to 1.71, required to keep up with updated <code>syn</code> and
<code>windows-sys</code> dependencies. This is a breaking change if
you're on an old version of rust.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Peternator7/strum/pull/469">#469</a>:
Use absolute paths in generated proc macro code to avoid
potential name conflicts.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Peternator7/strum/pull/465">#465</a>:
Upgrade <code>phf</code> dependency to v0.13.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Peternator7/strum/pull/473">#473</a>:
Fix <code>cargo fmt</code> / <code>clippy</code> issues and add GitHub
Actions CI.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Peternator7/strum/pull/477">#477</a>:
<code>strum::ParseError</code> now implements
<code>core::fmt::Display</code> instead
<code>std::fmt::Display</code> to make it <code>#[no_std]</code>
compatible. Note the <code>Error</code> trait wasn't available in core
until <code>1.81</code>
so <code>strum::ParseError</code> still only implements that in std.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Peternator7/strum/pull/476">#476</a>:
<strong>Breaking Change</strong> - <code>EnumString</code> now
implements <code>From&lt;&amp;str&gt;</code>
(infallible) instead of <code>TryFrom&lt;&amp;str&gt;</code> when the
enum has a <code>#[strum(default)]</code> variant. This more accurately
reflects that parsing cannot fail in that case. If you need the old
<code>TryFrom</code> behavior, you can opt back in using
<code>parse_error_ty</code> and <code>parse_error_fn</code>:</p>
<pre lang="rust"><code>#[derive(EnumString)]
#[strum(parse_error_ty = strum::ParseError, parse_error_fn =
make_error)]
pub enum Color {
    Red,
    #[strum(default)]
    Other(String),
}
<p>fn make_error(x: &amp;str) -&gt; strum::ParseError {
strum::ParseError::VariantNotFound
}
</code></pre></p>
</li>
<li>
<p><a
href="https://redirect.github.com/Peternator7/strum/pull/431">#431</a>:
Fix bug where <code>EnumString</code> ignored the
<code>parse_err_ty</code>
attribute when the enum had a <code>#[strum(default)]</code>
variant.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Peternator7/strum/pull/474">#474</a>:
EnumDiscriminants will now copy <code>default</code> over from the
original enum to the Discriminant enum.</p>
<pre lang="rust"><code>#[derive(Debug, Default, EnumDiscriminants)]
#[strum_discriminants(derive(Default))] // &lt;- Remove this in 0.28.
enum MyEnum {
    #[default] // &lt;- Will be the #[default] on the MyEnumDiscriminant
    #[strum_discriminants(default)] // &lt;- Remove this in 0.28
    Variant0,
    Variant1 { a: NonDefault },
}
</code></pre>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Peternator7/strum/commit/7376771128834d28bb9beba5c39846cba62e71ec"><code>7376771</code></a>
Peternator7/0.28 (<a
href="https://redirect.github.com/Peternator7/strum/issues/475">#475</a>)</li>
<li><a
href="https://github.com/Peternator7/strum/commit/26e63cd964a2e364331a5dd977d589bb9f649d8c"><code>26e63cd</code></a>
Display exists in core (<a
href="https://redirect.github.com/Peternator7/strum/issues/477">#477</a>)</li>
<li><a
href="https://github.com/Peternator7/strum/commit/9334c728eedaa8a992d1388a8f4564bbccad1934"><code>9334c72</code></a>
Make TryFrom and FromStr infallible if there's a default (<a
href="https://redirect.github.com/Peternator7/strum/issues/476">#476</a>)</li>
<li><a
href="https://github.com/Peternator7/strum/commit/0ccbbf823c16e827afc263182cd55e99e3b2a52e"><code>0ccbbf8</code></a>
Honor parse_err_ty attribute when the enum has a default variant (<a
href="https://redirect.github.com/Peternator7/strum/issues/431">#431</a>)</li>
<li><a
href="https://github.com/Peternator7/strum/commit/2c9e5a9259189ce8397f2f4967060240c6bafd74"><code>2c9e5a9</code></a>
Automatically add Default implementation to EnumDiscriminant if it
exists on ...</li>
<li><a
href="https://github.com/Peternator7/strum/commit/e241243e48359b8b811b8eaccdcfa1ae87138e0d"><code>e241243</code></a>
Fix existing cargo fmt + clippy issues and add GH actions (<a
href="https://redirect.github.com/Peternator7/strum/issues/473">#473</a>)</li>
<li><a
href="https://github.com/Peternator7/strum/commit/639b67fefd20eaead1c5d2ea794e9afe70a00312"><code>639b67f</code></a>
feat: allow any kind of passthrough attributes on
<code>EnumDiscriminants</code> (<a
href="https://redirect.github.com/Peternator7/strum/issues/461">#461</a>)</li>
<li><a
href="https://github.com/Peternator7/strum/commit/0ea1e2d0fd1460e7492ea32e6b460394d9199ff8"><code>0ea1e2d</code></a>
docs: Fix typo (<a
href="https://redirect.github.com/Peternator7/strum/issues/463">#463</a>)</li>
<li><a
href="https://github.com/Peternator7/strum/commit/36c051b91086b37d531c63ccf5a49266832a846d"><code>36c051b</code></a>
Upgrade <code>phf</code> to v0.13 (<a
href="https://redirect.github.com/Peternator7/strum/issues/465">#465</a>)</li>
<li><a
href="https://github.com/Peternator7/strum/commit/9328b38617dc6f4a3bc5fdac03883d3fc766cf34"><code>9328b38</code></a>
Use absolute paths in proc macro (<a
href="https://redirect.github.com/Peternator7/strum/issues/469">#469</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/Peternator7/strum/compare/v0.27.2...v0.28.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=strum&package-manager=cargo&previous-version=0.27.2&new-version=0.28.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Friedel Ziegelmayer <me@dignifiedquire.com>
2026-03-16 10:01:41 +00:00
Rüdiger Klaehn 7fc9fb93e2 refactor: Remove special fast path for hickory resolver (#4022)
## Description

Remove special fast path for hickory resolver

The downside is that we have 1 more box for each lookup_ipv6 or
lookup_ipv4, but I doubt that it matters. These are network ops, maybe
cache hits, but in any case much more heavyweight than a boxed future.

The upside is that hickory will be easier to feature gate later, which
we need for embedded. And it's less code.

Rationale for this: hickory is really nasty on embedded. It requires
giant (for embedded) stack sizes and also is a big dep. We need it for
address_discovery_dns, but there is an alternative for that: just use
pkarr for both put and get.

If we don't have a default dep on hickory we can implement a simple dns
resolver that just uses getaddrinfo. It won't work for TXT records, but
we don't need them for the core functionality of doing just plain A or
AAAA requests to figure out relay ip addrs.

## Breaking Changes

None

## Notes & open questions

## 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.
- [ ] List all breaking changes in the above "Breaking Changes" section.
- [ ] Open an issue or PR on any number0 repos that are affected by this
breaking change. Give guidance on how the updates should be handled or
do the actual updates themselves. The major ones are:
    - [ ] [`quic-rpc`](https://github.com/n0-computer/quic-rpc)
    - [ ] [`iroh-gossip`](https://github.com/n0-computer/iroh-gossip)
    - [ ] [`iroh-blobs`](https://github.com/n0-computer/iroh-blobs)
    - [ ] [`dumbpipe`](https://github.com/n0-computer/dumbpipe)
    - [ ] [`sendme`](https://github.com/n0-computer/sendme)
2026-03-13 13:00:10 +00:00
Franz Heinzmann f226881f6f feat(iroh): add tracing events for connections (#4021)
## Description

This adds `iroh::_event::conn` events for incoming and outgoing
connections. We already have path events, but no connection events, so
this makes our event system more complete, and gives good context when
reading `iroh::_events`.
2026-03-13 11:21:32 +00:00
Rüdiger Klaehn 76609fd62a deps: remove netdev from the direct dependencies (#4019)
## Description

Remove netdev from direct dependencies. We still have it as an indirect
dependency via netwatch for now. The plan is to replace some
functionality in net-tools with stubs to remove the netdev dependency
that does not work on esp32. See
https://github.com/n0-computer/net-tools/pull/116

ipnet is not a new dep, just a new direct dep. We had it before via
netwatch.

## Breaking Changes

None

## 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.
- [ ] List all breaking changes in the above "Breaking Changes" section.
- [ ] Open an issue or PR on any number0 repos that are affected by this
breaking change. Give guidance on how the updates should be handled or
do the actual updates themselves. The major ones are:
    - [ ] [`quic-rpc`](https://github.com/n0-computer/quic-rpc)
    - [ ] [`iroh-gossip`](https://github.com/n0-computer/iroh-gossip)
    - [ ] [`iroh-blobs`](https://github.com/n0-computer/iroh-blobs)
    - [ ] [`dumbpipe`](https://github.com/n0-computer/dumbpipe)
    - [ ] [`sendme`](https://github.com/n0-computer/sendme)
2026-03-12 15:04:18 +00:00
dependabot[bot] 4864ce6a23 chore(deps): bump toml from 0.9.12+spec-1.1.0 to 1.0.6+spec-1.1.0 (#4016)
Bumps [toml](https://github.com/toml-rs/toml) from 0.9.12+spec-1.1.0 to
1.0.6+spec-1.1.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/toml-rs/toml/commit/a09707edb7c838952161be8d3a5b9b8e870eef73"><code>a09707e</code></a>
chore: Release</li>
<li><a
href="https://github.com/toml-rs/toml/commit/7b0feaa5f00cf0f8bb7344ba30e5dd012e900e6b"><code>7b0feaa</code></a>
docs: Update changelog</li>
<li><a
href="https://github.com/toml-rs/toml/commit/2902954e9d969205d6fed0baac3ba60b10dd8a1e"><code>2902954</code></a>
Revert &quot;fix(toml): Track dotted key for spans&quot; (<a
href="https://redirect.github.com/toml-rs/toml/issues/1119">#1119</a>)</li>
<li><a
href="https://github.com/toml-rs/toml/commit/a586cae70fbddf56ed3e98d86afb4b4bb4df749c"><code>a586cae</code></a>
Revert &quot;fix(toml): Track dotted key for spans&quot;</li>
<li><a
href="https://github.com/toml-rs/toml/commit/d35c3f69daa9ba0420b9f24c4dcfd0da9f47cc2b"><code>d35c3f6</code></a>
chore: Release</li>
<li><a
href="https://github.com/toml-rs/toml/commit/949b4e849373485bc0b2db7aed9d993099bcc524"><code>949b4e8</code></a>
docs: Update changelog</li>
<li><a
href="https://github.com/toml-rs/toml/commit/47b878bb86bf45c0a8c6019cf4e8dfa432a93759"><code>47b878b</code></a>
fix(toml): Track dotted key for spans (<a
href="https://redirect.github.com/toml-rs/toml/issues/1118">#1118</a>)</li>
<li><a
href="https://github.com/toml-rs/toml/commit/87461d819f3383c26b8d9c4e70db208075a7a0d8"><code>87461d8</code></a>
fix(toml): Track dotted key for spans</li>
<li><a
href="https://github.com/toml-rs/toml/commit/796370e7d2d5d263384515d8b76a1e41e9c74cf6"><code>796370e</code></a>
test(serde): Check span meaning</li>
<li><a
href="https://github.com/toml-rs/toml/commit/ad87859b971d6dfda8bf2c469044e2b04d2a0732"><code>ad87859</code></a>
test(serde): Track key spans</li>
<li>Additional commits viewable in <a
href="https://github.com/toml-rs/toml/compare/toml-v0.9.12...toml-v1.0.6">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=toml&package-manager=cargo&previous-version=0.9.12+spec-1.1.0&new-version=1.0.6+spec-1.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-12 13:25:21 +00:00