Commit Graph
2545 Commits
Author SHA1 Message Date
Frando cd0d619cd0 use internal error instead 2026-07-15 13:00:43 +02:00
Frando 7eeb85a562 feat(iroh-dns): Improve error messages 2026-07-14 10:39:43 +02:00
Floris Bruynooghe 5817271c4a ci: Update semver checks for 1.0 stability (#4401)
## Description

Now that 1.0 is stable we should run our semver checks against the
latest release, which is automatically found on crates.io. This also
means we can enable caching for it.

We do allow for adding deprecations, as per
https://semver.org/#how-should-i-handle-deprecating-functionality

## Breaking Changes

none

## Notes & open questions

- This matches the changes in noq:
https://github.com/n0-computer/noq/pull/734

- When there's a semver change that requires a new minor version the
  check will fail. We will have to increment the version number in the
  PR that requires this from now on.

- iroh-dns-server didn't have the workspace lints enabled. I assume this
was an
oversight so added them. They are needed to pick up the semver config
from
the workspace Cargo.toml (there are some alternatives, but we want those
lints).
So this also fixes a few of the new lints and clippy warnings coming
with that,
  luckily not much noise.

## Change checklist

- [x] Self-review.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-13 16:40:01 +00:00
403af3c9ed docs(iroh-relay): system deps and build command (#4385)
## Description

<!-- A summary of what this pull request achieves and a rough list of
changes. -->

Helps people know what system deps to install and know how to build the
`iroh-relay` server binary.

## Breaking Changes

<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->

N/A.

## Notes & open questions

<!-- Any notes, remarks or open questions you have to make about the PR.
-->
N/A.

## Change checklist

<!-- Remove any that are not relevant. -->

- [x] Self-review.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.

Co-authored-by: Floris Bruynooghe <flub@n0.computer>
Co-authored-by: Philipp Krüger <philipp.krueger1@gmail.com>
2026-07-10 11:26:27 +00:00
dependabot[bot] c8ea799c21 chore(deps): bump regex from 1.12.4 to 1.13.0 (#4403)
Bumps [regex](https://github.com/rust-lang/regex) from 1.12.4 to 1.13.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/regex/blob/master/CHANGELOG.md">regex's
changelog</a>.</em></p>
<blockquote>
<h1>1.13.0 (2026-07-09)</h1>
<p>This release includes a new API, a <code>regex!</code> macro, for
lazy compilation of
a regex from a string literal. If you use regexes a lot, it's likely
you've
already written one exactly like it. The new macro can be used like
this:</p>
<pre lang="rust"><code>use regex::regex;
<p>fn is_match(line: &amp;str) -&gt; bool {<br />
// The regex will be compiled approximately once and reused
automatically.<br />
// This avoids the footgun of using <code>Regex::new</code> here, which
would<br />
// guarantee that it would be compiled every time this routine is
called.<br />
// This would likely make this routine much slower than it needs to
be.<br />
regex!(r&quot;bar|baz&quot;).is_match(line)<br />
}</p>
<p>let hay = &quot;<br />
path/to/foo:54:Blue Harvest<br />
path/to/bar:90:Something, Something, Something, Dark Side<br />
path/to/baz:3:It's a Trap!<br />
&quot;;</p>
<p>let matches = hay.lines().filter(|line| is_match(line)).count();<br
/>
assert_eq!(matches, 2);<br />
</code></pre></p>
<p>Improvements:</p>
<ul>
<li><a
href="https://redirect.github.com/rust-lang/regex/issues/709">#709</a>:
Add a new <code>regex!</code> macro for efficient and automatic reuse of
a compiled regex.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/regex/commit/926af2e68eca3ce089815790541cf50759ba2c59"><code>926af2e</code></a>
1.13.0</li>
<li><a
href="https://github.com/rust-lang/regex/commit/7d941a93561430cd259bb9ceb84cc66f33ae7be8"><code>7d941a9</code></a>
regex-automata-0.4.15</li>
<li><a
href="https://github.com/rust-lang/regex/commit/e358341229ebd5feb9a78d8cc85b459c3c7b6600"><code>e358341</code></a>
api: add <code>regex!</code> macro for lazy compilation</li>
<li><a
href="https://github.com/rust-lang/regex/commit/c42033379c8760105ef90287f319de73d1572242"><code>c420333</code></a>
automata: disable miri on a couple doc tests</li>
<li><a
href="https://github.com/rust-lang/regex/commit/b9d2cf724f89754ea879b6c223d2292c4d3e2dd3"><code>b9d2cf7</code></a>
github: add FUNDING link</li>
<li><a
href="https://github.com/rust-lang/regex/commit/0858006b1460ba781deda54b8d2b01b3f9f949f7"><code>0858006</code></a>
docs: add AI policy for contributors</li>
<li><a
href="https://github.com/rust-lang/regex/commit/468fc64ecd6493caaca40dbe8319c31c5c08a83d"><code>468fc64</code></a>
automata: reject dense DFA start states that are match states</li>
<li>See full diff in <a
href="https://github.com/rust-lang/regex/compare/1.12.4...1.13.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=regex&package-manager=cargo&previous-version=1.12.4&new-version=1.13.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-07-10 10:36:48 +00:00
Floris Bruynooghe 8b097b2488 chore: fixes for clippy from rust 1.97 (#4404)
## Description

New rust release, new clippy warnings.

## Breaking Changes

n/a

## Notes & open questions

n/a

## Change checklist

- [x] Self-review.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-10 09:09:35 +00:00
Floris Bruynooghe 908ddf5d7c deps: bump crossbeam-epoch for invalid pointer dereference (#4402)
## Description

Another cargo-deny warning we did just get.

## Breaking Changes

none

## Notes & open questions

n/a

## Change checklist

- [x] Self-review.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-08 20:38:58 +00:00
“ramfox” c3ccf502c3 chore: Release v1.0.2 2026-07-06 16:51:32 -04:00
“ramfox” ead46e5082 chore(*): add release configuration for generating the changelog 2026-07-06 16:32:28 -04:00
dependabot[bot] c295151018 chore(deps): bump humantime from 2.3.0 to 2.4.0 (#4387)
Bumps [humantime](https://github.com/chronotope/humantime) from 2.3.0 to
2.4.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/chronotope/humantime/releases">humantime's
releases</a>.</em></p>
<blockquote>
<h2>2.4.0</h2>
<h2>What's Changed</h2>
<ul>
<li>feat: allow creating Duration in const context by <a
href="https://github.com/ctron"><code>@​ctron</code></a> in <a
href="https://redirect.github.com/chronotope/humantime/pull/70">chronotope/humantime#70</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/chronotope/humantime/commit/fc092817fa8689298eaac28ff49bd8bede4ff605"><code>fc09281</code></a>
chore: prepare release 2.4.0</li>
<li><a
href="https://github.com/chronotope/humantime/commit/8a022cce55a07da2be81721e7deaa5bd071add72"><code>8a022cc</code></a>
feat: allow creating Duration in const context</li>
<li><a
href="https://github.com/chronotope/humantime/commit/27a4f77519a436f4137d1c50ff2f3eb559292cfd"><code>27a4f77</code></a>
Explicitly set rust-version to 1.60</li>
<li><a
href="https://github.com/chronotope/humantime/commit/acc3c19658ecae06cf35467dfe03392a67dbf2b1"><code>acc3c19</code></a>
ci: upgrade to actions/checkout v7</li>
<li><a
href="https://github.com/chronotope/humantime/commit/3acf96bb886ebd16f9e2e8a37d7229e4bd30dd17"><code>3acf96b</code></a>
ci: fix workflow formatting</li>
<li>See full diff in <a
href="https://github.com/chronotope/humantime/compare/v2.3.0...v2.4.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-07-06 10:42:16 +02:00
Philipp Krüger 22cac742ca fix(iroh-relay): Improve relay protocol proptests & properly handle invalid messages (#4389)
## Description

- Adds an `ensure!` to make sure that we parse invalid client-to-relay
gracefully
- Adds a regression test for the above
- Improves proptests for parsing the protocol
- Moves to using `test_strategy` for proptests instead of the proptest
macro
- Renames some test functions to replace "server" with "relay" and
improve consistency

## Breaking Changes

None

## Notes

This is 99% test improvements, and a one-line fix.

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
- [x] Tests if relevant.
- [x] All breaking changes documented.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-03 12:10:00 +02:00
Franz Heinzmann c23446ce2e feat(relay): allow updating the per-client rate limit live (#4381)
## Description

Currently, in the relay server, the per-client receive rate limit is
fixed when a connection was accepted: `RelayService` stores the rate
limit config immutably, so changing the rate limit is only possible
through rebuilding the service and dropping its live connections.

This PR puts the rate behind a `watch` channel instead. Each accepted
connection subscribes a receiver, and `RateLimited` reconfigures its
bucket on the next read whenever the value changes.
`RelayService::set_client_rate_limit` is a new public function to change
the rate limit for this `RelayService`.

It uses `tokio:::sync::watch` and not `n0_watcher`, because checking
whether the rate limit changed is on the hot path (on each `poll_read`
of the underlying socket), and in tokio's watch channel, checking wether
the value changed is a single atomic load, whereas in n0_watcher,
checking if changed aquires a ReadLock.

## Breaking Changes

None. One API addition:
`iroh_relay::server::RelayService::set_client_rate_limit`.

## Notes & open questions

We need this in iroh services to update the rate limit for a project
once it reaches its spend cap. This will work because each tenant in the
multitenant relays is a `RelayService` each internally.

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
- [x] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [x] Tests if relevant.
- [x] All breaking changes documented.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-07-03 11:26:44 +02:00
Jordan McQueen 8e7819a909 fix(iroh): receive transport lanes fairness counter issue (#4384)
The receive scheduler is supposed to act like alternating traffic lanes,
but it only calculated the next lane order and never saved it. When two
lanes were ready, the same lane kept getting every poll.

Fixed by storing the incremented receive counter before choosing the
polling order. The scheduler now keeps its lane state and reverses order
every other poll.

The new integration-style unit test models two always-ready custom
transport lanes. Before the fix it failed with a 0/10,000 vs
10,000/10,000 split. After the fix it passes with a 5,000/5,000 split
for both selected lanes and actual poll counts.

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
- [x] Tests if relevant.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intended effect.
2026-07-02 12:13:35 +01:00
Jordan McQueenandFloris Bruynooghe 9541a6d135 fix(iroh-dns-server): DNS write benchmark measurement (#4382)
Measure only the DNS write loop in the Criterion benchmark.

The old benchmark used `b.iter`, so Criterion measured runtime creation,
config loading, server binding, client setup, packet creation, the
publish loop, and shutdown. It also republished the same signed packet
for every iteration.

This patch moves setup outside the measured duration, switches to
`iter_custom`, and generates distinct signed packets for the measured
publish batch. This makes `dns_server_writes` report write-path
throughput instead of setup-heavy duplicate-publish timing.

```text
   +-------+----------------------+----------------------+---------------------+----------------------+----------------------+--------------------------+
   | iters | before time (median) | after time (median)  | median time delta   | before throughput    | after throughput     | Criterion verdict        |
   +-------+----------------------+----------------------+---------------------+----------------------+----------------------+--------------------------+
   |    10 |            36.372 ms |             4.009 ms |  -32.363 ms / -89.0%|        274.93 elem/s |      2.494 Kelem/s   | improved, p < 0.05       |
   |   100 |            69.348 ms |            37.477 ms |  -31.871 ms / -46.0%|      1.442 Kelem/s   |      2.668 Kelem/s   | improved, p < 0.05       |
   |   250 |           113.170 ms |           102.680 ms |  -10.490 ms /  -9.3%|      2.209 Kelem/s   |      2.435 Kelem/s   | improved, p = 0.05       |
   |  1000 |           364.230 ms |           414.710 ms |  +50.480 ms / +13.9%|      2.746 Kelem/s   |      2.411 Kelem/s   | regressed, p < 0.05      |
   +-------+----------------------+----------------------+---------------------+----------------------+----------------------+--------------------------+
 ```

 Per-element view:

 ```text
   +-------+------------------------+------------------------+----------------------+
   | iters | before median / elem   | after median / elem    | interpretation       |
   +-------+------------------------+------------------------+----------------------+
   |    10 |            3637.20 us  |             400.91 us  | setup dominated old  |
   |   100 |             693.48 us  |             374.77 us  | setup still visible  |
   |   250 |             452.68 us  |             410.72 us  | closer to write path |
   |  1000 |             364.23 us  |             414.71 us  | unique writes cost   |
   +-------+------------------------+------------------------+----------------------+
 ```

## Change checklist

- [x] Self-review.
- [x] Tests if relevant.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intended effect.

Co-authored-by: Floris Bruynooghe <flub@n0.computer>
2026-07-01 15:22:21 +01:00
Franz Heinzmann d2a075fa5c tests(iroh): Regression test for transient Windows recv errors (#4348)
## Description

This adds a regression test for #4297 and other transient
Windows recv errors. See
https://github.com/n0-computer/net-tools/pull/166 for details.

The test used to fail on Windows, and passes with
https://github.com/n0-computer/net-tools/pull/166.

Fixes #4297

## Notes & open questions

Will need a release of `netwatch` (can be a patch release).

## 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-07-01 11:41:07 +02:00
Floris BruynoogheandFriedel Ziegelmayer 82b079263c chore: remove extensive breaking changes instructions (#4380)
## Description

Now that we're 1.0 we don't break things anymore, we can keep this
section shorter.

## Breaking Changes

none

## Notes & open questions

We could remove this entirely? Or maybe there needs to be a section
for API changes instead where it makes more sense to describe API
additions and deprecations?

## Change checklist

- [x] Self-review.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.

Co-authored-by: Friedel Ziegelmayer <me@dignifiedquire.com>
2026-06-29 12:59:37 +02:00
dignifiedquire 1ef462615e chore: Release v1.0.1 2026-06-29 12:38:47 +02:00
Floris BruynoogheandPhilipp Krüger 16ce16e885 docs(iroh): Improve description of QUIC streams (#4368)
## Description

This is an attempt to improve the inline docs for QUIC streams.

Aims to close #4277.

## Breaking Changes

none

## Notes & open questions

none

## Change checklist

- [x] Self-review.
- [x] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.

---------

Co-authored-by: Philipp Krüger <philipp.krueger1@gmail.com>
2026-06-29 12:28:23 +02:00
raeandFloris Bruynooghe 4c1194d3a8 doc(portmapping): add more context around portmapping config in docs (#4351)
## Description

Contributes to https://github.com/n0-computer/iroh/issues/4349

Some developers want to disable port mapping on macOS now, because users
might not want to see the firewall dialog and rather opt-in to it. We
then proactively highlighting this issue in the docs so developers are
aware.

## Breaking Changes
None 

## Notes & open questions

The original bug report also suggested changing the default globally,
but we want to preserve an out of the box experience that tries to reach
direct connections as quickly as possible so we will keep the default
the same.

## 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.
- [ ] 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: Floris Bruynooghe <flub@n0.computer>
2026-06-29 12:20:26 +02:00
Friedel Ziegelmayer 3b422bb783 chore: update deps to noq 1.0.1 and net-tools 0.19.1 (#4379) 2026-06-29 12:03:47 +02:00
Floris Bruynooghe fbfffe6d46 fix(logging): do not use span levels higher than info (#4375)
## Description

Users keep logging span entry and exit events and are than surprised
to see errors and warnings in their logs that aren't. We tried
re-educating users but it is a losing battle. Instead don't use these
levels in spans.

It does mean that we'll be more likely to miss vital span information
from a warning or error making such logs in isolation much less
useful. Maybe we'll have to get into a habit of repeating span
details in logs themselves, more likely we'll just encounter more
places where we have to ask to run with more logging. Info is a good
compromise for this: we haven't had users complain about span events
on info yes, despite having many of them. And it is not unreasonable
to log your production at info all the time, that is something we do
want to support so we do tweak logging there to be reasonable.

Closes #4374 

## Breaking Changes

none, logging is not part of any API or wire-stability contract.

## Notes & open questions

none

## Change checklist

- [x] Self-review.
2026-06-26 12:28:57 +01:00
Floris Bruynooghe e8fd487e10 fix(tests): longer timeout to avoid flakyness (#4376)
## Description

We keep getting occasional flakes in CI on the android emulator. 4s is
very short, give it a ton more time.

## Breaking Changes

none

## Notes & open questions

none

## Change checklist

- [x] Self-review.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-06-26 12:16:55 +01:00
Franz HeinzmannandFloris Bruynooghe 3b6dbd609f fix(iroh): add missing item for backwards compatibility (#4346)
## Description

#4300 renamed `iroh_relay::tls::CaRootsConfig` to `CaTlsConfig` with a
type alias preserving backwards compatiblity. However, the type alias
was not re-exported from `iroh::tls`, making this a
backwards-incompatible change between rc.1 and 1.0. This PR fixes it.

## Change checklist

- [x] Self-review.

Co-authored-by: Floris Bruynooghe <flub@n0.computer>
2026-06-25 14:20:41 +01:00
Franz Heinzmann 4c8e1a121d refactor(iroh-dns): use fallback nameservers if no JNI context is initialized (#4371)
## Description

On Android the default DNS resolver reads system DNS through JNI, which
panics if `ndk_context` was never initialized. Previously that panic was
only caught in debug builds, so a release app without a JNI context
would abort on its first lookup.

This PR changes it such that we always try to catch the panic, also in
release builds, and thus use the fallback DNS servers (hardcoded to
Google currently) if the JNI context was not initialized.

What remains ugly is that this depends on panic unwinding, so iroh will
still panic if no JNI context is set and the app is compiled with `panic
= "abort"`. Unfortunately there's no way around this currently, unless
we decide to not use `ndk_context` and provide our own initialization
function (ndk_context provides no way to return an error for unitialized
context, it panics unconditionally. I made a PR
https://github.com/rust-mobile/ndk-context/pull/4 but I don't expect it
to be merged, the crate seems unmaintained, which is quite unfortunate).

The PR also improves the documentation around the Android setup.

Fixes https://github.com/n0-computer/dumbpipe/issues/96 - this change
will iroh work in termux (with fallback resolvers, but that was always
the case).

## Breaking Changes

None.

## Notes & open questions

* This now actually aligns more to how we handle other platforms: If
reading the system configuration fails, we use the fallback servers.
* We might want to make the fallback behavior configurable, but that's
for another PR.

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
- [x] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [x] Tests if relevant.
- [x] All breaking changes documented.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-06-25 13:39:12 +02:00
Asmir Avdicevic 328ec77560 ci: fix semver package list (#4370) 2026-06-24 10:42:49 +02:00
Floris BruynoogheandPhilipp Krüger b4ec78e969 chore: update PR template to also ask for humans (#4367)
## Description

Given we did this for issues, maybe we also want it for PRs? I've
noticed more slow PRs to be fair. But I only care lightly about this,
it's not a full policy.

## Breaking Changes

none

## Notes & open questions

none

## Change checklist

- [x] Self-review.

Co-authored-by: Philipp Krüger <philipp.krueger1@gmail.com>
2026-06-23 11:43:42 +01:00
Lixin2026andFloris Bruynooghe 80548cef7a docs: update license links to HTTPS (#4365)
## Description

- Update Apache-2.0 and MIT license URLs in README files from HTTP to
HTTPS.
- Keep the local LICENSE links and license text unchanged.

## Breaking Changes

None.

## Notes & open questions

Docs-only change. Verified both HTTPS license URLs resolve successfully,
and ran `git diff --check`.

## Change checklist

- [x] Self-review.
- [x] Documentation updates following the style guide, if relevant.
- [x] Tests if relevant. Not applicable; link-only documentation update.
- [x] All breaking changes documented. No breaking changes.

Co-authored-by: Floris Bruynooghe <flub@n0.computer>
2026-06-23 09:31:47 +02:00
dependabot[bot] f52c3a9a79 chore(deps): bump the github-actions group across 1 directory with 2 updates (#4366)
Bumps the github-actions group with 2 updates in the / directory:
[actions/checkout](https://github.com/actions/checkout) and
[mozilla-actions/sccache-action](https://github.com/mozilla-actions/sccache-action).

Updates `actions/checkout` from 6 to 7
<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>v7.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>block checking out fork pr for pull_request_target and workflow_run
by <a href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2454">actions/checkout#2454</a></li>
<li>Bump actions/publish-immutable-action from 0.0.3 to 0.0.4 in the
minor-actions-dependencies group across 1 directory by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2458">actions/checkout#2458</a></li>
<li>Bump flatted from 3.3.1 to 3.4.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2460">actions/checkout#2460</a></li>
<li>Bump js-yaml from 4.1.0 to 4.2.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2461">actions/checkout#2461</a></li>
<li>Bump <code>@​actions/core</code> and
<code>@​actions/tool-cache</code> and Remove uuid by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2459">actions/checkout#2459</a></li>
<li>upgrade module to esm and update dependencies by <a
href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2463">actions/checkout#2463</a></li>
<li>Bump the minor-npm-dependencies group across 1 directory with 3
updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2462">actions/checkout#2462</a></li>
<li>getting ready for checkout v7 release by <a
href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2464">actions/checkout#2464</a></li>
<li>update error wording by <a
href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2467">actions/checkout#2467</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/2454">actions/checkout#2454</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v6.0.3...v7.0.0">https://github.com/actions/checkout/compare/v6.0.3...v7.0.0</a></p>
<h2>v6.0.3</h2>
<h2>What's Changed</h2>
<ul>
<li>Update changelog by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2357">actions/checkout#2357</a></li>
<li>fix: expand merge commit SHA regex and add SHA-256 test cases by <a
href="https://github.com/yaananth"><code>@​yaananth</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2414">actions/checkout#2414</a></li>
<li>Fix checkout init for SHA-256 repositories by <a
href="https://github.com/yaananth"><code>@​yaananth</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2439">actions/checkout#2439</a></li>
<li>Update changelog for v6.0.3 by <a
href="https://github.com/yaananth"><code>@​yaananth</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2446">actions/checkout#2446</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/yaananth"><code>@​yaananth</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/2414">actions/checkout#2414</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v6...v6.0.3">https://github.com/actions/checkout/compare/v6...v6.0.3</a></p>
<h2>v6.0.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Add orchestration_id to git user-agent when ACTIONS_ORCHESTRATION_ID
is set by <a
href="https://github.com/TingluoHuang"><code>@​TingluoHuang</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/2355">actions/checkout#2355</a></li>
<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>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v6.0.1...v6.0.2">https://github.com/actions/checkout/compare/v6.0.1...v6.0.2</a></p>
<h2>v6.0.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Update all references from v5 and v4 to v6 by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2314">actions/checkout#2314</a></li>
<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>
<li>Clarify v6 README by <a
href="https://github.com/ericsciple"><code>@​ericsciple</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2328">actions/checkout#2328</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v6...v6.0.1">https://github.com/actions/checkout/compare/v6...v6.0.1</a></p>
</blockquote>
</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>v7.0.0</h2>
<ul>
<li>Block checking out fork PR for pull_request_target and workflow_run
by <a href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2454">actions/checkout#2454</a></li>
<li>Bump actions/publish-immutable-action from 0.0.3 to 0.0.4 in the
minor-actions-dependencies group across 1 directory by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2458">actions/checkout#2458</a></li>
<li>Bump flatted from 3.3.1 to 3.4.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2460">actions/checkout#2460</a></li>
<li>Bump js-yaml from 4.1.0 to 4.2.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2461">actions/checkout#2461</a></li>
<li>Bump <code>@​actions/core</code> and
<code>@​actions/tool-cache</code> and Remove uuid by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2459">actions/checkout#2459</a></li>
<li>upgrade module to esm and update dependencies by <a
href="https://github.com/aiqiaoy"><code>@​aiqiaoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2463">actions/checkout#2463</a></li>
<li>Bump the minor-npm-dependencies group across 1 directory with 3
updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/actions/checkout/pull/2462">actions/checkout#2462</a></li>
</ul>
<h2>v6.0.3</h2>
<ul>
<li>Fix checkout init for SHA-256 repositories by <a
href="https://github.com/yaananth"><code>@​yaananth</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2439">actions/checkout#2439</a></li>
<li>fix: expand merge commit SHA regex and add SHA-256 test cases by <a
href="https://github.com/yaananth"><code>@​yaananth</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2414">actions/checkout#2414</a></li>
</ul>
<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>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/checkout/commit/9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0"><code>9c091bb</code></a>
update error wording (<a
href="https://redirect.github.com/actions/checkout/issues/2467">#2467</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/1044a6dea927916f2c38ba5aeffbc0a847b1221a"><code>1044a6d</code></a>
getting ready for checkout v7 release (<a
href="https://redirect.github.com/actions/checkout/issues/2464">#2464</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/f0282184c7ce73ab54c7e4ab5a617122602e575f"><code>f028218</code></a>
Bump the minor-npm-dependencies group across 1 directory with 3 updates
(<a
href="https://redirect.github.com/actions/checkout/issues/2462">#2462</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/d914b262ffc244530a203ab40decab34c3abf34d"><code>d914b26</code></a>
upgrade module to esm and update dependencies (<a
href="https://redirect.github.com/actions/checkout/issues/2463">#2463</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/537c7ef99cef6e5ddb5e7ff5d16d14510503801d"><code>537c7ef</code></a>
Bump <code>@​actions/core</code> and <code>@​actions/tool-cache</code>
and Remove uuid (<a
href="https://redirect.github.com/actions/checkout/issues/2459">#2459</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/130a169078a413d3a5246a393625e8e742f387f6"><code>130a169</code></a>
Bump js-yaml from 4.1.0 to 4.2.0 (<a
href="https://redirect.github.com/actions/checkout/issues/2461">#2461</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/7d09575332117a40b46e5e020664df234cd416f3"><code>7d09575</code></a>
Bump flatted from 3.3.1 to 3.4.2 (<a
href="https://redirect.github.com/actions/checkout/issues/2460">#2460</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/0f9f3aa320cb53abeb534aeb54048075d9697a0e"><code>0f9f3aa</code></a>
Bump actions/publish-immutable-action (<a
href="https://redirect.github.com/actions/checkout/issues/2458">#2458</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/f9e715a95fcd1f9253f77dd28f11e88d2d6460c7"><code>f9e715a</code></a>
block checking out fork pr for pull_request_target and workflow_run (<a
href="https://redirect.github.com/actions/checkout/issues/2454">#2454</a>)</li>
<li>See full diff in <a
href="https://github.com/actions/checkout/compare/v6...v7">compare
view</a></li>
</ul>
</details>
<br />

Updates `mozilla-actions/sccache-action` from 0.0.9 to 0.0.10
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mozilla-actions/sccache-action/releases">mozilla-actions/sccache-action's
releases</a>.</em></p>
<blockquote>
<h2>v0.0.10</h2>
<h2>What's Changed</h2>
<ul>
<li>Use tar on all platforms by <a
href="https://github.com/brianmichel"><code>@​brianmichel</code></a> in
<a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/193">Mozilla-Actions/sccache-action#193</a></li>
<li>Bump eslint-plugin-prettier from 5.2.3 to 5.2.5 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/196">Mozilla-Actions/sccache-action#196</a></li>
<li>Bump typescript from 5.7.2 to 5.8.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/195">Mozilla-Actions/sccache-action#195</a></li>
<li>Bump <code>@​types/node</code> from 22.13.0 to 22.13.17 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/194">Mozilla-Actions/sccache-action#194</a></li>
<li>Bump undici from 5.28.5 to 5.29.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/204">Mozilla-Actions/sccache-action#204</a></li>
<li>Bump eslint-config-prettier from 9.1.0 to 10.1.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/201">Mozilla-Actions/sccache-action#201</a></li>
<li>Bump ts-jest from 29.2.6 to 29.3.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/200">Mozilla-Actions/sccache-action#200</a></li>
<li>Bump eslint-plugin-prettier from 5.2.5 to 5.5.4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/221">Mozilla-Actions/sccache-action#221</a></li>
<li>Bump eslint-config-prettier from 10.1.2 to 10.1.8 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/214">Mozilla-Actions/sccache-action#214</a></li>
<li>Bump the github-actions group across 1 directory with 2 updates by
<a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/220">Mozilla-Actions/sccache-action#220</a></li>
<li>Add job id to annotation title by <a
href="https://github.com/wetheredge"><code>@​wetheredge</code></a> in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/212">Mozilla-Actions/sccache-action#212</a></li>
<li>Bump <code>@​actions/io</code> from 1.1.3 to 2.0.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/228">Mozilla-Actions/sccache-action#228</a></li>
<li>Bump eslint-plugin-import from 2.31.0 to 2.32.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/227">Mozilla-Actions/sccache-action#227</a></li>
<li>Bump actions/setup-node from 5 to 6 in the github-actions group by
<a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/226">Mozilla-Actions/sccache-action#226</a></li>
<li>Bump <code>@​actions/github</code> from 6.0.0 to 6.0.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/233">Mozilla-Actions/sccache-action#233</a></li>
<li>Bump minimatch by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/239">Mozilla-Actions/sccache-action#239</a></li>
<li>Bump actions/checkout from 5 to 6 in the github-actions group by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/232">Mozilla-Actions/sccache-action#232</a></li>
<li>Bump ts-jest from 29.3.2 to 29.4.6 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/240">Mozilla-Actions/sccache-action#240</a></li>
<li>Bump to <code>node24</code> by <a
href="https://github.com/cakebaker"><code>@​cakebaker</code></a> in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/245">Mozilla-Actions/sccache-action#245</a></li>
<li>Bump flatted from 3.3.1 to 3.4.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/248">Mozilla-Actions/sccache-action#248</a></li>
<li>Bump picomatch from 2.3.1 to 2.3.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/249">Mozilla-Actions/sccache-action#249</a></li>
<li>Bump handlebars from 4.7.8 to 4.7.9 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/250">Mozilla-Actions/sccache-action#250</a></li>
<li>Fix code block formatting in README.md by <a
href="https://github.com/baseplate-admin"><code>@​baseplate-admin</code></a>
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/246">Mozilla-Actions/sccache-action#246</a></li>
<li>Bump js-yaml from 3.14.1 to 3.14.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/231">Mozilla-Actions/sccache-action#231</a></li>
<li>prepare version 0.0.10 by <a
href="https://github.com/sylvestre"><code>@​sylvestre</code></a> in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/251">Mozilla-Actions/sccache-action#251</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/brianmichel"><code>@​brianmichel</code></a>
made their first contribution in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/193">Mozilla-Actions/sccache-action#193</a></li>
<li><a
href="https://github.com/wetheredge"><code>@​wetheredge</code></a> made
their first contribution in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/212">Mozilla-Actions/sccache-action#212</a></li>
<li><a
href="https://github.com/baseplate-admin"><code>@​baseplate-admin</code></a>
made their first contribution in <a
href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/246">Mozilla-Actions/sccache-action#246</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/Mozilla-Actions/sccache-action/compare/v0.0.9...v0.0.10">https://github.com/Mozilla-Actions/sccache-action/compare/v0.0.9...v0.0.10</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/9e7fa8a12102821edf02ca5dbea1acd0f89a2696"><code>9e7fa8a</code></a>
Merge pull request <a
href="https://redirect.github.com/mozilla-actions/sccache-action/issues/251">#251</a>
from sylvestre/ver</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/3ca012d1e0c8c9f363fd709c2a022f9d0c3d6f85"><code>3ca012d</code></a>
prepare version 0.0.10</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/7cf164359ee744609be2e8d4e59b7b4473ba6ffb"><code>7cf1643</code></a>
Merge pull request <a
href="https://redirect.github.com/mozilla-actions/sccache-action/issues/231">#231</a>
from Mozilla-Actions/dependabot/npm_and_yarn/js-yaml-...</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/b2be80214f85674195e711d442be22eb18fbbcb9"><code>b2be802</code></a>
Merge pull request <a
href="https://redirect.github.com/mozilla-actions/sccache-action/issues/246">#246</a>
from baseplate-admin/patch-1</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/84812a50fb0ca74b852818a3cfe4d0f8a7e4c15a"><code>84812a5</code></a>
Merge pull request <a
href="https://redirect.github.com/mozilla-actions/sccache-action/issues/250">#250</a>
from Mozilla-Actions/dependabot/npm_and_yarn/handleba...</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/4e283182f1d6aa05fb561228d8904773db2ff12e"><code>4e28318</code></a>
Merge pull request <a
href="https://redirect.github.com/mozilla-actions/sccache-action/issues/249">#249</a>
from Mozilla-Actions/dependabot/npm_and_yarn/picomatc...</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/cfa813ebe3578b37ef0887b18e687d25be872c6e"><code>cfa813e</code></a>
Merge pull request <a
href="https://redirect.github.com/mozilla-actions/sccache-action/issues/248">#248</a>
from Mozilla-Actions/dependabot/npm_and_yarn/flatted-...</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/ef3762b447d7b4f49d5ffa178b103427dbb0b08b"><code>ef3762b</code></a>
Merge pull request <a
href="https://redirect.github.com/mozilla-actions/sccache-action/issues/245">#245</a>
from cakebaker/bump_to_node24</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/919bfb6881255cec28fda6ade2b0deedb5273356"><code>919bfb6</code></a>
Bump handlebars from 4.7.8 to 4.7.9</li>
<li><a
href="https://github.com/Mozilla-Actions/sccache-action/commit/167904be3a121ef63c7eba0472d6bb5475f2c4b9"><code>167904b</code></a>
Bump picomatch from 2.3.1 to 2.3.2</li>
<li>Additional commits viewable in <a
href="https://github.com/mozilla-actions/sccache-action/compare/v0.0.9...v0.0.10">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-06-22 13:34:38 +02:00
Asmir Avdicevic 75d1f72960 chore(ci): route Windows jobs to Blacksmith overflow (#4357)
Mirror the Linux Blacksmith overflow setup for Windows CI jobs.

Limited to 4 nodes for spillover vs 10 on linux.
2026-06-22 13:14:56 +02:00
Philipp KrügerandFranz Heinzmann ff2f101bfc test(iroh): Test holepunching with 16 interfaces (#4336)
## Description

I ran tests that check for holepunching with one interface working for
holepunching among 16 configured interfaces in a loop 300 times, and
they didn't fail once. We should probably expect this to not regress or
be flaky.

Also added a version of these tests with 32 interfaces. These tests
consistently fail, so they're behind an `#[ignore]` annotation for now.

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.

---------

Co-authored-by: Franz Heinzmann <frando@unbiskant.org>
2026-06-22 10:13:20 +02:00
Floris Bruynooghe 255a939b1a fix(docs): Fix keep-alive docs (#4352)
## Description

This simply fixes the docs to fix #4350.

## Breaking Changes

n/a

## Notes & open questions

The values and interactions of these keep alive and idle timers are
still a bit messy. They need to be cleaned up in noq first though. But
we're also limited now that everything is 1.0.

## 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.
2026-06-17 17:39:51 +02:00
Lorenz Leutgeb 777169a15e docs(iroh-dns-server): Fix link to production config file (#4353)
Trivial fix to refer to the correct example configuration file.
2026-06-17 14:36:37 +02:00
dignifiedquire 6520cd6c9b chore: Release v1.0.0 2026-06-15 14:50:05 +02:00
Friedel ZiegelmayerandFrando b193191c92 feat!: update to 1.0 dependencies (#4343)
also cleans up some dependencies and updates staging relay urls

Co-authored-by: Frando <frando@unbiskant.org>
2026-06-15 14:38:11 +02:00
Franz Heinzmann 0e7e976e03 chore: use install-action instead of binstall directly (#4342)
## Description

Uses https://github.com/taiki-e/install-action/ instead of binstall
directly. This also passes `--force` which hopefully fixes the
occasional failures we had with binstall apparently not installing for
real.
2026-06-15 12:40:55 +02:00
Floris Bruynooghe a134dd8e47 chore: Update the issue templates a little (#4340)
## Description

- Add a type.
- Skip the redundant "bug: " prefix in the description.
- Ask for trace logs instead of debug.
- Remove the default.md because github already offers the "empty" one
 which is the same and is a bit confusing right.

## Breaking Changes

n/a

## Notes & open questions

n/a

## Change checklist

- [x] Self-review.
2026-06-15 11:39:03 +02:00
Franz Heinzmann 5791244385 fix(iroh): add missing export for unstable-custom-transport and improve docs (#4335)
## Description

The `unstable-custom-transport` feature enables custom transport and
custom path selection. For the latter, we were missing an export of
`FourTuple` used in the then-public `PathSelector` trait.

Also adds a warning that these APIs are unstable.

## 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-06-15 10:35:04 +02:00
Franz Heinzmann 7e95ae751f refactor(iroh): gate net_report API behind unstable-net-report feature (#4338)
## Description

We have a `doc_hidden` functions `Endpoint::net_report` and
`Endpoint::last_net_report`. This PR put `iroh::Endpoint::net_report`
behind a new feature `unstable-net-report` instead, together with the
items exposed via these functions (i.e. `NetReport` and contained
items).

Also marked the `NetReport` and `Probe` items as `non_exhaustive`, and
removes `iroh::Endpoint::last_net_report` to keep the unstable API
surface small (you can just call `Endpoint::net_report().get()` to get
the latest net report).

## Breaking Changes

None, because we don't consider the previous `doc(hidden)` API as public
API.

Listing the changes nevertheless here (but not marking the PR as
breaking):
* changed: `iroh::Endpoint::net_report` is now gated behind
`unstable-net-report` feature
* removed: `iroh::Endpoint::last_net_report`. Use
`iroh::Endpoint::net_report().get()` instead.
* removed: `iroh::NetReport`. it is now available only with the
`unstable-net-report` feature under
`iroh::unstable_net_report::NetReport`

## 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-06-15 10:18:16 +02:00
Franz Heinzmann 9afd2bc198 feat(iroh-relay): Allow multiple hostnames with Let's encrypt TLS (#4337)
## Description

This allows to set `hostname = ["relay.foo.org", "relay.bar.org"]` in
the iroh-relay TOML config.
Setting a single string like previously, `hostname = "relay.foo.org"` ,
is still accepted as well, so this is not a breaking change to config
formats.

It also adds enviroment variables to override the ACME directory URL to
allow using the ACME adaptor with other servers than letsencrypt.

Finally, this adds a test script that tests the setup with a
locally-running `pebble` ACME server. I confirmed locally that it works.
Not sure if we want to run it in CI as well.

## Breaking Changes

<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->

## Notes & open questions

<!-- Any notes, remarks or open questions you have to make about the PR.
-->

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
- [x] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [x] Tests if relevant.
2026-06-15 09:15:43 +02:00
Friedel Ziegelmayer 8e25ecb30f feat: update relay urls to 1.0 stable (#4341) 2026-06-14 19:02:11 +02:00
dependabot[bot] b0fcd4012c chore(deps): bump mainline from 6.2.0 to 7.0.0 (#4331)
Bumps [mainline](https://github.com/pubky/mainline) from 6.2.0 to 7.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pubky/mainline/releases">mainline's
releases</a>.</em></p>
<blockquote>
<h2>v7.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>refactor(rpc): simplify put query completion by <a
href="https://github.com/andrei-21"><code>@​andrei-21</code></a> in <a
href="https://redirect.github.com/pubky/mainline/pull/103">pubky/mainline#103</a></li>
<li>feat(async)!: return PUT outcome from raw put by <a
href="https://github.com/andrei-21"><code>@​andrei-21</code></a> in <a
href="https://redirect.github.com/pubky/mainline/pull/105">pubky/mainline#105</a></li>
<li>fix(rpc)!: stop GET queries from echoing pending PUTs by <a
href="https://github.com/andrei-21"><code>@​andrei-21</code></a> in <a
href="https://redirect.github.com/pubky/mainline/pull/106">pubky/mainline#106</a></li>
<li>feat(dht): add detailed mutable GET outcome by <a
href="https://github.com/andrei-21"><code>@​andrei-21</code></a> in <a
href="https://redirect.github.com/pubky/mainline/pull/107">pubky/mainline#107</a></li>
<li>feat(async)!: return <code>PutOutcome</code> from mutable puts by <a
href="https://github.com/andrei-21"><code>@​andrei-21</code></a> in <a
href="https://redirect.github.com/pubky/mainline/pull/109">pubky/mainline#109</a></li>
<li>feat(dht): deprecate blocking operations by <a
href="https://github.com/andrei-21"><code>@​andrei-21</code></a> in <a
href="https://redirect.github.com/pubky/mainline/pull/110">pubky/mainline#110</a></li>
<li>chore: v7.0.0 by <a
href="https://github.com/andrei-21"><code>@​andrei-21</code></a> in <a
href="https://redirect.github.com/pubky/mainline/pull/111">pubky/mainline#111</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/pubky/mainline/compare/v6.2.0...v7.0.0">https://github.com/pubky/mainline/compare/v6.2.0...v7.0.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pubky/mainline/blob/main/CHANGELOG.md">mainline's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/pubky/mainline/compare/v6.2.0...v7.0.0">7.0.0</a>
- 2026-06-08</h2>
<h3>Added</h3>
<ul>
<li>Add <code>PutOutcome</code> to report the target and number of DHT
nodes that acknowledged a successful PUT.</li>
<li>Add <code>AsyncDht::get_mutable_detailed()</code> with
<code>GetMutableOutcome</code> diagnostics for queried nodes, valid
values, empty responses, invalid responses, KRPC errors, and
timeouts.</li>
</ul>
<h3>Changed</h3>
<ul>
<li><strong>BREAKING</strong>: <code>AsyncDht::put()</code> now returns
<code>PutOutcome</code> instead of a raw <code>Id</code>.</li>
<li><strong>BREAKING</strong>: <code>AsyncDht::put_mutable()</code> now
returns <code>PutOutcome</code> instead of a raw <code>Id</code>.</li>
<li>Mutable GET queries no longer echo locally pending mutable PUT
values; GET results now only come from DHT node responses.</li>
</ul>
<h3>Deprecated</h3>
<ul>
<li>Deprecate blocking <code>Dht</code> operation methods and
<code>GetIterator</code>; use the async API via
<code>Dht::as_async()</code> instead.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pubky/mainline/commit/e77f8060a947736a9f97d4f3001ad1b871f7bb29"><code>e77f806</code></a>
chore: v7.0.0 (<a
href="https://redirect.github.com/pubky/mainline/issues/111">#111</a>)</li>
<li><a
href="https://github.com/pubky/mainline/commit/8e777bc18b3d0958f646fe29895f33ff65490cb4"><code>8e777bc</code></a>
feat(dht): deprecate blocking operations (<a
href="https://redirect.github.com/pubky/mainline/issues/110">#110</a>)</li>
<li><a
href="https://github.com/pubky/mainline/commit/83252185cd1997c9ddee2bc6342d7243d40ded21"><code>8325218</code></a>
feat(async)!: return <code>PutOutcome</code> from mutable puts (<a
href="https://redirect.github.com/pubky/mainline/issues/109">#109</a>)</li>
<li><a
href="https://github.com/pubky/mainline/commit/1e38626a7d020e68f5df5ecead8245001d5a60ec"><code>1e38626</code></a>
feat(dht): add detailed mutable GET outcome (<a
href="https://redirect.github.com/pubky/mainline/issues/107">#107</a>)</li>
<li><a
href="https://github.com/pubky/mainline/commit/285c1fcf2f7bd5bba0b8836fb32890321426277e"><code>285c1fc</code></a>
fix(rpc)!: stop GET queries from echoing pending PUTs (<a
href="https://redirect.github.com/pubky/mainline/issues/106">#106</a>)</li>
<li><a
href="https://github.com/pubky/mainline/commit/96606a9a17d516a096c3494c3b1ef5a4e4cd8b88"><code>96606a9</code></a>
feat(async)!: return PUT outcome from raw put (<a
href="https://redirect.github.com/pubky/mainline/issues/105">#105</a>)</li>
<li><a
href="https://github.com/pubky/mainline/commit/e81c8a1048f1bed4951f9f765a522fc6021bc949"><code>e81c8a1</code></a>
refactor(rpc): simplify put query completion (<a
href="https://redirect.github.com/pubky/mainline/issues/103">#103</a>)</li>
<li>See full diff in <a
href="https://github.com/pubky/mainline/compare/v6.2.0...v7.0.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-06-12 12:18:10 +02:00
Franz Heinzmann 710d03a634 docs(iroh): improve readme (#4329)
## Description

The [README of the iroh
crate](https://github.com/n0-computer/iroh/tree/main/iroh) is the first
thing people see on https://crates.io/crates/iroh or
https://lib.rs/iroh, and we should improve it.

Right now it mostly talks about structured events, which is a very minor
thing in the grand scheme of things. And it has no code example.

This PR improves the README. Happy to discuss or iterate.
2026-06-11 16:13:45 +02:00
Philipp Krüger 2f41f406e8 chore(iroh): Update to latest noq main (#4333)
## Description

Updates to the latest noq main, especially due to this bug fix:
https://github.com/n0-computer/noq/pull/695

That fix makes `switch_client_dual_to_v4` non-flaky.

## Breaking Changes

None

## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
2026-06-11 15:59:31 +02:00
Franz Heinzmann 01e74bc1ec docs: general cleanup and fixes (#4328)
## Description

This is a cleanup pass over all docs of public items. Fixes typos, odd
grammar, non-adherence to doc guidelines, and other minor things.
2026-06-11 14:31:59 +02:00
400264e319 feat(iroh-relay): Add Bearer token access control without an external service (#4326)
## Description

This PR adds a new `AccessConfig::SharedToken(Vec<String>)` variant to
the `iroh-relay` configuration,
allowing self-hosted relays to require a shared bearer token from
connecting
clients, without using an external auth service.

- Clients authenticate via `Authorization: Bearer <token>` header or
`?token=` query param,
using the existing `RelayConfig::with_auth_token()` /
`RelayMap::with_auth_token()` API;
- Token can be set via config file (`access.shared_token = ["token-a",
"token-b"]`) or the
`IROH_RELAY_ACCESS_TOKEN` environment variable (**the env var takes
precedence**);
- Empty token is rejected at startup;
- A token set to the empty string, will make the server fail to start.

[See related
discussion](https://github.com/n0-computer/iroh/discussions/4316)

## Breaking Changes

None.

## Notes & open questions

- As we stated in the discussion, using an external service should
always be considered the best choice for production. The static token
variant is still useful for simpler deployments.
- Supported the token list in config, as suggested by fokx

## Change checklist
- [x] Self-review
- [x] Documentation updates
- [x] Tests

Co-authored-by: fokx <36614441+fokx@users.noreply.github.com>

---------

Co-authored-by: Franz Heinzmann <frando@unbiskant.org>
2026-06-11 14:13:56 +02:00
Floris BruynoogheandPhilipp Krüger a24e6a7fbc test: Mark a patchbay test as flaky (#4322)
## Description

This test is flaky because QAD fails to establish a connection within
3s due to the packet loss. At that point there's not relay server
until at least the next net-report which only runs after about 30s.

The right fix for this is for net-report to be more streaming instead
of running on a schedule. So iroh can respond to events from changed
network conditions properly.

## Breaking Changes

n/a

## Notes & open questions

See #4321 to track this.

## Change checklist

- [x] Self-review.

---------

Co-authored-by: Philipp Krüger <philipp.krueger1@gmail.com>
2026-06-11 13:42:11 +02:00
Rüdiger Klaehn 6406e077a9 feat: Allow configuring NetReport (#4020)
## Description

This allows us to disable captive portal checks and https probes on
esp32

## Breaking Changes

None

## Notes & open questions

Should we also allow for disabling QAD probes? I was thinking we leave
it for later. The config object is non-exhaustive.

## 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-06-11 12:56:41 +02:00
Franz Heinzmann 33a92f13cf deps: update ed25519-dalek and curve25519-dalek (#4324)
## Description

Updates `ed25519-dalek` to `=3.0.0-rc.0` and `curve25519-dalek` to
`=5.0.0-rc.0`. Not sure if the final release will be made in time. We
can do a minor release though once the final version comes out. It will
be "semi-breaking" but there's nothing we can do about it then (builds
will break for people who have `=3.0.0-rc.0` in their *own* Cargo.toml).
2026-06-11 11:58:05 +02:00
Franz Heinzmann 95111f0c88 chore: update check-external-types (#4323)
## Description

Updates `check-external-types` to the latest version and adapt nightly
toolchain. Also don't use cargo-make's auto-install feature.
2026-06-11 11:18:44 +02:00
Rüdiger Klaehn ba81a72535 fix(iroh): add global address validation token store (#4317)
## Description

This makes the validation token store global for the endpoint. Before it
was recreated on each connection, which defeats the purpose of the
mechanism.

I had to do this to make the example in my blog post (
https://github.com/n0-computer/iroh.computer/pull/464 ) work at all.

For context: This is the client side store for NEW_TOKEN address
validation tokens that need to be presented on new connections for the
mechanism to work.

The mechanism is currently disabled on the **server side** because we
don't set the "bloom" feature flag on noq-proto ( noq-proto = { version
= "=1.0.0-rc.1", default-features = false } ). So if we connect to iroh
nodes with default features we *never* store any tokens because we never
get any.

## Breaking Changes

None

## Notes & open questions

Note: this whole thing feels weird. Since NEW_TOKEN tokens are of very
little utility for iroh connections (reason see blog post) I would
prefer if we would really disable the mechanism both on the client side
and the server side.

To do that I would like to move from the current approach of `Arc<dyn
TokenStore>` with a noop impl `NoneTokenStore` to an `Option<Arc<dyn
TokenStore>>` which is just `None` if the mechanism is disabled. The
same for the server side where we have `Arc<dyn TokenLog>` and
`NoneTokenLog`.

Note: we *can* change this without breaking the public API, but that
means that we still keep the NoneXXX impls around. See
https://github.com/n0-computer/noq/tree/rklaehn/refactor-token-log-2 .
But then ideally you would want to remove them and also provide an
option via the builder to disable them, which would be a public API
change.

Disabling it by default would mean that we would need a new public API
to enable it on the client side. This would be used rarely, only in
cases where you care about 0-rtt *and* payloads for 0-rtt that are big
enough to exceed the 3x amplification limit. I got some real world use
cases for this that I personally care about, involving a DHT, but most
iroh users would never have to touch this.

Note: when I say we should disable this by default I mean in iroh. In
noq as a generic QUIC impl this makes more sense to enable since normal
client server QUIC connections frequently have long cert chains that
exceed the amplification limit. Again, for context see the blog post
draft.

## 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-06-11 09:00:29 +02:00