mirror of
https://github.com/n0-computer/iroh.git
synced 2026-11-30 00:01:16 +00:00
2ed94c8a14e151d19ebec2946da2f61c93ca2dc8
2605
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
2ed94c8a14 |
refactor(iroh): simplify datagram send code and test setup (#4525)
## Description Follow-up to #4512, addressing the review feedback. - Use `SmallVec` for datagram send targets. - Remove the redundant explicit drop of `send_tasks`. - Move tests and test-only constructors into private test modules. - Keep the loopback configuration in the calling test and use a `/8` prefix. The send deadline and concurrency limit remain unchanged. Validation on macOS: - 43 socket tests passed. - Clippy passed with warnings denied. - `cargo +nightly make format-check` passed. @flub Thank you for the review! This addresses your feedback on #4512. Could you take another look when you have time? ## API Changes None ## Notes & open questions None ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All API changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
ec04e273f9 |
chore(deps): bump tower-http from 0.6.11 to 0.7.1 (#4520)
Bumps [tower-http](https://github.com/tower-rs/tower-http) from 0.6.11 to 0.7.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tower-rs/tower-http/releases">tower-http's releases</a>.</em></p> <blockquote> <h2>tower-http-0.7.1</h2> <h2>Added</h2> <ul> <li><code>fs</code>: add <code>ServeDir::redirect_to_trailing_slash()</code> to serve directory indexes directly instead of first redirecting to the trailing-slash path. The redirect remains the default (<a href="https://redirect.github.com/tower-rs/tower-http/issues/728">#728</a>)</li> <li><code>fs</code>: add <code>ignore_multi_range_requests()</code> to <code>ServeDir</code> and <code>ServeFile</code>, serving the full representation when a request asks for multiple byte ranges. The existing <code>416 Range Not Satisfiable</code> response remains the default (<a href="https://redirect.github.com/tower-rs/tower-http/issues/727">#727</a>)</li> <li><code>request-id</code>: the constructors and accessors on the request-id layers, services, and <code>RequestId</code> are now <code>const fn</code>, so they can be used in const context (<a href="https://redirect.github.com/tower-rs/tower-http/issues/716">#716</a>)</li> </ul> <h2>Changed</h2> <ul> <li><code>fs</code>: the minimum <code>http-range-header</code> requirement is now 0.4.2 (<a href="https://redirect.github.com/tower-rs/tower-http/issues/661">#661</a>)</li> </ul> <h2>Fixed</h2> <ul> <li><strong>behavioral change:</strong> <code>fs</code>: make <code>ServeDir::try_call</code> propagate expected filesystem I/O errors when no fallback is configured, as documented, instead of converting them to <code>404 Not Found</code> responses (<a href="https://redirect.github.com/tower-rs/tower-http/issues/718">#718</a>)</li> <li><code>decompression</code>: don't end the body when a data frame with no remaining bytes arrives after the decompressor reports end-of-stream. Trailers following such a frame were dropped and could not be recovered (<a href="https://redirect.github.com/tower-rs/tower-http/issues/722">#722</a>)</li> <li><code>decompression</code>: return a body error when a data frame with remaining bytes arrives after the decompressor reports end-of-stream, rather than silently truncating. This regressed in 0.7.0 (<a href="https://redirect.github.com/tower-rs/tower-http/issues/712">#712</a>)</li> <li><code>fs</code>: multipart range requests are now rejected before range validation, so they consistently return <code>416 Range Not Satisfiable</code> with a <code>Cannot serve multipart range requests</code> body instead of a generic unsatisfiable-range response (<a href="https://redirect.github.com/tower-rs/tower-http/issues/661">#661</a>)</li> <li><code>fs</code>: range error responses no longer carry representation headers such as <code>Content-Type</code> and <code>Content-Encoding</code> (<a href="https://redirect.github.com/tower-rs/tower-http/issues/727">#727</a>)</li> <li><code>set-header</code>: <code>SetMultipleResponseHeadersLayer</code> and <code>SetMultipleResponseHeader</code> are now <code>Clone</code> regardless of the response body type, matching the fix applied to the request-side types in 0.7.0 (<a href="https://redirect.github.com/tower-rs/tower-http/issues/714">#714</a>)</li> </ul> <p><a href="https://redirect.github.com/tower-rs/tower-http/issues/661">#661</a>: <a href="https://redirect.github.com/tower-rs/tower-http/pull/661">tower-rs/tower-http#661</a> <a href="https://redirect.github.com/tower-rs/tower-http/issues/712">#712</a>: <a href="https://redirect.github.com/tower-rs/tower-http/pull/712">tower-rs/tower-http#712</a> <a href="https://redirect.github.com/tower-rs/tower-http/issues/714">#714</a>: <a href="https://redirect.github.com/tower-rs/tower-http/pull/714">tower-rs/tower-http#714</a> <a href="https://redirect.github.com/tower-rs/tower-http/issues/716">#716</a>: <a href="https://redirect.github.com/tower-rs/tower-http/pull/716">tower-rs/tower-http#716</a> <a href="https://redirect.github.com/tower-rs/tower-http/issues/718">#718</a>: <a href="https://redirect.github.com/tower-rs/tower-http/pull/718">tower-rs/tower-http#718</a> <a href="https://redirect.github.com/tower-rs/tower-http/issues/722">#722</a>: <a href="https://redirect.github.com/tower-rs/tower-http/pull/722">tower-rs/tower-http#722</a> <a href="https://redirect.github.com/tower-rs/tower-http/issues/727">#727</a>: <a href="https://redirect.github.com/tower-rs/tower-http/pull/727">tower-rs/tower-http#727</a> <a href="https://redirect.github.com/tower-rs/tower-http/issues/728">#728</a>: <a href="https://redirect.github.com/tower-rs/tower-http/pull/728">tower-rs/tower-http#728</a></p> <h2>All the changes</h2> <ul> <li>chore(deps): bump actions/checkout from 6 to 7 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/tower-rs/tower-http/pull/708">tower-rs/tower-http#708</a></li> <li>fix(compression): reject non-empty data frames after codec is EOF by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/tower-rs/tower-http/pull/712">tower-rs/tower-http#712</a></li> <li>Remove Clone derivations from SetMultipleResponseHeader* types by <a href="https://github.com/skeet70"><code>@skeet70</code></a> in <a href="https://redirect.github.com/tower-rs/tower-http/pull/714">tower-rs/tower-http#714</a></li> <li>feat(request-id): Allow request-id constructor in const context by <a href="https://github.com/tottoto"><code>@tottoto</code></a> in <a href="https://redirect.github.com/tower-rs/tower-http/pull/716">tower-rs/tower-http#716</a></li> <li>fs: Avoid unnecessary conversions between SystemTime and HttpDate by <a href="https://github.com/tottoto"><code>@tottoto</code></a> in <a href="https://redirect.github.com/tower-rs/tower-http/pull/717">tower-rs/tower-http#717</a></li> <li>fs: Use HeaderValue::is_empty to check for empty values by <a href="https://github.com/tottoto"><code>@tottoto</code></a> in <a href="https://redirect.github.com/tower-rs/tower-http/pull/720">tower-rs/tower-http#720</a></li> <li>fs: Use HeaderValue::to_str for date headers by <a href="https://github.com/tottoto"><code>@tottoto</code></a> in <a href="https://redirect.github.com/tower-rs/tower-http/pull/721">tower-rs/tower-http#721</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tower-rs/tower-http/commit/c9414514a421b07b6520e040a3fd6a579b0c5e1b"><code>c941451</code></a> chore(release): prepare 0.7.1 (<a href="https://redirect.github.com/tower-rs/tower-http/issues/729">#729</a>)</li> <li><a href="https://github.com/tower-rs/tower-http/commit/9697702412f50dba61962d06d0436376a1e5a435"><code>9697702</code></a> chore(deps): bump taiki-e/install-action from 2.86.3 to 2.86.8 (<a href="https://redirect.github.com/tower-rs/tower-http/issues/730">#730</a>)</li> <li><a href="https://github.com/tower-rs/tower-http/commit/e2582e2fde4ef768caedc1377d07169480d07cc4"><code>e2582e2</code></a> Allow ignoring multi-range requests (<a href="https://redirect.github.com/tower-rs/tower-http/issues/727">#727</a>)</li> <li><a href="https://github.com/tower-rs/tower-http/commit/888f7fe6c6f9ee006a6d882723b1cba26601dbc3"><code>888f7fe</code></a> feat(services): configure directory redirects (<a href="https://redirect.github.com/tower-rs/tower-http/issues/728">#728</a>)</li> <li><a href="https://github.com/tower-rs/tower-http/commit/5ad76544ce0eb15cd8ac185bef846eb4a80233a4"><code>5ad7654</code></a> chore(deps): bump taiki-e/install-action from 2.85.12 to 2.86.3 (<a href="https://redirect.github.com/tower-rs/tower-http/issues/726">#726</a>)</li> <li><a href="https://github.com/tower-rs/tower-http/commit/d154adbace6abc98162620ea1b56d88629b40c91"><code>d154adb</code></a> fix: reject multipart ranges before validation (<a href="https://redirect.github.com/tower-rs/tower-http/issues/661">#661</a>)</li> <li><a href="https://github.com/tower-rs/tower-http/commit/d9e5c8a38d072e49f32b5602f5cca0b8d1402e05"><code>d9e5c8a</code></a> ci: Update to cargo-check-external-types 0.5.0 (<a href="https://redirect.github.com/tower-rs/tower-http/issues/724">#724</a>)</li> <li><a href="https://github.com/tower-rs/tower-http/commit/90c072b50eba4a47fe6b696416086c7e269bb3e9"><code>90c072b</code></a> Propagate ServeDir::try_call I/O errors (<a href="https://redirect.github.com/tower-rs/tower-http/issues/718">#718</a>)</li> <li><a href="https://github.com/tower-rs/tower-http/commit/860922e81da98f0813928816634b30a74cbbbb83"><code>860922e</code></a> fix(decompression): don't end the body on an empty data frame (<a href="https://redirect.github.com/tower-rs/tower-http/issues/722">#722</a>)</li> <li><a href="https://github.com/tower-rs/tower-http/commit/85322522af352a09a21ddc9dd147b4bfc122d979"><code>8532252</code></a> docs(example)/custom future with multiple bodies (<a href="https://redirect.github.com/tower-rs/tower-http/issues/711">#711</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tower-rs/tower-http/compare/tower-http-0.6.11...tower-http-0.7.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
26efd21ec5 |
feat(metrics): lookup/resolver stats (#4411)
## Description Adds counters to track lookup success rates and also tracks it by type of resolver. ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist <!-- Remove any that are not relevant. --> - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
b3b571e3dd |
refactor(iroh): Reduce log levels for connectivity issues (#4486)
## Description The relay server disappearing is not a warning. Changing network is totally normal operation for iroh. This reduces the logging levels when a relay server disappears: both from a relay actor losing connectivity as well as from net-report. ## Breaking Changes none, logs are not part of the api contract. ## Notes & open questions It could be argued that connecting/disconnecting from the home relay should be a single info message each time. But let's do that when it's nice to have. For now I'm just trying to get things to be less noisy. ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
887f180ab1 |
fix(iroh): keep the remote actor responsive during Initial sends (#4512)
## Description Fixes #4511 A full Relay send queue blocks the remote actor's inbox while it waits to send an Initial. Move these sends into actor-owned tasks and send to the selected destinations concurrently. Limit queued work to 16 tasks per peer with a three-second send deadline; QUIC handles retransmission of dropped Initials. Cancel and join remaining tasks on actor exit. The regression fills a real `RelaySender`'s 256-item queue and checks that `RemoteInfo` responds before the send deadline. Tests also cover an empty queue, shutdown, task expiry, the pending-work limit, and Direct delivery while Relay is blocked. An additional local experiment (not included in this PR) held a Relay send queue full for five seconds. Initial sends expired during congestion; after releasing the queue, the QUIC handshake completed and application data arrived successfully. Validation on macOS 26.6.2 arm64, Rust 1.97.0, against upstream `2b4de030ce5e0133f272871a76f0c685c63f552a`: ```sh cargo test --locked -p iroh --lib socket::remote_map # 19 passed cargo test --locked -p iroh --lib socket::tests::test_two_devices -- --nocapture # 5 passed: transfers, network changes, setup/teardown cargo clippy --locked -p iroh --lib --tests -- -D warnings cargo fmt --all -- --check ``` ## API Changes None. ## Notes & open questions None. ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All API changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
17c0612f80 | chore: Release v1.2.0 | ||
|
|
cb5d12b501 |
chore(*): upgrade to noq, noq-proto, noq-udp v1.3.0 (#4518)
### Description Upgrade the noq dependencies to the lastest minor version. |
||
|
|
f82eff5820 |
fix(ci): select the toolchain in the remaining hand-rolled rustup jobs (#4515)
## Description Follow-up to #4514, from the discussion in #4513: two more jobs install a Rust toolchain without selecting it, so every `cargo` call in them uses the runner image's rustup default. Both now set `RUSTUP_TOOLCHAIN` on the job. - `build_release` in `release.yml` — its `windows-latest` branch hand-rolls rustup (the rest of the matrix uses `dtolnay/rust-toolchain`), and hardcoded `stable` where the other branch passes `matrix.rust`. - `minimal-crates-windows` in `minimal-crates.yaml`. Neither was broken today: the release matrix is `rust: [stable]` and matches the image default, and `minimal-crates-windows` passes `cargo +nightly` explicitly. They're the same trap though — `rustup target add` in both acts on whichever toolchain is default rather than the one being installed. ## API Changes None, CI only. ## Notes & open questions - `minimal-crates-windows` keeps `cargo +nightly`, which outranks `RUSTUP_TOOLCHAIN`, so the env var only decides what the rustup calls act on. I left the `+nightly` in place rather than convert it. - Shell choice differs between the two on purpose. `minimal-crates.yaml` moves to `shell: bash` like #4514 did (same runner pool, where the sccache step already relies on bash). `release.yml` stays on pwsh with an explicit `$LASTEXITCODE` check: it's the shipping path, and I have no PowerShell here to verify a shell switch against. - The guard from #4514 (assert the active toolchain matches the request) is only in the bash job — I couldn't verify the PowerShell equivalent locally and the env var makes it redundant. - Neither workflow is exercisable from a fork: `release.yml` runs on tags, and first contribution from this fork means the runs need approval anyway. `zizmor --pedantic` over `.github/workflows` reports the same 104 findings before and after. I'm an agent posting from my own account (`n0-grookie`). Arqu asked for this in the PR linked above. ## Change checklist - [x] Self-review. - [ ] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [x] All API changes documented. - [ ] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. Co-authored-by: n0-grookie <322172879+n0-grookie@users.noreply.github.com> |
||
|
|
f2d8d4694b |
chore(ci): select the toolchain the Windows test jobs request (#4514)
## Description `build_and_test_windows` installs the requested toolchain but never selects it. `rustup toolchain default` is not a rustup subcommand, and pwsh steps don't check a command's exit status, so the line silently does nothing and every cargo call uses the runner image's rustup default. See #4513. Fixes #4513 ## API Changes None, CI only. ## Notes & open questions - `RUSTUP_TOOLCHAIN` on the job instead of `rustup default`: same effect without rewriting the default of a shared self-hosted runner for other jobs. Worth knowing that `dtolnay/rust-toolchain` does call `rustup default`, with `continue-on-error: true` ([#127](https://github.com/dtolnay/rust-toolchain/issues/127)), so it can fail to select and still pass. The nix jobs already use that action and are untouched here. - The step runs in bash so rustup failures fail the job, and asserts the active toolchain matches `matrix.rust`. - I could not run this: no Windows box locally, and first contribution from this fork means the runs need a maintainer to approve them. Checked against a real rustup (the guard's output forms), and `zizmor --pedantic` reports the same findings as upstream, none new. I'm an agent posting from my own account (`n0-grookie`), so the human box is unticked. Philipp reviewed the diagnosis and asked for the PR. ## Change checklist - [x] Self-review. - [ ] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [x] All API changes documented. - [ ] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. Co-authored-by: n0-grookie <322172879+n0-grookie@users.noreply.github.com> |
||
|
|
70c70db1e1 |
chore(deps): update der to 0.8.2 (#4516)
## Description `cargo deny check` fails on main: `der` 0.8.0 was yanked on crates.io and `deny.toml` sets `yanked = "deny"`, so the advisories audit errors out. ``` error[yanked]: detected yanked crate (try `cargo update -p der`) advisories FAILED, bans ok, licenses ok, sources ok ``` `cargo update -p der` moves it to 0.8.2, the newest in the 0.8 range. Lockfile only, one package; it comes in through `ed25519-dalek -> ed25519 -> pkcs8 -> der/spki`. ## API Changes None. ## Notes & open questions - Verified with cargo-deny 0.20.2 against the repo's `deny.toml`: `advisories FAILED` on 0.8.0, `advisories ok, bans ok, licenses ok, sources ok` on 0.8.2. 0.8.1 was released 2026-07-09 and 0.8.2 on 2026-09-05, so this has been red since 0.8.0 was yanked. - Patch bump within `^0.8`, so no requirement in the graph changes. I'm an agent posting from my own account (`n0-grookie`), at Philipp's request. ## Change checklist - [x] Self-review. - [ ] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [x] All API changes documented. - [ ] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. Co-authored-by: n0-grookie <322172879+n0-grookie@users.noreply.github.com> |
||
|
|
2b4de030ce |
feat(iroh-dns): Deprecate old nameserver builders (#4506)
## Description This deprecates the old nameserver config builders in favour of the new ones that are more consistent. ## API Changes - `iroh_dns::dns::Builder::with_nameserver` -> `add_nameserver` - `iroh_dns::dns::Builder::with_nameservers` -> `add_nameservers` The `iroh_dns::dns` module is also re-exported as `iroh::dns`. ## Notes & open questions - min-crates fails because it needs to select n0-dns-resolver which is not yet 3 days old. - I had to bump the version of iroh-dns to make the semver CI check happy. ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
7a561e6d70 |
chore: Update PR template for API changes (#4507)
## Description This aligns with a change started in noq: - Mention API changes rather than breaking changes. - Do not encourage to remote checkboxes. That leaves me guessing what the template *should* look like in each repo. ## Breaking Changes n/a ## Notes & open questions Equivalent noq pr: https://github.com/n0-computer/noq/pull/796 ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
1a68838b34 |
feat: Switch to n0-dns-resolver and make fallback nameservers configurable (#4419)
## Description This replaces our use of `hickory-resolver` with a new crate, [`n0-dns-resolver`](https://github.com/n0-computer/n0-dns-resolver). It is more lightweight, yet should cover all features we need. Being owned by us, it will also allow to tune things for our usecases better, if needed. The DNS resolver in `n0-dns-resolver` was built in a PR to iroh initially, see #4036. This PR supersedes #4036, which has the history of the new resolver. `n0-dns-resolver` has since been expanded slightly. It adds one feature: We now allow to configure a `FallbackMode`: On `main`, we would unconditionally fall back to using Google's nameservers if reading the system config fails. I never liked this, because it means that there's no way to configure iroh's DNS resolver to use system config, but never fall back to Google. So this adds a configuration (which is natively supported by n0-dns-resolver, which also includes a static list of DNS servers from Google, Cloudflare, Quad9): Use fallback only if system config cannot be loaded for whatever reason, or never use fallback, or use fallback as a deferred second tier of nameservers (if primary tier from system conf doesnt reply, use the fallback). The latter is the default now, and will make DNS resolution more reliable, as iroh will now survive a badly configured host system as long as IP connectivity to the fallback servers (UDP or TCP) exists. ## Breaking Changes None, this is all internal. ## Notes & open questions n0-dns-resolver still needs review scrutiny. It is reasonably small: Type | Code | Blank | Doc comments | Comments | Total -------------|--------------|--------------|--------------|--------------|------------- Main | **2116** | 299 | 888 | 147 | 3450 Tests | 1998 | 235 | 219 | 61 | 2513 Sum | 4114 | 534 | 1107 | 208 | 5963 i.e. around 6k lines in total, with 2.1k lines of Rust code (rest is tests, blanks, comments). `simple-dns` is the main dependency, but it is in our tree regardless. It has 6k rust code, 12k total. So both combined have 8k rust code, 18k total. Whereas `hickory-resolver`, `hickory-net`, `hickory-proto` combined have about 28k rust, 78k total, which explains the binary size reduction. #### Binary size savings Size comparison for a size-optimized release, a simple binary with iroh and tokio as only dependencies: ```toml [profile.release] strip = true opt-level = "z" # Optimize for size. lto = true panic = "abort" ``` `5.4MB` for `iroh` on `main` `4.8MB` for `iroh` patched to this PR So binary size savings of about 600KB or more than 10%. ## Change checklist <!-- Remove any that are not relevant. --> - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. --------- Co-authored-by: Rüdiger Klaehn <rklaehn@protonmail.com> Co-authored-by: Floris Bruynooghe <flub@n0.computer> |
||
|
|
8d2d9e78e3 |
feat(iroh): add RelayStatus::auth_denied_reason and example (#4501)
## Description This adds `RelayStatus::auth_denied_reason`, which returns `Some(reason_string)` if the last connection attempt to the relay failed with an authentication failure. We already have `RelayStatus::last_error`, which returns the type-erased error from the last connection as `AnyError`. While it is technically possible to downcast from that to the handshake error that it contains if we have an authentication failure, it is deeply nested in a chain of non-public errors, not covered by any semver guarantees, and hard to find out for users. Likely we should've added an error enum here instead so that we can add new variants, but that would be a breaking change. Most other errors are some kind of connection error anyway, which usually are enough to print and log. Authentication is different: You'd want to raise this to the user, because it will usually be the result of incorrect confirmation, expired tokens, or similar. This PR adds a simple way to do that. It also adds an example to show how to, and expands the docs around this. ## Breaking Changes None ## Notes & open questions Fixes #4433. Also: here's a screenshot of the output of the example when connecting to an authenticated relay without providing a token. First without tracing logs, second with `RUST_LOG=info`. <img width="1492" height="906" alt="Screenshot From 2026-09-02 10-08-32" src="https://github.com/user-attachments/assets/38b98e29-b484-4253-a52e-9f8b5e40c8b8" /> ## Change checklist <!-- Remove any that are not relevant. --> - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. --------- Co-authored-by: Floris Bruynooghe <flub@n0.computer> |
||
|
|
25811699c5 |
deps: Bump n0-error version, remove patch (#4500)
## Description This uses the new n0-error release instead of the patch from before. It also disables the "deny warnings" compiler options for the minimal-crates check. It seems we can not keep this empty of warnings without having to make our dependencies needlessly tight. ## Breaking Changes none ## Notes & open questions none ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
00e016afed |
refactor(iroh): Clean up mapped addresses constructions (#4498)
## Description This cleans up all the ways mapped addresses are constructed. They got out of hand with things moving all over the place and being duplicated. It was also too easy to silently violate some invariants. We still have some invariants that can be violated. This now logs them and returns the wrong results as before. The other option is to .expect() them. But they're being held across an extremely-long chain: noq will get fake addresses on poll_recv which then have to map back when the users asks for which addresses those are. ## Breaking Changes none ## Notes & open questions This also moves a block of tests around that got lost. This all started because the relay and custom addrs usage in the RemoteStateActor was getting wieldy. Turns out MappedAddrs already existed and we were starting to duplicate a lot. Initially this wasn't used there because this also includes the EndpointId-mapped addresses, which the RemoteStateActor does not need. But it seems better now to live with that bit of data access than build yet another struct with the other two maps. Though I could be convinced the latter is better. ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
cff1f7934b |
deps: Upgrade to non-yanked chacha20 version (#4499)
## Description Previous versions contained some UB. ## Breaking Changes none ## Notes & open questions Also uses https://github.com/n0-computer/n0-error/pull/61, n0-error needs a new release really. ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
3677ec6210 |
examples: Log line numbers in the transfer example (#4485)
## Description This makes reading logfiles so much more pleasant. ## Breaking Changes This is an example: none. ## Notes & open questions n/a ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
55e1d7bb41 |
chore(ci): Move minimal crates check out of tests (#4491)
## Description This moves the minimal crates check out of the tests. If it is in tests it is also run as part of the daily "flaky" tests run, which does not help. Not running those reduces the amount of useless CI work. Moved this to it's own workflow, the alternative would be to move it into the big "CI" workflow, which is kind of where it belongs. I only chose not to because it is already so big. But happy to move it there if preferred. There are some minor changes, especially in the windows flow job which was using the github ref and compiler versions as inputs before. ## Breaking Changes n/a ## Notes & open questions I tried to see if this could be limited to only changes to Cargo.toml & Cargo.lock files. But unfortunately any code chances could start using an API that invalidates a minimal crate version, so we're going to have to keep running this all the time. I think this is ready, however this check will fail for the next few days until our newly released crates are more than 3 days old. I'm a bit unhappy that cargo refuses to select an explicitly chosen version in the Cargo.toml file, to me it should only be for versions that would be automatically selected higher than those listed in the Cargo.toml file. ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. --------- Co-authored-by: Philipp Krüger <philipp.krueger1@gmail.com> |
||
|
|
fddf1a4ce2 | chore: Release v1.1.0 | ||
|
|
1960e73f14 |
chore(*): update noq and net-tools dependencies (#4487)
Depend on newly released net-tools and noq crates. |
||
|
|
2b9f441801 |
Merge commit from fork
* add smaller regression test * add fix * better wording * don't process the empty batch * remove whitespace * Keep processing datagram batches after one empty batch * Clarify comment --------- Co-authored-by: Diva Martínez <divma@protonmail.com> |
||
|
|
09a0aca1b6 |
fix(iroh): drain relay tasks with join_next instead of join_all (#4460)
## Description `RelayActor::close_all_active_relays` awaits its `ActiveRelayActor` tasks with `JoinSet::join_all` ([`actor.rs:1380`](https://github.com/n0-computer/iroh/blob/main/iroh/src/socket/transports/relay/actor.rs#L1380)). `join_all` panics on any `JoinError`, and a `JoinError` can mean the task was cancelled, not just that it panicked. So if an actor gets cancelled while this shutdown is running, it takes the calling runtime worker down with it. The `cancel_token.cancel()` on the line above isn't the source. That one is cooperative, so tasks awaiting it return `Ok`. What actually triggers this is an embedder dropping its tokio runtime while the shutdown is still in flight: tokio cancels whatever is left, and the join panics on the first one it sees. I hit it from a consumer that runs an iroh endpoint on its own runtime and drops it on close: ``` thread 'tokio-rt-worker' panicked at tokio-1.52.3/src/task/join_set.rs:453: task 149 was cancelled ``` Not fatal. The process still finished and flushed. But it's an unwrap-on-cancel in a path every consumer goes through on shutdown. ## Why join_next tokio documents the hazard and the fix on `join_all` itself: > If any tasks on the `JoinSet` fail with a `JoinError`, then this call to `join_all` will panic and all remaining tasks on the `JoinSet` are cancelled. To handle errors in any other way, manually call `join_next` in a loop. The drain is also how tokio implements `JoinSet::shutdown`, so it isn't a new pattern here. ## Test The second commit adds a test that fails on `main` and passes with the fix: ``` ---- close_all_active_relays_survives_a_cancelled_task stdout ---- panicked at tokio-1.53.1/src/task/join_set.rs:453:29: task 1 was cancelled ``` Same line of tokio as the report above. I didn't try to reproduce the original race. Dropping a runtime concurrently with shutdown would make the test flaky, which rather defeats the point of adding one. Cancelling the task gets the `JoinSet` into the same state anyway: `join_next` yields `Err(err)` with `err.is_cancelled()` either way. So the test targets how the set is awaited rather than the race that happens to expose it. It spawns a `pending()` future and aborts it. No `ActiveRelayActor`, no relay server, runs in 0.01s. ## Notes for review It can't stall shutdown. The only caller ([`actor.rs:1108`](https://github.com/n0-computer/iroh/blob/main/iroh/src/socket/transports/relay/actor.rs#L1108)) already wraps this in `time::timeout(Duration::from_secs(3), ...)`. This is the only `JoinSet::join_all` in the crate outside `#[cfg(test)]` code; the other call site is a test helper in `relay.rs`. The `n0_future::join_all` calls elsewhere are the futures combinator rather than the `JoinSet` method, and those don't panic. Behaviour on a genuine panic is unchanged in practice. `join_next` still yields the `Err`, and this function discards results either way, so nothing that used to be reported is now swallowed. A cancelled task just stops taking the worker with it. If you'd rather keep propagating real panics explicitly, I'm happy to `resume_unwind` on `err.is_panic()`. One thing I left alone: `n0_future`'s `cfg(wasm_browser)` `JoinSet` shim has its own `join_all` (`n0-future-0.3.2/src/task.rs:222`) with the same shape. Different crate, so I didn't touch it. Happy to file it separately if you think it's worth fixing. ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. (None, internal shutdown path only.) --------- Co-authored-by: Floris Bruynooghe <flub@n0.computer> |
||
|
|
eba4877195 |
chore(deps): bump taiki-e/install-action from 2.85.11 to 2.85.13 in the github-actions group (#4481)
Bumps the github-actions group with 1 update: [taiki-e/install-action](https://github.com/taiki-e/install-action). Updates `taiki-e/install-action` from 2.85.11 to 2.85.13 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/taiki-e/install-action/releases">taiki-e/install-action's releases</a>.</em></p> <blockquote> <h2>2.85.13</h2> <ul> <li> <p>Update <code>tombi@latest</code> to 1.3.3.</p> </li> <li> <p>Update <code>mise@latest</code> to 2026.8.5.</p> </li> <li> <p>Update <code>kingfisher@latest</code> to 1.113.0.</p> </li> <li> <p>Update <code>cargo-shear@latest</code> to 1.13.4.</p> </li> <li> <p>Update <code>bpf-linker@latest</code> to 0.11.0.</p> </li> </ul> <h2>2.85.12</h2> <ul> <li> <p>Update <code>zola@latest</code> to 0.23.3.</p> </li> <li> <p>Update <code>wasm-tools@latest</code> to 1.256.0.</p> </li> <li> <p>Update <code>tombi@latest</code> to 1.2.10.</p> </li> <li> <p>Update <code>syft@latest</code> to 1.51.0.</p> </li> <li> <p>Update <code>prek@latest</code> to 0.4.13.</p> </li> <li> <p>Update <code>mise@latest</code> to 2026.8.4.</p> </li> <li> <p>Update <code>editorconfig-checker@latest</code> to 3.11.1.</p> </li> <li> <p>Update <code>cargo-tarpaulin@latest</code> to 0.37.1.</p> </li> <li> <p>Update <code>cargo-rdme@latest</code> to 2.2.1.</p> </li> <li> <p>Update <code>biome@latest</code> to 2.5.8.</p> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md">taiki-e/install-action's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <p>All notable changes to this project will be documented in this file.</p> <p>This project adheres to <a href="https://semver.org">Semantic Versioning</a>.</p> <!-- raw HTML omitted --> <h2>[Unreleased]</h2> <h2>[2.86.4] - 2026-08-20</h2> <ul> <li> <p>Update <code>oxfmt@latest</code> to 1.79.0.</p> </li> <li> <p>Update <code>mise@latest</code> to 2026.8.8.</p> </li> <li> <p>Update <code>martin@latest</code> to 1.14.0.</p> </li> <li> <p>Update <code>dprint@latest</code> to 0.56.0.</p> </li> <li> <p>Update <code>cargo-about@latest</code> to 0.9.2.</p> </li> <li> <p>Update <code>biome@latest</code> to 2.5.9.</p> </li> </ul> <h2>[2.86.3] - 2026-08-18</h2> <ul> <li> <p>Update <code>prek@latest</code> to 0.4.14.</p> </li> <li> <p>Update <code>osv-scanner@latest</code> to 2.5.1.</p> </li> <li> <p>Update <code>cargo-llvm-cov@latest</code> to 0.9.0.</p> </li> </ul> <h2>[2.86.2] - 2026-08-17</h2> <ul> <li> <p>Update <code>uv@latest</code> to 0.12.5.</p> </li> <li> <p>Update <code>mise@latest</code> to 2026.8.6.</p> </li> <li> <p>Update <code>cargo-tarpaulin@latest</code> to 0.37.2.</p> </li> </ul> <h2>[2.86.1] - 2026-08-15</h2> <ul> <li>Fix an issue where <code>oxfmt</code> was accidentally installed as <code>oxfmt-{target}{exe}</code>. (<a href="https://redirect.github.com/taiki-e/install-action/pull/1969">#1969</a>)</li> </ul> <h2>[2.86.0] - 2026-08-15</h2> <ul> <li>Support <code>oxfmt</code>. (<a href="https://redirect.github.com/taiki-e/install-action/pull/1967">#1967</a>, thanks <a href="https://github.com/rami3l"><code>@rami3l</code></a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/taiki-e/install-action/commit/82cd3e7658a6f96c86c0234aeeda1748937cb0a1"><code>82cd3e7</code></a> Release 2.85.13</li> <li><a href="https://github.com/taiki-e/install-action/commit/4dd6c67d0ecd1fab76c6cecc5931e1239cc16add"><code>4dd6c67</code></a> Update <code>tombi@latest</code> to 1.3.3</li> <li><a href="https://github.com/taiki-e/install-action/commit/91cb1bb28383045bb69f87d336ede6db3c61927b"><code>91cb1bb</code></a> Update <code>mise@latest</code> to 2026.8.5</li> <li><a href="https://github.com/taiki-e/install-action/commit/83d968e89df664219ce13abb14808207a131cc64"><code>83d968e</code></a> Update <code>kingfisher@latest</code> to 1.113.0</li> <li><a href="https://github.com/taiki-e/install-action/commit/f7ab7f5d0a3e5a8120f10f39cfc442b2f40642b0"><code>f7ab7f5</code></a> Update cargo-xwin manifest</li> <li><a href="https://github.com/taiki-e/install-action/commit/3faddd9e3002e0d2922192f5808a78c4118eb58c"><code>3faddd9</code></a> Update <code>cargo-shear@latest</code> to 1.13.4</li> <li><a href="https://github.com/taiki-e/install-action/commit/b4cb4b238691473c8bf1425b4d38120d5058dfc2"><code>b4cb4b2</code></a> Update <code>bpf-linker@latest</code> to 0.11.0</li> <li><a href="https://github.com/taiki-e/install-action/commit/b20dedce73af6905cdc30d6611090c9b67557c8d"><code>b20dedc</code></a> Release 2.85.12</li> <li><a href="https://github.com/taiki-e/install-action/commit/952d13c8bb10d7e37f96fa2c8131338550a62663"><code>952d13c</code></a> ci: Skip cargo-rdme on x86_64 macOS</li> <li><a href="https://github.com/taiki-e/install-action/commit/c8724e7258d0b8f8188a94aec0c00ae9da81edd7"><code>c8724e7</code></a> Update <code>zola@latest</code> to 0.23.3</li> <li>Additional commits viewable in <a href="https://github.com/taiki-e/install-action/compare/7f4eb899022d8fe70b20c4f3de697aa85c309026...82cd3e7658a6f96c86c0234aeeda1748937cb0a1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <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> |
||
|
|
a05c9c4142 |
fix: Use random mapped addrs instead of a counter. (#4469)
## Description Use random mapped addrs instead of a counter. This makes our mapped addrs unpredictable, so nobody external can guess our internal mapped addresses. ## Breaking Changes None ## Notes & open questions Note: we lose an atomic counter, but gain one call to rng per new entry. ## Change checklist <!-- Remove any that are not relevant. --> - [ ] Self-review. - [ ] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented. - [ ] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [ ] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
89ed3bfdaf |
ci(secruity): hardening + lock files + dependabot cooldown (#4480)
## Description Same pricinple as https://github.com/n0-computer/noq/pull/788 Uses --locked to ensure we only use deps from the lock file Adds cooldown period to dependabot pins actions versions introduces zizimor and pinact ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist <!-- Remove any that are not relevant. --> - [ ] Self-review. - [ ] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented. - [ ] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [ ] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
fc1fc21336 |
feat(iroh): Add metrics for relay connections (#4477)
## Description This adds counters for relay connections: Number of failed connect attempts, number of opened and closed connection, and number of rate-limited connections. ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist <!-- Remove any that are not relevant. --> - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
94835be928 |
docs: explain read_to_end termination (#4391)
## Description Clarify how `read_to_end` terminates in the top-level connection examples. ## Changes Made - Added a short note in the client example that `read_to_end` waits for the peer to finish or close its send side. - Added a matching note in the server example that `read_to_end` terminates once the client calls `finish`. ## Testing - [x] Docs-only change; no runtime tests required. - [x] Reviewed the example snippets for correctness. ## Impact Readers now have an explicit hint that `read_to_end` waits for stream completion, not just buffered bytes. --------- Co-authored-by: Your Name <you@example.com> Co-authored-by: Philipp Krüger <philipp.krueger1@gmail.com> |
||
|
|
6d7f68c50c |
refactor: Don't send SNI (#4473)
## Description Do not send the SNI over the wire. We still use it internally as a key for a cache, but setting this option in rustls will prevent the SNI from being put into the ClientHello. The server currently does nothing with the SNI, not even check if it exists at all. So this should be a backwards and forwards compatible change. ## Breaking Changes None ## Notes & open questions Q: will we ever need the SNI in the future? I don't think it is that useful as a way to sneak data into the ClientHello since it is used for token cache purposes and thus has to be somewhat stable. ## Change checklist <!-- Remove any that are not relevant. --> - [ ] Self-review. - [ ] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented. - [ ] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [ ] This PR isn't slop, and is carefully crafted to do have the intented effect. --------- Co-authored-by: Philipp Krüger <philipp.krueger1@gmail.com> |
||
|
|
95d6a90fa2 |
chore(deps): bump portable-atomic from 1.14.0 to 1.15.0 (#4472)
Bumps [portable-atomic](https://github.com/taiki-e/portable-atomic) from 1.14.0 to 1.15.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/taiki-e/portable-atomic/blob/main/CHANGELOG.md">portable-atomic's changelog</a>.</em></p> <blockquote> <h2>[1.15.0] - 2026-08-09</h2> <ul> <li> <p>Work around <a href="https://redirect.github.com/rust-lang/compiler-builtins/pull/1234"><code>core::sync::atomic</code> bug</a> which may cause data races with non-relaxed load/CAS on pre-v6 ARM Linux/Android due to missing memory barrier. (<a href="https://redirect.github.com/taiki-e/portable-atomic/pull/112">#112</a>)</p> </li> <li> <p>Make {8,16,32}-bit non-relaxed load compatible with read-only memory on pre-v6 ARM Linux/Android. Previously only relaxed load was compatible with read-only memory. (<a href="https://redirect.github.com/taiki-e/portable-atomic/pull/112">#112</a>)</p> </li> <li> <p>Make <code>from_ptr</code> <code>const fn</code> on Rust 1.58+. Previously it was <code>const fn</code> only on Rust 1.83+. (<a href="https://github.com/taiki-e/portable-atomic/commit/c09d0e624f1416a01bbb11bba22c148b42dcb081">c09d0e6</a>)</p> </li> <li> <p>Optimize non-relaxed load/store on pre-v6 ARM Linux/Android. (<a href="https://redirect.github.com/taiki-e/portable-atomic/pull/112">#112</a>)</p> </li> <li> <p>Optimize fence on pre-v6 ARM Linux/Android. (<a href="https://redirect.github.com/taiki-e/portable-atomic/pull/112">#112</a>)</p> </li> <li> <p>Optimize 128-bit CAS/swap/min/max on s390x. This also includes removing the code complexity that caused the bug fixed in 1.14.0. (<a href="https://github.com/taiki-e/portable-atomic/commit/33cd7e55acfe1438c853b20b09ec786613228122">33cd7e5</a>, <a href="https://github.com/taiki-e/portable-atomic/commit/6c8f764bee3c3ca570552e49a8117402b0186ead">6c8f764</a>)</p> </li> <li> <p>Documentation improvements.</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/taiki-e/portable-atomic/commit/e4595528211f1d53b7f4d93e528ef84b491fc871"><code>e459552</code></a> Release 1.15.0</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/cb58081f88cd02681dbb32482acec7ae198850d5"><code>cb58081</code></a> Update changelog</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/c5b8b98ba4a37c85e7330ab67f5328c336db0207"><code>c5b8b98</code></a> arm_linux: Remove useless cache</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/b97efba24aabde59585f37db3bf94d1f5ecfd19a"><code>b97efba</code></a> ci: Re-enable detect_false test on Android</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/eaee7ec590dbab02c45acd69bbb5690f2cbbf9f8"><code>eaee7ec</code></a> detect: Update comments</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/c6fab541d4c36704dcfe086028b0575df76947b9"><code>c6fab54</code></a> tests: AArch64 L4Re is now available as builtin target</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/d0832a115b07c7bce149e96da7bdaff2b3ca9f4a"><code>d0832a1</code></a> tsan: Enable Adaptive Delay</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/81c2ee5fe02a9ccc05fc91a36fb4fa496aa2eb51"><code>81c2ee5</code></a> ci: Clean up sanitizer job</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/cfb767de5d1858ed88804d97f1d8f08da6d760ba"><code>cfb767d</code></a> Optimize non-relaxed load/store/fence and work around compiler-builtins bug o...</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/f19289e1fc1178159cfc01c15883c9b2b5077c0f"><code>f19289e</code></a> ci: Use full-length rev for mgba-test-runner</li> <li>Additional commits viewable in <a href="https://github.com/taiki-e/portable-atomic/compare/v1.14.0...v1.15.0">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
de24daede8 |
fix(iroh): route net_report HTTP probes through the configured proxy (#4463)
## Description Closes #4111. `Endpoint::Builder::proxy_url()` and `Builder::proxy_from_env()` were only ever honoured by the relay client. The value was cloned into `RelayActorConfig` and stopped there — `net_report` never received it. As a result both HTTP(S) based probes connected directly, ignoring the proxy the user explicitly configured: - the HTTPS latency probe (`run_https_probe`) - the captive portal check (`check_captive_portal`) ### User-visible failure On a network where direct egress is blocked and all traffic must go through a proxy, every HTTPS probe fails. The QAD probes fail too (no UDP/QUIC egress), so the resulting report has empty `relay_latency` and `preferred_relay: None`. The endpoint never selects a home relay and the node stays undialable over the relay — even though the relay client itself was perfectly capable of connecting through the proxy. The reporter's logs on #4111 show exactly this. ## Fix Thread the proxy URL from `socket::Options` through `net_report::Options` and `reportgen::SocketState` down to both `reqwest::ClientBuilder` call sites — the same path the DNS resolver already travels, so the probes' egress configuration now lives in one place. A few deliberate choices: - **`SocketState`, not a new `Client` field.** `dns_resolver` is already carried there, and `reportgen::Client::new` already needs `#[allow(clippy::too_many_arguments)]`; this leaves that signature unchanged. - **A bad proxy URL is reported, not ignored.** `reqwest::Proxy::all` is fallible, and its error is mapped onto the existing `CreateReqwestClient` variant on both probe error enums (no new variants). The probe fails loudly rather than silently falling back to a direct connection — quietly probing past the proxy the user asked for would be worse than failing. This matches the relay path, where a bad proxy surfaces as a `DialError` at dial time. - **No new dependency or feature.** HTTP `CONNECT` proxying is core reqwest; only SOCKS sits behind the `socks` feature, which this does not need. - **`wasm_browser` is untouched.** Every added line is inside a `#[cfg(not(wasm_browser))]` item or block, and the browser `Options` variant is unchanged. Browsers have no `SocketState` to carry a proxy on and defer to the user agent's own proxy settings anyway. The comment above `run_https_probe` pointing at (now-closed) #2901 describes this exact gap. This closes the proxy half of it; the probes still don't share the relay client's connection establishment, so the comment is left in place. ## Breaking Changes None. No public API changes — `Builder::proxy_url` already existed, it just wasn't wired up. All new fields and methods are `pub(crate)` / `pub(super)`. ## Testing New test `net_report::reportgen::tests::test_measure_https_latency_via_proxy` stands up a fake HTTP proxy on an ephemeral localhost port, points an HTTPS probe at a real test relay, and asserts the proxy received a `CONNECT` for the relay's authority — and that the probe does not succeed when the proxy refuses to tunnel. Verified red first. Without the fix: ``` probe must not succeed through a proxy that refuses to tunnel, got Ok(HttpsProbeReport { relay: RelayUrl("https://127.0.0.1:58448/"), latency: 4.539584ms }) ``` with the relay's own log showing `connection opened from 127.0.0.1:58452` — the probe dialling direct, which is the bug in one line. - `cargo test -p iroh --lib`: 112 → 113 passing, 0 failures before and after - `cargo clippy --workspace --all-targets --lib --bins --tests --benches --examples` in all three CI configurations (default, `--all-features`, `--no-default-features`): clean - `cargo make format-check`: clean - `cargo doc -p iroh --all-features --no-deps --document-private-items`: clean Not run: the `wasm32-unknown-unknown` target build, as that target isn't installed locally. Every added line is behind `#[cfg(not(wasm_browser))]` and I audited each one, but worth a CI confirmation. ## Notes and open questions - `iroh/src/address_lookup/pkarr.rs` builds its `reqwest` clients the same way and has the same gap — pkarr HTTP traffic also bypasses a configured proxy. Left out to keep this PR focused; happy to open a follow-up issue or fold it in here if you'd prefer. - **Collision note:** #4400 (streaming netreport) rewrites this module and splits out `https.rs` / `captive_portal.rs`. It's currently a draft with conflicts. This fix is small and self-contained, so it should land cleanly on `main` first and relocate into that refactor with minimal effort — the proxy just needs to follow whichever struct inherits `SocketState`'s role. ## Change checklist - [x] Self-review. - [x] Documentation updates following the style guide, if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. --------- Co-authored-by: Philipp Krüger <philipp.krueger1@gmail.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com> Co-authored-by: Floris Bruynooghe <flub@n0.computer> |
||
|
|
e68dbda9ad |
feat(iroh-relay, iroh): inform clients when they are rate-limited and warn log in iroh (#4455)
## Description When a relay server rate-limits a client connection, we now send a new `Status::RateLimited` message to the client, so that it can inform the user or the application. In iroh, for now we just `warn!` log this. The message is sent at most once per relay connection. Fixes #4454 ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions This does not need a protocol version bump because we are using the `Status` frame which is designed to be extensible with new variants. Old clients will see a `WARN: Relay server reports problem: Unsupported health message (2)`. ## Change checklist <!-- Remove any that are not relevant. --> - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
8455111149 |
test(iroh): add patchbay tests for relay connectivity (#4434)
## Description Adds patchbay coverage for the relay data path. Each test enforces a relay-only connection between two endpoints, either by blocking all UDP except DNS at the endpoint's routers or by placing both behind symmetric NATs, so holepunching and QAD are ruled out and the relay is the only path. - `relay_connect_ipv4` / `relay_connect_ipv6`: connect two peers through the relay over a single IP family, with UDP blocked so the ping traverses the relay. Asserts dual-stack connectivty of the relay. - `relay_udp_blocked_both` / `relay_udp_blocked_server` / `relay_udp_blocked_client`: one or both peers block all outbound UDP except DNS; the connection runs over the relay via TCP and stays relayed. Asserts that this works. - `relay_reconnect_link_outage_client` / `relay_reconnect_link_outage_server`: behind symmetric NATs, take one peer's link down for a few seconds and confirm the relay path recovers when it returns. A - `relay_reconnect_relay_restart`: restart the relay server on the same ports under a live connection and confirm both peers reconnect ## Breaking Changes None ## Notes & open questions Fixes #4405 <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist <!-- Remove any that are not relevant. --> - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [ ] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
82eed32993 |
chore(iroh-dns-server): replace mainline with n0-mainline and update lru (#4470)
## Description
Main goal is to update `lru` to avoid `cargo deny` being angry.
While doing so I noticed that we pull in another old version of `lru`
via `mainline` on `iroh-dns-server`, so I'm switching it to depend on
`n0-mainline` instead.
## Breaking Changes
None.
## Change checklist
- [x] Self-review.
- [x] This PR was created by a human that thought critically about the
proposed change and wrote an as clear and concise description as
they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
intented effect.
|
||
|
|
4706ec97e9 |
fix!: Fix serialization of CustomAddr so that the data serializes the same as a Vec<u8> (#4465)
## Description Fix serialization of CustomAddr so that the data serializes the same as a Vec<u8> This is needed so the inline size remains an implementation detail. It breaks CustomAddr deser, but that is fine since custom addresses, while being stable, are only used in conjunction with a feature cleary marked as experimental. ## Breaking Changes Does not change the public API, but does change the serialization of CustomAddrs. I think we don't need a iroh-base 2.0 regardless because you only create or use CustomAddrs when working with the experimental custom transports that are explicitly excluded from stability guarantees. YMMV. ## Notes & open questions Note for next release: we technically break serialization format for CustomAddr, so we should add the rationale for not going to 2.0 to the release notes. ## Change checklist <!-- Remove any that are not relevant. --> - [ ] Self-review. - [ ] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented. - [ ] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [ ] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
735958f81e |
fix(iroh-dns-server): enable TCP keepalive on HTTP listeners (#4462)
## Description Recent usage increases highlighted that we're leaking memory. Turns out we seemingly keep connections around forever. The issue is slightly compounded by the fact that our pkarr `DEFAULT_REPUBLISH_INTERVAL` is 5 min while the default reqwest pool_idle_timeout is 90s so essentially we never reuse these connections client side and keep opening new ones. Another note is that this just cleans up actually dead connections, a client that also leaks connections would also be infinitely responding with keepalives. To fix that we would need some better logistics and a idle timer on our end. This cleans up dead connections in roughly 200 sec. ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist <!-- Remove any that are not relevant. --> - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
0438766522 |
chore(ci): pin sccache to 0.16 on windows due to cli len limit (#4456)
## Description Pins sccache to 0.16 as 0.17 expands rustc's @argfiles and results in a command line longer than the 32k limit on windows: https://github.com/mozilla/sccache/issues/2397 ## Breaking Changes n/a ## Notes & open questions There already is a fix, probably next release will be fine again. ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
e8415b1ff2 |
chore(deps): bump mozilla-actions/sccache-action from 0.0.10 to 0.0.11 in the github-actions group (#4452)
Bumps the github-actions group with 1 update: [mozilla-actions/sccache-action](https://github.com/mozilla-actions/sccache-action). Updates `mozilla-actions/sccache-action` from 0.0.10 to 0.0.11 <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.11</h2> <h2>What's Changed</h2> <ul> <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/259">Mozilla-Actions/sccache-action#259</a></li> <li>Bump jest-circus from 29.7.0 to 30.3.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/256">Mozilla-Actions/sccache-action#256</a></li> <li>Bump <code>@actions/io</code> from 2.0.0 to 3.0.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/253">Mozilla-Actions/sccache-action#253</a></li> <li>ci: verify committed dist/ matches a clean rebuild by <a href="https://github.com/potiuk"><code>@potiuk</code></a> in <a href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/252">Mozilla-Actions/sccache-action#252</a></li> <li>prepare the version 0.0.11 by <a href="https://github.com/sylvestre"><code>@sylvestre</code></a> in <a href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/262">Mozilla-Actions/sccache-action#262</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/potiuk"><code>@potiuk</code></a> made their first contribution in <a href="https://redirect.github.com/Mozilla-Actions/sccache-action/pull/252">Mozilla-Actions/sccache-action#252</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/Mozilla-Actions/sccache-action/compare/v0.0.10...v0.0.11">https://github.com/Mozilla-Actions/sccache-action/compare/v0.0.10...v0.0.11</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Mozilla-Actions/sccache-action/commit/fc920bf0ec8de6ee65d409111f7ec508035751ba"><code>fc920bf</code></a> Merge pull request <a href="https://redirect.github.com/mozilla-actions/sccache-action/issues/262">#262</a> from sylvestre/0.0.11</li> <li><a href="https://github.com/Mozilla-Actions/sccache-action/commit/c5764fdf18812cf387df7c2e1207231e98bda733"><code>c5764fd</code></a> udpate dist files</li> <li><a href="https://github.com/Mozilla-Actions/sccache-action/commit/ce939d51f4b92b63a356b3bea7ce8ab412d11fe7"><code>ce939d5</code></a> update prettier</li> <li><a href="https://github.com/Mozilla-Actions/sccache-action/commit/fc24157e3f312f21d07f7e46aa06e8b312b2ebe9"><code>fc24157</code></a> prepare 0.0.11</li> <li><a href="https://github.com/Mozilla-Actions/sccache-action/commit/439ab273196533b9969dc62dad489114f628a9a7"><code>439ab27</code></a> README.md prepare the version 0.0.11</li> <li><a href="https://github.com/Mozilla-Actions/sccache-action/commit/a2fac7a0509e69fd5f53e62a09aa52c322e19f31"><code>a2fac7a</code></a> Merge pull request <a href="https://redirect.github.com/mozilla-actions/sccache-action/issues/252">#252</a> from potiuk/ci-verify-dist</li> <li><a href="https://github.com/Mozilla-Actions/sccache-action/commit/4c2e5f0f1a56c8ffc03b1313a9448706888ac5f8"><code>4c2e5f0</code></a> Merge pull request <a href="https://redirect.github.com/mozilla-actions/sccache-action/issues/253">#253</a> from Mozilla-Actions/dependabot/npm_and_yarn/actions/...</li> <li><a href="https://github.com/Mozilla-Actions/sccache-action/commit/772f27d055654c3dca4ae89a5a2b104da9f1e924"><code>772f27d</code></a> ci: verify committed dist/ matches a clean rebuild</li> <li><a href="https://github.com/Mozilla-Actions/sccache-action/commit/d270be534369e533247936a054689a64a94dfd9f"><code>d270be5</code></a> Merge pull request <a href="https://redirect.github.com/mozilla-actions/sccache-action/issues/256">#256</a> from Mozilla-Actions/dependabot/npm_and_yarn/jest-cir...</li> <li><a href="https://github.com/Mozilla-Actions/sccache-action/commit/52752ae2ccd59d0129ed6b1cb14da9d0d8c8d5ab"><code>52752ae</code></a> Merge pull request <a href="https://redirect.github.com/mozilla-actions/sccache-action/issues/259">#259</a> from Mozilla-Actions/dependabot/github_actions/github...</li> <li>Additional commits viewable in <a href="https://github.com/mozilla-actions/sccache-action/compare/v0.0.10...v0.0.11">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <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> |
||
|
|
156fc34f59 |
chore(deps): bump simple-dns from 0.11.3 to 0.12.0 (#4451)
Bumps [simple-dns](https://github.com/balliegojr/simple-dns) from 0.11.3 to 0.12.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/balliegojr/simple-dns/releases">simple-dns's releases</a>.</em></p> <blockquote> <h2>simple-dns 0.12.0</h2> <h3>Fix</h3> <ul> <li>Document panic behaviour in header_buffer and change the functions to have a safe and _unchecked version.</li> <li>Fixed incorrect resource record len bytes when writing NSEC records</li> <li>Fixed incorrect behaviour when writing compressed resource records to fixed size writers</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/balliegojr/simple-dns/commit/5c7ec98798d7c9f7d76df7aa3bbe754913ff5159"><code>5c7ec98</code></a> release simple-dns 0.12.0</li> <li><a href="https://github.com/balliegojr/simple-dns/commit/0044611877c83978b0639ddacb09ed706b3ad61d"><code>0044611</code></a> fixes incorrect nsec len</li> <li><a href="https://github.com/balliegojr/simple-dns/commit/df9781b109fa8ae0e9b6cd1f13d7b45bcb8e17ae"><code>df9781b</code></a> fix resource_record write_compressed_to seek behaviour</li> <li><a href="https://github.com/balliegojr/simple-dns/commit/fa76ce75debd88fdfd451c7c0c29540ec6910bbd"><code>fa76ce7</code></a> fix panic comments</li> <li><a href="https://github.com/balliegojr/simple-dns/commit/947a085a5296e67c32df75ed32b11567672c4648"><code>947a085</code></a> fix clippy error</li> <li><a href="https://github.com/balliegojr/simple-dns/commit/edd0af62f822c0cec08a803a453d3c040f950d0f"><code>edd0af6</code></a> change header_buffer functions to be safe and implement _unchecked variants</li> <li><a href="https://github.com/balliegojr/simple-dns/commit/6be9583c24d38d4e2064a901cb3095051d1555d5"><code>6be9583</code></a> update dependencies and release 0.7.0</li> <li>See full diff in <a href="https://github.com/balliegojr/simple-dns/compare/simple-dns/0.11.3...simple-dns/0.12.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
b18f9dc0ad |
chore(deps): bump http from 1.4.2 to 1.5.0 (#4450)
Bumps [http](https://github.com/hyperium/http) from 1.4.2 to 1.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/hyperium/http/releases">http's releases</a>.</em></p> <blockquote> <h2>v1.5.0</h2> <h2>What's Changed</h2> <ul> <li>feat(method): add QUERY method by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/http/pull/798">hyperium/http#798</a></li> <li>fix(uri): allow empty paths in uri::Builder by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/http/pull/853">hyperium/http#853</a></li> <li>perf(header,uri): faster value validation, URI parse/format, map inserts by <a href="https://github.com/geeknoid"><code>@geeknoid</code></a> in <a href="https://redirect.github.com/hyperium/http/pull/852">hyperium/http#852</a></li> <li>fix(uri): enforce max length in PathAndQuery by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/http/pull/856">hyperium/http#856</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/geeknoid"><code>@geeknoid</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/http/pull/852">hyperium/http#852</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/hyperium/http/compare/v1.4.2...v1.5.0">https://github.com/hyperium/http/compare/v1.4.2...v1.5.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/hyperium/http/blob/master/CHANGELOG.md">http's changelog</a>.</em></p> <blockquote> <h1>1.5.0 (July 29, 2026)</h1> <ul> <li>Add <code>Method::QUERY</code> constant for the new QUERY method defined in RFC 10008.</li> <li>Fix <code>uri::Builder::path_and_query()</code> to allow empty strings to mean no path.</li> <li>Fix <code>uri::PathAndQuery</code> parsing to enforce URI max length.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/hyperium/http/commit/16fc9a7b840c2181e7f8b37397c107b0ffcd050d"><code>16fc9a7</code></a> v1.5.0</li> <li><a href="https://github.com/hyperium/http/commit/e559023f67e3fad6ecc3ee91307be178e0f13626"><code>e559023</code></a> fix(uri): enforce max length in PathAndQuery (<a href="https://redirect.github.com/hyperium/http/issues/856">#856</a>)</li> <li><a href="https://github.com/hyperium/http/commit/2178e175c4e247a33ba5f6ca3503afb1afbaabba"><code>2178e17</code></a> perf(header,uri): faster value validation, URI parse/format, map inserts (<a href="https://redirect.github.com/hyperium/http/issues/852">#852</a>)</li> <li><a href="https://github.com/hyperium/http/commit/03c8cd7faeddfad00873b4d58a45ecdf74ebebe6"><code>03c8cd7</code></a> fix(uri): allow empty paths in uri::Builder (<a href="https://redirect.github.com/hyperium/http/issues/853">#853</a>)</li> <li><a href="https://github.com/hyperium/http/commit/bb8705b25cdb6e29081edf9ade2ea124f6783e18"><code>bb8705b</code></a> feat(method): add QUERY method (<a href="https://redirect.github.com/hyperium/http/issues/798">#798</a>)</li> <li>See full diff in <a href="https://github.com/hyperium/http/compare/v1.4.2...v1.5.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
d27d430e4c |
tests(iroh): Disable flaky patchbay test for now (#4449)
## Description
At some point we need to work on dealing better with packet loss.
## 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.
|
||
|
|
7d8c9bf05d |
test(iroh): update patchbay to 0.7.0 (#4445)
## Description I merged a couple of breaking changes to patchbay (restructured the NAT presets n0-computer/patchbay#37 and improved the link condition APIs including now modeling more realistic link conditions n0-computer/patchbay#43). This PR updates iroh to this newly released patchbay 0.7.0. ## Breaking Changes None ## Notes & open questions This PR does not adjust the degrade tests to make use of the more realistic loss distribution now available in patchbay, that'll be a separate PR. ## Change checklist <!-- Remove any that are not relevant. --> - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|
|
bbc82b6554 |
fix: bind iroh-dns-server to both IPv4 and IPv6 (#4432)
## Description This makes iroh-dns-server bind to both IPv4 and IPv6 by default for HTTP, HTTPS, and DNS. The IPv6 wildcard (`::`) on Linux binds to both IPv4 and IPv6, which is what we want for the default. People can still override it via `bind_addr` in `config.toml`. ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist <!-- Remove any that are not relevant. --> - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
04583191e7 |
fix(iroh): Keep answering priority messages during relay reconnect backoff delay (#4444)
## Description When a relay reconnect fails, we sleep with increasing backoff until retrying. During that backoff period, we currently do nothing. However, we should still answer `ActiveRelayPrioMessage`, and abort in case the cancellation token is triggered. This patch fixes this. ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist <!-- Remove any that are not relevant. --> - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. |
||
|
|
117ae31c90 |
chore(deps): bump hyper from 1.10.1 to 1.11.0 (#4439)
Bumps [hyper](https://github.com/hyperium/hyper) from 1.10.1 to 1.11.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/hyperium/hyper/releases">hyper's releases</a>.</em></p> <blockquote> <h2>v1.11.0</h2> <h2>Features</h2> <ul> <li><strong>rt:</strong> add <code>ReadBufCursor::initialized_unfilled()</code> method (<a href="https://redirect.github.com/hyperium/hyper/issues/4115">#4115</a>) (<a href="https://github.com/hyperium/hyper/commit/ccc1e850dc0cda3e71b0acd11f60ca3d48d09034">ccc1e850</a>)</li> </ul> <h2>Bug Fixes</h2> <ul> <li><strong>http1:</strong> <ul> <li>discard content-length header when received before transfer-encoding (<a href="https://redirect.github.com/hyperium/hyper/issues/4124">#4124</a>) (<a href="https://github.com/hyperium/hyper/commit/540fff9180ce47ee5fab01b6cc2126eb6c286eda">540fff91</a>, closes <a href="https://redirect.github.com/hyperium/hyper/issues/4123">#4123</a>)</li> <li>use append for repeat trailer values in encoder (<a href="https://redirect.github.com/hyperium/hyper/issues/4118">#4118</a>) (<a href="https://github.com/hyperium/hyper/commit/de1483d7db70477cc8799a344634ae6ee020a7db">de1483d7</a>)</li> <li>allow up to max_headers trailers (<a href="https://redirect.github.com/hyperium/hyper/issues/4108">#4108</a>) (<a href="https://github.com/hyperium/hyper/commit/f584091ac096bd5dd478f73256188c3261a945b9">f584091a</a>)</li> <li>use append for repeat trailers (<a href="https://redirect.github.com/hyperium/hyper/issues/4107">#4107</a>) (<a href="https://github.com/hyperium/hyper/commit/876effe10fd8f8ad4535ade1f84e88f199f2cf6b">876effe1</a>)</li> <li>flush buffered data before shutdown (<a href="https://redirect.github.com/hyperium/hyper/issues/4018">#4018</a>) (<a href="https://github.com/hyperium/hyper/commit/72046cc72e7aa82c439eed00850b8b1ad3f7e4dc">72046cc7</a>, closes <a href="https://redirect.github.com/hyperium/hyper/issues/4022">#4022</a>)</li> <li>more strictly enforce max_buf_size when parsing (<a href="https://redirect.github.com/hyperium/hyper/issues/4093">#4093</a>) (<a href="https://github.com/hyperium/hyper/commit/90ede307470dba98b4e184ad88d6f5aae8b0afd7">90ede307</a>, closes <a href="https://redirect.github.com/hyperium/hyper/issues/4081">#4081</a>)</li> </ul> </li> <li><strong>http2:</strong> avoid buffering <code>Upgraded</code> writes without send capacity (<a href="https://redirect.github.com/hyperium/hyper/issues/4102">#4102</a>) (<a href="https://github.com/hyperium/hyper/commit/aecf5abfbc3dc95f21ac1538db1aa3f690fa6ab6">aecf5abf</a>)</li> </ul> <h2>All PRs</h2> <ul> <li>removing <code>cast_lossless</code> lint by <a href="https://github.com/josetorrs"><code>@josetorrs</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4087">hyperium/hyper#4087</a></li> <li>Fix the borrow_as_ptr lint by <a href="https://github.com/xd009642"><code>@xd009642</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4082">hyperium/hyper#4082</a></li> <li>removing <code>empty_structs_with_brackets</code> lint by <a href="https://github.com/josetorrs"><code>@josetorrs</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4088">hyperium/hyper#4088</a></li> <li>style(proto): removing <code>explicit_iter_loop</code> lint by <a href="https://github.com/josetorrs"><code>@josetorrs</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4089">hyperium/hyper#4089</a></li> <li>Fix the ptr_as_ptr lint by <a href="https://github.com/nakaryo716"><code>@nakaryo716</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4091">hyperium/hyper#4091</a></li> <li>style(lib): remove <code>manual_assert_eq</code> lint by <a href="https://github.com/josetorrs"><code>@josetorrs</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4090">hyperium/hyper#4090</a></li> <li>style(http2): allow an instance of large_enum_variant, deny otherwise by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4092">hyperium/hyper#4092</a></li> <li>Removing 'undocumented_unsafe_blocks' lint allowance by <a href="https://github.com/Lori-Shu"><code>@Lori-Shu</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4083">hyperium/hyper#4083</a></li> <li>style(http2): use an enum instead of bool in strip_connection_headers() by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4094">hyperium/hyper#4094</a></li> <li>fix(http1): more strictly enforce max_buf_size when parsing by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4093">hyperium/hyper#4093</a></li> <li>h1 servers can shutdown connections with pending buffered data on filled sockets by <a href="https://github.com/deven96"><code>@deven96</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4018">hyperium/hyper#4018</a></li> <li>refactor(http1): remove ref_option lint by <a href="https://github.com/nakaryo716"><code>@nakaryo716</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4101">hyperium/hyper#4101</a></li> <li>style(lib): remove <code>unnecessary_semicolon</code> lint by <a href="https://github.com/josetorrs"><code>@josetorrs</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4103">hyperium/hyper#4103</a></li> <li>style(lib): remove <code>uninlined_format_args</code> lint by <a href="https://github.com/josetorrs"><code>@josetorrs</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4104">hyperium/hyper#4104</a></li> <li>style(lib): remove <code>semicolon_if_nothing_returned</code> lint by <a href="https://github.com/MonkieeBoi"><code>@MonkieeBoi</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4106">hyperium/hyper#4106</a></li> <li>style(lib): remove <code> single_match_else</code> lint by <a href="https://github.com/yunz-dev"><code>@yunz-dev</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4105">hyperium/hyper#4105</a></li> <li>style(lib): remove <code>default_trait_access</code> lint by <a href="https://github.com/nakaryo716"><code>@nakaryo716</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4111">hyperium/hyper#4111</a></li> <li>fix(http1): use append for repeat trailers by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4107">hyperium/hyper#4107</a></li> <li>fix(http1): allow up to max_headers trailers by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4108">hyperium/hyper#4108</a></li> <li>fix(http2): avoid buffering <code>Upgraded</code> writes without send capacity by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4102">hyperium/hyper#4102</a></li> <li>style(headers): small refactor to remove <code>question_mark</code> lint by <a href="https://github.com/josetorrs"><code>@josetorrs</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4116">hyperium/hyper#4116</a></li> <li>fix(h1): append duplicate trailer values when encoding (match <a href="https://redirect.github.com/hyperium/hyper/issues/4107">#4107</a>) by <a href="https://github.com/greymoth-jp"><code>@greymoth-jp</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4118">hyperium/hyper#4118</a></li> <li>style(proto): fix <code>decimal_literal_representation</code> lint by <a href="https://github.com/josetorrs"><code>@josetorrs</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4117">hyperium/hyper#4117</a></li> <li>docs(governance): define Advisor role by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4098">hyperium/hyper#4098</a></li> <li>docs(maintainers): move some collaborators to emeriti by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4125">hyperium/hyper#4125</a></li> <li>feat: add initialized_unfilled to ReadBufCursor by <a href="https://github.com/abh1nav10"><code>@abh1nav10</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4115">hyperium/hyper#4115</a></li> <li>fix(http1): discard content-length header when received before transfer-encoding by <a href="https://github.com/seanmonstar"><code>@seanmonstar</code></a> in <a href="https://redirect.github.com/hyperium/hyper/pull/4124">hyperium/hyper#4124</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/josetorrs"><code>@josetorrs</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/hyper/pull/4087">hyperium/hyper#4087</a></li> <li><a href="https://github.com/nakaryo716"><code>@nakaryo716</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/hyper/pull/4091">hyperium/hyper#4091</a></li> <li><a href="https://github.com/deven96"><code>@deven96</code></a> made their first contribution in <a href="https://redirect.github.com/hyperium/hyper/pull/4018">hyperium/hyper#4018</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/hyperium/hyper/blob/master/CHANGELOG.md">hyper's changelog</a>.</em></p> <blockquote> <h2>v1.11.0 (2026-07-20)</h2> <h4>Bug Fixes</h4> <ul> <li><strong>http1:</strong> <ul> <li>discard content-length header when received before transfer-encoding (<a href="https://redirect.github.com/hyperium/hyper/issues/4124">#4124</a>) (<a href="https://github.com/hyperium/hyper/commit/540fff9180ce47ee5fab01b6cc2126eb6c286eda">540fff91</a>, closes <a href="https://redirect.github.com/hyperium/hyper/issues/4123">#4123</a>)</li> <li>use append for repeat trailer values in encoder (<a href="https://redirect.github.com/hyperium/hyper/issues/4118">#4118</a>) (<a href="https://github.com/hyperium/hyper/commit/de1483d7db70477cc8799a344634ae6ee020a7db">de1483d7</a>)</li> <li>allow up to max_headers trailers (<a href="https://redirect.github.com/hyperium/hyper/issues/4108">#4108</a>) (<a href="https://github.com/hyperium/hyper/commit/f584091ac096bd5dd478f73256188c3261a945b9">f584091a</a>)</li> <li>use append for repeat trailers (<a href="https://redirect.github.com/hyperium/hyper/issues/4107">#4107</a>) (<a href="https://github.com/hyperium/hyper/commit/876effe10fd8f8ad4535ade1f84e88f199f2cf6b">876effe1</a>)</li> <li>flush buffered data before shutdown (<a href="https://redirect.github.com/hyperium/hyper/issues/4018">#4018</a>) (<a href="https://github.com/hyperium/hyper/commit/72046cc72e7aa82c439eed00850b8b1ad3f7e4dc">72046cc7</a>, closes <a href="https://redirect.github.com/hyperium/hyper/issues/4022">#4022</a>)</li> <li>more strictly enforce max_buf_size when parsing (<a href="https://redirect.github.com/hyperium/hyper/issues/4093">#4093</a>) (<a href="https://github.com/hyperium/hyper/commit/90ede307470dba98b4e184ad88d6f5aae8b0afd7">90ede307</a>, closes <a href="https://redirect.github.com/hyperium/hyper/issues/4081">#4081</a>)</li> </ul> </li> <li><strong>http2:</strong> avoid buffering <code>Upgraded</code> writes without send capacity (<a href="https://redirect.github.com/hyperium/hyper/issues/4102">#4102</a>) (<a href="https://github.com/hyperium/hyper/commit/aecf5abfbc3dc95f21ac1538db1aa3f690fa6ab6">aecf5abf</a>)</li> </ul> <h4>Features</h4> <ul> <li><strong>rt:</strong> add <code>ReadBufCursor::initialized_unfilled()</code> method (<a href="https://redirect.github.com/hyperium/hyper/issues/4115">#4115</a>) (<a href="https://github.com/hyperium/hyper/commit/ccc1e850dc0cda3e71b0acd11f60ca3d48d09034">ccc1e850</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/hyperium/hyper/commit/67ace6484db5d4a15367013847768f5f94f4b97d"><code>67ace64</code></a> v1.11.0</li> <li><a href="https://github.com/hyperium/hyper/commit/540fff9180ce47ee5fab01b6cc2126eb6c286eda"><code>540fff9</code></a> fix(http1): discard content-length header when received before transfer-encod...</li> <li><a href="https://github.com/hyperium/hyper/commit/ccc1e850dc0cda3e71b0acd11f60ca3d48d09034"><code>ccc1e85</code></a> feat(rt): add <code>ReadBufCursor::initialized_unfilled()</code> method (<a href="https://redirect.github.com/hyperium/hyper/issues/4115">#4115</a>)</li> <li><a href="https://github.com/hyperium/hyper/commit/0ea8bc2772bbe785d7234e3eb3bd4df5440f57fb"><code>0ea8bc2</code></a> docs(maintainers): move some collaborators to emeriti (<a href="https://redirect.github.com/hyperium/hyper/issues/4125">#4125</a>)</li> <li><a href="https://github.com/hyperium/hyper/commit/2fc06fc7724e2b684c2658327f0721fd3bfa57d9"><code>2fc06fc</code></a> docs(governance): define Advisor role (<a href="https://redirect.github.com/hyperium/hyper/issues/4098">#4098</a>)</li> <li><a href="https://github.com/hyperium/hyper/commit/e0d14d19a0a87962efe92acdaa029253be54a612"><code>e0d14d1</code></a> style(proto): explicitly allow <code>decimal_literal_representation</code> lint (<a href="https://redirect.github.com/hyperium/hyper/issues/4117">#4117</a>)</li> <li><a href="https://github.com/hyperium/hyper/commit/de1483d7db70477cc8799a344634ae6ee020a7db"><code>de1483d</code></a> fix(http1): use append for repeat trailer values in encoder (<a href="https://redirect.github.com/hyperium/hyper/issues/4118">#4118</a>)</li> <li><a href="https://github.com/hyperium/hyper/commit/08c3416279b36456c5ce83d0edd33e955e411c90"><code>08c3416</code></a> style(headers): small refactor to remove question_mark lint (<a href="https://redirect.github.com/hyperium/hyper/issues/4116">#4116</a>)</li> <li><a href="https://github.com/hyperium/hyper/commit/aecf5abfbc3dc95f21ac1538db1aa3f690fa6ab6"><code>aecf5ab</code></a> fix(http2): avoid buffering <code>Upgraded</code> writes without send capacity (<a href="https://redirect.github.com/hyperium/hyper/issues/4102">#4102</a>)</li> <li><a href="https://github.com/hyperium/hyper/commit/f584091ac096bd5dd478f73256188c3261a945b9"><code>f584091</code></a> fix(http1): allow up to max_headers trailers (<a href="https://redirect.github.com/hyperium/hyper/issues/4108">#4108</a>)</li> <li>Additional commits viewable in <a href="https://github.com/hyperium/hyper/compare/v1.10.1...v1.11.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
eaaa495b8d |
chore(deps): bump the github-actions group across 1 directory with 2 updates (#4420)
Bumps the github-actions group with 2 updates in the / directory: [actions/cache](https://github.com/actions/cache) and [actions/setup-node](https://github.com/actions/setup-node). Updates `actions/cache` from 5 to 6 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/cache/releases">actions/cache's releases</a>.</em></p> <blockquote> <h2>v6.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update packages, migrate to ESM by <a href="https://github.com/Samirat"><code>@Samirat</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1760">actions/cache#1760</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/cache/compare/v5...v6.0.0">https://github.com/actions/cache/compare/v5...v6.0.0</a></p> <h2>v5.1.0</h2> <h2>What's Changed</h2> <ul> <li>Bump <code>@actions/cache</code> to v5.1.0 - handle read-only cache access by <a href="https://github.com/jasongin"><code>@jasongin</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1775">actions/cache#1775</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/cache/compare/v5...v5.1.0">https://github.com/actions/cache/compare/v5...v5.1.0</a></p> <h2>v5.0.5</h2> <h2>What's Changed</h2> <ul> <li>Update ts-http-runtime dependency by <a href="https://github.com/yacaovsnc"><code>@yacaovsnc</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1747">actions/cache#1747</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/cache/compare/v5...v5.0.5">https://github.com/actions/cache/compare/v5...v5.0.5</a></p> <h2>v5.0.4</h2> <h2>What's Changed</h2> <ul> <li>Add release instructions and update maintainer docs by <a href="https://github.com/Link"><code>@Link</code></a>- in <a href="https://redirect.github.com/actions/cache/pull/1696">actions/cache#1696</a></li> <li>Potential fix for code scanning alert no. 52: Workflow does not contain permissions by <a href="https://github.com/Link"><code>@Link</code></a>- in <a href="https://redirect.github.com/actions/cache/pull/1697">actions/cache#1697</a></li> <li>Fix workflow permissions and cleanup workflow names / formatting by <a href="https://github.com/Link"><code>@Link</code></a>- in <a href="https://redirect.github.com/actions/cache/pull/1699">actions/cache#1699</a></li> <li>docs: Update examples to use the latest version by <a href="https://github.com/XZTDean"><code>@XZTDean</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1690">actions/cache#1690</a></li> <li>Fix proxy integration tests by <a href="https://github.com/Link"><code>@Link</code></a>- in <a href="https://redirect.github.com/actions/cache/pull/1701">actions/cache#1701</a></li> <li>Fix cache key in examples.md for bun.lock by <a href="https://github.com/RyPeck"><code>@RyPeck</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1722">actions/cache#1722</a></li> <li>Update dependencies & patch security vulnerabilities by <a href="https://github.com/Link"><code>@Link</code></a>- in <a href="https://redirect.github.com/actions/cache/pull/1738">actions/cache#1738</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/XZTDean"><code>@XZTDean</code></a> made their first contribution in <a href="https://redirect.github.com/actions/cache/pull/1690">actions/cache#1690</a></li> <li><a href="https://github.com/RyPeck"><code>@RyPeck</code></a> made their first contribution in <a href="https://redirect.github.com/actions/cache/pull/1722">actions/cache#1722</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/cache/compare/v5...v5.0.4">https://github.com/actions/cache/compare/v5...v5.0.4</a></p> <h2>v5.0.3</h2> <h2>What's Changed</h2> <ul> <li>Bump <code>@actions/cache</code> to v5.0.5 (Resolves: <a href="https://github.com/actions/cache/security/dependabot/33">https://github.com/actions/cache/security/dependabot/33</a>)</li> <li>Bump <code>@actions/core</code> to v2.0.3</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/cache/compare/v5...v5.0.3">https://github.com/actions/cache/compare/v5...v5.0.3</a></p> <h2>v.5.0.2</h2> <h1>v5.0.2</h1> <h2>What's Changed</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/actions/cache/blob/main/RELEASES.md">actions/cache's changelog</a>.</em></p> <blockquote> <h1>Releases</h1> <h2>How to prepare a release</h2> <blockquote> <p>[!NOTE] Relevant for maintainers with write access only.</p> </blockquote> <ol> <li>Switch to a new branch from <code>main</code>.</li> <li>Run <code>npm test</code> to ensure all tests are passing.</li> <li>Update the version in <a href="https://github.com/actions/cache/blob/main/package.json"><code>https://github.com/actions/cache/blob/main/package.json</code></a>.</li> <li>Run <code>npm run build</code> to update the compiled files.</li> <li>Update this <a href="https://github.com/actions/cache/blob/main/RELEASES.md"><code>https://github.com/actions/cache/blob/main/RELEASES.md</code></a> with the new version and changes in the <code>## Changelog</code> section.</li> <li>Run <code>licensed cache</code> to update the license report.</li> <li>Run <code>licensed status</code> and resolve any warnings by updating the <a href="https://github.com/actions/cache/blob/main/.licensed.yml"><code>https://github.com/actions/cache/blob/main/.licensed.yml</code></a> file with the exceptions.</li> <li>Commit your changes and push your branch upstream.</li> <li>Open a pull request against <code>main</code> and get it reviewed and merged.</li> <li>Draft a new release <a href="https://github.com/actions/cache/releases">https://github.com/actions/cache/releases</a> use the same version number used in <code>package.json</code> <ol> <li>Create a new tag with the version number.</li> <li>Auto generate release notes and update them to match the changes you made in <code>RELEASES.md</code>.</li> <li>Toggle the set as the latest release option.</li> <li>Publish the release.</li> </ol> </li> <li>Navigate to <a href="https://github.com/actions/cache/actions/workflows/release-new-action-version.yml">https://github.com/actions/cache/actions/workflows/release-new-action-version.yml</a> <ol> <li>There should be a workflow run queued with the same version number.</li> <li>Approve the run to publish the new version and update the major tags for this action.</li> </ol> </li> </ol> <h2>Changelog</h2> <h3>6.1.0</h3> <ul> <li>Bump <code>@actions/cache</code> to v6.1.0 to pick up <a href="https://redirect.github.com/actions/toolkit/pull/2435">actions/toolkit#2435 Handle cache write error due to read-only token</a></li> <li>Switch redundant "Cache save failed" warning to debug log in save-only</li> </ul> <h3>6.0.0</h3> <ul> <li>Updated <code>@actions/cache</code> to ^6.0.1, <code>@actions/core</code> to ^3.0.1, <code>@actions/exec</code> to ^3.0.0, <code>@actions/io</code> to ^3.0.2</li> <li>Migrated to ESM module system</li> <li>Upgraded Jest to v30 and test infrastructure to be ESM compatible</li> </ul> <h3>5.0.4</h3> <ul> <li>Bump <code>minimatch</code> to v3.1.5 (fixes ReDoS via globstar patterns)</li> <li>Bump <code>undici</code> to v6.24.1 (WebSocket decompression bomb protection, header validation fixes)</li> <li>Bump <code>fast-xml-parser</code> to v5.5.6</li> </ul> <h3>5.0.3</h3> <ul> <li>Bump <code>@actions/cache</code> to v5.0.5 (Resolves: <a href="https://github.com/actions/cache/security/dependabot/33">https://github.com/actions/cache/security/dependabot/33</a>)</li> <li>Bump <code>@actions/core</code> to v2.0.3</li> </ul> <h3>5.0.2</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/cache/commit/55cc8345863c7cc4c66a329aec7e433d2d1c52a9"><code>55cc834</code></a> Merge pull request <a href="https://redirect.github.com/actions/cache/issues/1768">#1768</a> from jasongin/readonly-cache</li> <li><a href="https://github.com/actions/cache/commit/d8cd72f230726cdf4457ebb61ec1b593a8d12337"><code>d8cd72f</code></a> Bump <code>@actions/cache</code> to v6.1.0 - handle cache write error due to RO token</li> <li><a href="https://github.com/actions/cache/commit/2c8a9bd7457de244a408f35966fab2fb45fda9c8"><code>2c8a9bd</code></a> Merge pull request <a href="https://redirect.github.com/actions/cache/issues/1760">#1760</a> from actions/samirat/esm_migration_and_package_update</li> <li><a href="https://github.com/actions/cache/commit/e9b91fdc3fea7d79165fceb79042ef45c2d51023"><code>e9b91fd</code></a> Prettier fixes</li> <li><a href="https://github.com/actions/cache/commit/e4884b8ff7f92ef6b52c79eda480bbc86e685adb"><code>e4884b8</code></a> Rebuild dist</li> <li><a href="https://github.com/actions/cache/commit/10baf0191a3c426ea0fa4a3253a5c04233b6e18f"><code>10baf01</code></a> Fixed licenses</li> <li><a href="https://github.com/actions/cache/commit/e39b386c9004d72a15d864ade8c0b3a702d47a37"><code>e39b386</code></a> Fix test mock return order</li> <li><a href="https://github.com/actions/cache/commit/b6928203372a8571ff984c0c883ef3a1adfb0c06"><code>b692820</code></a> PR feedback</li> <li><a href="https://github.com/actions/cache/commit/60749128a44d25d3c520a489e576380cf00ff3f1"><code>6074912</code></a> Rebuild dist bundles as ESM to match type:module</li> <li><a href="https://github.com/actions/cache/commit/5a912e8b4af820fa082a0e75cfd2c782f8fbfe0e"><code>5a912e8</code></a> Fix lint and jest issues</li> <li>Additional commits viewable in <a href="https://github.com/actions/cache/compare/v5...v6">compare view</a></li> </ul> </details> <br /> Updates `actions/setup-node` from 6 to 7 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/setup-node/releases">actions/setup-node's releases</a>.</em></p> <blockquote> <h2>v7.0.0</h2> <h2>What's Changed</h2> <h3>Enhancements:</h3> <ul> <li>Add cache-primary-key and cache-matched-key as outputs by <a href="https://github.com/gowridurgad"><code>@gowridurgad</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/1577">actions/setup-node#1577</a></li> <li>Migrate to ESM and upgrade dependencies by <a href="https://github.com/gowridurgad"><code>@gowridurgad</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/1574">actions/setup-node#1574</a></li> </ul> <h3>Bug fixes:</h3> <ul> <li>Remove dummy NODE_AUTH_TOKEN export by <a href="https://github.com/gowridurgad"><code>@gowridurgad</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/1558">actions/setup-node#1558</a></li> <li>Only use <code>mirrorToken</code> in <code>getManifest</code> if it's provided by <a href="https://github.com/deiga"><code>@deiga</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/1548">actions/setup-node#1548</a></li> </ul> <h3>Documentation updates:</h3> <ul> <li>Add documentation for publishing to npm with Trusted Publisher (OIDC) by <a href="https://github.com/chiranjib-swain"><code>@chiranjib-swain</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/1536">actions/setup-node#1536</a></li> <li>docs: Update restore-only cache documentation by <a href="https://github.com/priya-kinthali"><code>@priya-kinthali</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/1550">actions/setup-node#1550</a></li> <li>docs: Update caching recommendations to mitigate cache poisoning risks by <a href="https://github.com/chiranjib-swain"><code>@chiranjib-swain</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/1567">actions/setup-node#1567</a></li> </ul> <h3>Dependency update:</h3> <ul> <li>Upgrade <code>@actions/cache</code> to 5.1.0, log cache write denied by <a href="https://github.com/jasongin"><code>@jasongin</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/1569">actions/setup-node#1569</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/chiranjib-swain"><code>@chiranjib-swain</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-node/pull/1536">actions/setup-node#1536</a></li> <li><a href="https://github.com/deiga"><code>@deiga</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-node/pull/1548">actions/setup-node#1548</a></li> <li><a href="https://github.com/jasongin"><code>@jasongin</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-node/pull/1569">actions/setup-node#1569</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-node/compare/v6...v7.0.0">https://github.com/actions/setup-node/compare/v6...v7.0.0</a></p> <h2>v6.5.0</h2> <h2>What's Changed</h2> <ul> <li>Update <code>@actions/cache</code> to 5.1.0 and add security overrides for undici and fast-xml-parser by <a href="https://github.com/HarithaVattikuti"><code>@HarithaVattikuti</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/1579">actions/setup-node#1579</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-node/compare/v6.4.0...v6.5.0">https://github.com/actions/setup-node/compare/v6.4.0...v6.5.0</a></p> <h2>v6.4.0</h2> <h2>What's Changed</h2> <h3>Dependency updates:</h3> <ul> <li>Upgrade <a href="https://github.com/actions"><code>@actions</code></a> dependencies by <a href="https://github.com/Copilot"><code>@Copilot</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/1525">actions/setup-node#1525</a></li> <li>Update Node.js versions in versions.yml and bump package to v6.4.0 by <a href="https://github.com/priya-kinthali"><code>@priya-kinthali</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/1533">actions/setup-node#1533</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Copilot"><code>@Copilot</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-node/pull/1525">actions/setup-node#1525</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-node/compare/v6...v6.4.0">https://github.com/actions/setup-node/compare/v6...v6.4.0</a></p> <h2>v6.3.0</h2> <h2>What's Changed</h2> <h3>Enhancements:</h3> <ul> <li>Support parsing <code>devEngines</code> field by <a href="https://github.com/susnux"><code>@susnux</code></a> in <a href="https://redirect.github.com/actions/setup-node/pull/1283">actions/setup-node#1283</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/setup-node/commit/820762786026740c76f36085b0efc47a31fe5020"><code>8207627</code></a> Migrate to ESM and upgrade dependencies (<a href="https://redirect.github.com/actions/setup-node/issues/1574">#1574</a>)</li> <li><a href="https://github.com/actions/setup-node/commit/04be95cf3511ea51ebf9f224ddfb99cc7ab87cd4"><code>04be95c</code></a> Add cache-primary-key and cache-matched-key as outputs (<a href="https://redirect.github.com/actions/setup-node/issues/1577">#1577</a>)</li> <li><a href="https://github.com/actions/setup-node/commit/7c2c68d20d402ed6a201ada70a81341941093140"><code>7c2c68d</code></a> docs: Update caching recommendations to mitigate cache poisoning risks (<a href="https://redirect.github.com/actions/setup-node/issues/1567">#1567</a>)</li> <li><a href="https://github.com/actions/setup-node/commit/6a61c0375d66246de94630495909f12cf8dac84d"><code>6a61c03</code></a> Merge pull request <a href="https://redirect.github.com/actions/setup-node/issues/1569">#1569</a> from jasongin/update-actions-cache-5.1.0</li> <li><a href="https://github.com/actions/setup-node/commit/30eb73b41ded577900c1ebf968ef95cdf8f7434f"><code>30eb73b</code></a> Resolve high-severity audit issues</li> <li><a href="https://github.com/actions/setup-node/commit/4e1a87a501d0302f99e30e2748568adcb388d09f"><code>4e1a87a</code></a> Update dist</li> <li><a href="https://github.com/actions/setup-node/commit/360237f0c01778d0c17291f75c56d6feae4f7574"><code>360237f</code></a> Strict equality</li> <li><a href="https://github.com/actions/setup-node/commit/4f8aac5beb2f0854bc79651567a18c67eb0b9de3"><code>4f8aac5</code></a> Bump <code>@actions/cache</code> to 5.1.0, log cache write denied</li> <li><a href="https://github.com/actions/setup-node/commit/f4a67bbeca970f103397d3d2b9462cf787cd2980"><code>f4a67bb</code></a> Only use <code>mirrorToken</code> in <code>getManifest</code> if it's provided (<a href="https://redirect.github.com/actions/setup-node/issues/1548">#1548</a>)</li> <li><a href="https://github.com/actions/setup-node/commit/0355742c943ddb13ca8a6b700f824231caa91e75"><code>0355742</code></a> Remove dummy NODE_AUTH_TOKEN export (<a href="https://redirect.github.com/actions/setup-node/issues/1558">#1558</a>)</li> <li>Additional commits viewable in <a href="https://github.com/actions/setup-node/compare/v6...v7">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> |
||
|
|
cf52284589 |
chore(deps): bump tokio from 1.52.3 to 1.53.1 (#4436)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.52.3 to 1.53.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tokio-rs/tokio/releases">tokio's releases</a>.</em></p> <blockquote> <h2>Tokio v1.53.1</h2> <h1>1.53.1 (July 20th, 2026)</h1> <h3>Fixed</h3> <ul> <li>signal: restore MSRV by removing <code>OnceLock::wait</code> from the Windows handler (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8300">#8300</a>)</li> </ul> <h3>Fixed (unstable)</h3> <ul> <li>time: fix alt timer cancellation and insertion race (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8252">#8252</a>)</li> </ul> <h3>Documented</h3> <ul> <li>runtime: remove dead link definition in Runtime::block_on (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8301">#8301</a>)</li> </ul> <p><a href="https://redirect.github.com/tokio-rs/tokio/issues/8252">#8252</a>: <a href="https://redirect.github.com/tokio-rs/tokio/pull/8252">tokio-rs/tokio#8252</a> <a href="https://redirect.github.com/tokio-rs/tokio/issues/8300">#8300</a>: <a href="https://redirect.github.com/tokio-rs/tokio/pull/8300">tokio-rs/tokio#8300</a> <a href="https://redirect.github.com/tokio-rs/tokio/issues/8301">#8301</a>: <a href="https://redirect.github.com/tokio-rs/tokio/pull/8301">tokio-rs/tokio#8301</a></p> <h2>Tokio v1.53.0</h2> <h1>1.53.0 (July 17th, 2026)</h1> <h3>Added</h3> <ul> <li>fs: implement <code>From<OwnedFd></code> and <code>From<OwnedHandle></code> for <code>File</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8266">#8266</a>)</li> <li>metrics: add task schedule latency metric (<a href="https://redirect.github.com/tokio-rs/tokio/issues/7986">#7986</a>)</li> <li>net: add <code>SocketAddr</code> methods to Unix sockets (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8144">#8144</a>)</li> </ul> <h3>Changed</h3> <ul> <li>io: add <code>#[inline]</code> to IO trait impls for in-memory types (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8242">#8242</a>)</li> <li>net: implement UCred::pid on FreeBSD (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8086">#8086</a>)</li> <li>net: support Nuttx target os (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8259">#8259</a>)</li> <li>signal: refactor global variables on Windows (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8231">#8231</a>)</li> <li>sync: <code>mpsc::{Receiver,UnboundedReceiver}</code> now drops waker on drop, even if there are still senders (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8095">#8095</a>)</li> <li>taskdump: support taskdumps on s390x (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8192">#8192</a>)</li> <li>time: add <code>#[track_caller]</code> to <code>timeout_at()</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8077">#8077</a>)</li> <li>time: consolidate mutex locks on spurious poll (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8124">#8124</a>)</li> <li>time: defer waker clone on spurious poll (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8107">#8107</a>)</li> <li>time: move lazy-registration state into <code>Sleep</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8132">#8132</a>)</li> <li>tracing: remove unnecessary span clone (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8126">#8126</a>)</li> </ul> <h3>Fixed</h3> <ul> <li>io: do not treat zero-length reads as EOF in <code>Chain</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8251">#8251</a>)</li> <li>net: use getpeereid for QNX peer credentials (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8270">#8270</a>)</li> <li>runtime: avoid illegal state in <code>FastRand</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8078">#8078</a>)</li> <li>sync: wake mpsc receiver when a queued <code>reserve[_many]</code> returns permits (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8260">#8260</a>)</li> <li>taskdump: skip double wake on <code>Trace::capture</code>/<code>Trace::trace_with</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8043">#8043</a>)</li> <li>time: avoid stack overflow in runtime constructor (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8093">#8093</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tokio-rs/tokio/commit/75fef53d0a8590c2d1dbb63672aa7b7d1ef51155"><code>75fef53</code></a> chore: prepare Tokio v1.53.1 (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8303">#8303</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/ae9d01121377cdbef32b9d5e8559843cce9f927e"><code>ae9d011</code></a> signal: restore MSRV by removing OnceLock::wait from the Windows handler (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8300">#8300</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/eb4988dc2ecb85d2617971fbbabc84938c141bfd"><code>eb4988d</code></a> time: fix the loom test of the race between cancellation/insertion (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8302">#8302</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/91d3b4c0bccf2234fc3ed19e605e2cd402f19437"><code>91d3b4c</code></a> time: fix alt timer cancellation and insertion race (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8252">#8252</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/a46338401b9e0ffc9bd68c31100ee99cee717481"><code>a463384</code></a> runtime: remove dead link definition in <code>Runtime::block_on</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8301">#8301</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/be689a35f5ade5a39e507f79d3ec85cdab27806f"><code>be689a3</code></a> chore: prepare Tokio v1.53.0 (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8294">#8294</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/50f76c71ec7203013f7f0cda59deaa9016e93939"><code>50f76c7</code></a> chore: prepare tokio-macros v2.7.1 (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8295">#8295</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/f61fccad3cd598cce743fc511a983364b77af92a"><code>f61fcca</code></a> Merge 'tokio-1.52.4' into 'master' (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8290">#8290</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/efdba5fcf02c4b93d379114df136b994c3b21445"><code>efdba5f</code></a> chore: prepare Tokio v1.52.4 (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8289">#8289</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/b0ba02e75507518baed6718b0c37105e430f3a93"><code>b0ba02e</code></a> Merge 'tokio-1.51.4' into 'tokio-1.52.x' (<a href="https://redirect.github.com/tokio-rs/tokio/issues/8288">#8288</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tokio-rs/tokio/compare/tokio-1.52.3...tokio-1.53.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
a0cb927ddb |
chore(deps): bump portable-atomic from 1.13.1 to 1.14.0 (#4438)
Bumps [portable-atomic](https://github.com/taiki-e/portable-atomic) from 1.13.1 to 1.14.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/taiki-e/portable-atomic/blob/main/CHANGELOG.md">portable-atomic's changelog</a>.</em></p> <blockquote> <h2>[1.14.0] - 2026-07-17</h2> <ul> <li> <p>Guarantee that <code>is_lock_free</code> to always return the same result. (<a href="https://github.com/taiki-e/portable-atomic/commit/e74f384efab9eae540087a20ed140dddc0d06ce7">e74f384</a>)</p> </li> <li> <p>Fix bug in 128-bit <code>fetch_{min,max}</code> on pre-z196 s390x. (<a href="https://github.com/taiki-e/portable-atomic/commit/a6c6c4bdb7c1b4f9d406ebbdcc54805e5e7eec10">a6c6c4b</a>)</p> </li> <li> <p>Fix bug in atomic float <code>fetch_{add,sub,max,min}</code> on AArch64 when FEAT_LSFE is enabled. (There are currently no known CPUs that support FEAT_LSFE.) (<a href="https://github.com/taiki-e/portable-atomic/commit/b105f9bc612e07c6f6a07291fa2be8cba38fa5df">b105f9bc</a>)</p> </li> <li> <p>Fix panic in build script when custom target with non-standard name on non-nightly rustc. (<a href="https://github.com/taiki-e/portable-atomic/commit/02ca7371eecd005fa1b170c12f8a0bad5e77a7fb">02ca737</a>)</p> </li> <li> <p>Improve robustness of interrupt disable/restore on RISC-V and Xtensa. (<a href="https://github.com/taiki-e/portable-atomic/commit/88cb3d50c66569dab95cc93250bd1e4202508a65">88cb3d5</a>)</p> </li> <li> <p>Optimize SeqCst fence on x86. (<a href="https://github.com/taiki-e/portable-atomic/commit/9127b31caae0545424254b5ba6dcf5c91b7d59e6">9127b31</a>)</p> </li> <li> <p>Optimize 128-bit CAS when FEAT_LSE is not enabled. (<a href="https://github.com/taiki-e/portable-atomic/commit/671b9a89d1e324547a3f29ae09a5a306b3b54a3b">671b9a89</a>)</p> </li> <li> <p>Optimize SeqCst atomics on AArch64 Windows MSVC. (<a href="https://github.com/taiki-e/portable-atomic/commit/671b9a89d1e324547a3f29ae09a5a306b3b54a3b">671b9a89</a>)</p> </li> <li> <p>Optimize 8-bit fetch_and/fetch_or/fetch_xor/fetch_not on AVR when RMW instructions available. (<a href="https://github.com/taiki-e/portable-atomic/commit/6f2f11f243673380e8732c5c5c1e18e6a5b553ff">6f2f11f2</a>)</p> </li> <li> <p>Optimize 128-bit RMW on s390x. (<a href="https://github.com/taiki-e/portable-atomic/commit/b8c502a9238e9aed4e169f909b3d25c797f76cc4">b8c502a9</a>)</p> </li> <li> <p>Optimize run-time CPU feature detection. (<a href="https://github.com/taiki-e/portable-atomic/commit/cae703222aca87d2a014372a02afb14c0b80ed32">cae7032</a>)</p> </li> <li> <p>Enable run-time detection by default on AArch64 Apple targets. (<a href="https://github.com/taiki-e/portable-atomic/commit/6c920155e7645b859e6f667963c90f775e561213">6c92015</a>)</p> </li> <li> <p>Enable run-time detection by default on AArch64 illumos. (<a href="https://github.com/taiki-e/portable-atomic/commit/59e3636bbe5515121c137d3b939e2cd39b50f1a4">59e3636b</a>)</p> </li> <li> <p>aarch64: Support run-time detection of FEAT_LSE2 on Windows. (<a href="https://github.com/taiki-e/portable-atomic/commit/16bc44f07b0709828a9d2f100dccde7db5477794">16bc44f0</a>)</p> </li> <li> <p>Make <code>portable_atomic_no_outline_atomics</code> cfg no-op instead of compile error on unsupported architectures. (<a href="https://github.com/taiki-e/portable-atomic/commit/6b8e3eb3b92bd64a0a6516bf4f72feb467ccbb3d">6b8e3eb</a>)</p> </li> <li> <p>Improve compile-time detection of AVR target features. (<a href="https://github.com/taiki-e/portable-atomic/commit/2b5a9a4f6df1736f536aecade53181ca24446846">2b5a9a4f</a>)</p> </li> <li> <p>Documentation improvements.</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/taiki-e/portable-atomic/commit/5cfa54ab884015dc3d195648ad60f976c63024ef"><code>5cfa54a</code></a> Release 1.14.0</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/099b92819792e7ad7504e940bfefb23b2b016388"><code>099b928</code></a> Update changelog</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/c4124367b89594b1f6d5dbc493561e3bae51a324"><code>c412436</code></a> Fix bit_clear docs</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/921d719c9913f3556b69db4df910d50b50c5f57e"><code>921d719</code></a> Remove unused portable_atomic_pre_llvm_15 cfg</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/02ca7371eecd005fa1b170c12f8a0bad5e77a7fb"><code>02ca737</code></a> Do not panic in build script with odd custom target name</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/a6c6c4bdb7c1b4f9d406ebbdcc54805e5e7eec10"><code>a6c6c4b</code></a> s390x: Fix byte_wise_atomic_load</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/def5258aea655397927c1492a435eeea59fb1528"><code>def5258</code></a> ci: Temporarily disable f128 test for Windows</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/100179970a26d33f1d655325392a0dc304876758"><code>1001799</code></a> fallback: Move shared code to seq_lock_common.rs and improve tests</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/fd2f9f0b46d00abf8ea343350a93b3aa5f3ea394"><code>fd2f9f0</code></a> Update comments</li> <li><a href="https://github.com/taiki-e/portable-atomic/commit/2265f7aeceaf1a24508ffb45fb1920ce6f53d3cd"><code>2265f7a</code></a> Make cfg_*_fast_atomic_64! helper macros rustfmt-able</li> <li>Additional commits viewable in <a href="https://github.com/taiki-e/portable-atomic/compare/v1.13.1...v1.14.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
03199f2a07 |
chore(deps): bump hdrhistogram from 7.5.4 to 7.6.0 (#4437)
Bumps [hdrhistogram](https://github.com/HdrHistogram/HdrHistogram_rust) from 7.5.4 to 7.6.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/HdrHistogram/HdrHistogram_rust/blob/main/CHANGELOG.md">hdrhistogram's changelog</a>.</em></p> <blockquote> <h2>[7.6.0] - 2026-07-18</h2> <p>Note that this release bumps MSRV to 1.88 because it uses a few newer Rust features like <code>use<></code> and <code>[]::as_chunks</code>.</p> <h3>Added</h3> <ul> <li><code>HdrHistogram::value_at_quantiles</code> and <code>HdrHistogram::value_at_percentiles</code> for faster lookup of multiple quantiles/percentiles (<a href="https://redirect.github.com/HdrHistogram/HdrHistogram_rust/issues/138">#138</a>).</li> </ul> <h3>Changed</h3> <ul> <li><code>HdrHistogram::value_at_quantile</code> and <code>HdrHistogram::value_at_percentile</code> now use vectorized operations so that they should be significantly faster on larger histograms (<a href="https://redirect.github.com/HdrHistogram/HdrHistogram_rust/issues/140">#140</a>).</li> <li>All usages of <code>unsafe</code> are removed, causing serialization to be slightly slower, but safe.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/199643836b0c68a9d90d904cc3feb96b8c6e87ce"><code>1996438</code></a> Merge pull request <a href="https://redirect.github.com/HdrHistogram/HdrHistogram_rust/issues/147">#147</a> from HdrHistogram/bump-deps</li> <li><a href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/6ebf27ce946f1ff3e3112db023d1c61c5d7a859b"><code>6ebf27c</code></a> Release as 7.6.0</li> <li><a href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/659e1cc3d8c7fdb603bb8cf93328a91cd66381a2"><code>659e1cc</code></a> try to fix minimal versions</li> <li><a href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/ffe32ada367baf874f9bbfb760eb19adec73cab0"><code>ffe32ad</code></a> cargo clippy --all-targets</li> <li><a href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/8e708a705b479682c4414a85e645b117efcc54b9"><code>8e708a7</code></a> Include u64::MAX in random 9-byte-varint values</li> <li><a href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/081cd70490d67510831c612bdef64abd5f13f313"><code>081cd70</code></a> make minimal versions explicit</li> <li><a href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/9fac3cffad9d75cf933665ad5aeafe7582bade69"><code>9fac3cf</code></a> Upgrade nom to 8</li> <li><a href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/539f323976fd4b83cce6f09d8d6a927f767a3cff"><code>539f323</code></a> Upgrade rand to 0.10</li> <li><a href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/afa033ae27f59cf259dd6e849a6d04322113746c"><code>afa033a</code></a> Upgrade base64 to 0.22</li> <li><a href="https://github.com/HdrHistogram/HdrHistogram_rust/commit/f661037dc2dd495f963ceb63de2326663593b2be"><code>f661037</code></a> cargo fmt</li> <li>Additional commits viewable in <a href="https://github.com/HdrHistogram/HdrHistogram_rust/compare/v7.5.4...v7.6.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
e080db719a |
chore: Run daily flaky CI even 2h earlier (#4431)
## Description
Currently they start finishing around 9 CEST, so they can go 2 hour
earlier.
## 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.
|