Skip to content

chore(release): 0.12.5 - #428

Merged
ndreno merged 7 commits into
release/0.12from
chore/release-0.12.5
Nov 23, 2026
Merged

ndreno merged 7 commits into
release/0.12from
chore/release-0.12.5

Conversation

@ndreno

@ndreno ndreno commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

0.12.5: the dependency advisories published since 0.12.4, backported to release/0.12 (cut at v0.12.4). Each commit is a cherry-pick of main's commit, made with -x; the last commit sets the versions and the CHANGELOG.

Backported

main commit Change
8fe1641 deny.toml ignores RUSTSEC-2026-0543 (chrono unmaintained, no fixed version; rskafka requires chrono)
695cce3 Wasmtime 48.0.9, for RUSTSEC-2026-0566 to -0573
998fac2 (#410) tar 0.4.46 and rand 0.8.6 (GHSA-3pv8-6f4r-ffg2, GHSA-cq8v-f236-94qc)
31a933c url 2.5.9, for RUSTSEC-2026-0592

None of the advisories reaches 0.12. Each CHANGELOG statement saying so was checked on this branch's code and dependency tree, not taken from main's:

  • wasmtime-wasi is declared but nothing uses it, so it is not in the lockfile.
  • Nothing loads a component, calls get_module_export, hands a GC reference to a host function or configures a GC heap.
  • Wasmtime builds with its default features, gc and threads included.
  • rand 0.8 has no log dependency.
  • .bca archives are read with tar-rs only.
  • Neither the code nor the seven crates in the tree that depend on url (reqwest, sqlx, async-nats, ldap3, wiremock) call Url::origin().

With these, cargo deny check advisories passes on this branch. Before them, it reported the 9 vulnerabilities and chrono.

Notes

  • Lockfiles. Only the workspace Cargo.lock changes, and only in the packages named: the Wasmtime and Cranelift family, tar, rand 0.8, url and form_urlencoded, plus the nine workspace crates at 0.12.5.
  • CHANGELOG hunks. Two picks applied main's CHANGELOG hunks into 0.12's CHANGELOG and brought in main's rc.2 entries. I dropped those hunks; the release commit writes the 0.12.5 section.
  • fuzz/Cargo.lock. On release/0.12 it is stale: Wasmtime 43.0.2, and it fails --locked. 0.12.4 did not touch it. I left it alone, apart from the url pick, which applied to it cleanly. The fuzz crate is not shipped.
  • Plugin lockfiles. They still pin the SDK at 0.12.1, as in 0.12.4. The release workflow builds the plugins without --locked. No plugin lockfile pins any crate named above, except form_urlencoded 1.2.2 in request-transformer, which has no advisory.
  • CI toolchain. Stable Rust moved to 1.100 on 2026-11-09, and on it 0.12's integration tests fail before running anything: assert_cmd cannot find CARGO_BIN_EXE_barbacane, and the lifecycle tests look for the binary where cargo 1.99 puts it. The integration-tests job now pins 1.99.1, the version 0.12.4's integration tests ran on. The other jobs stay on stable, which builds, lints and unit-tests 0.12 on 1.100, the compiler the release workflow uses. main rewrote the harness's binary lookup during 1.0.0-rc.1.
  • UI E2E runner. ubuntu-latest is Ubuntu 26.04, and Playwright 1.58.2 (0.12's UI) has no Chromium build for it. The UI E2E job runs on ubuntu-24.04.
  • cross. The release workflow installed cross from the head of its repository. It now pins a9301e91, the commit v0.12.4's release used, which is also the head today. The v0.12.4 release jobs already ran on Ubuntu 26.04, so the release environment matches 0.12.4's apart from Rust 1.100.
  • Release workflow. It is unchanged since the v0.12.4 tag's successful run (2026-11-08):
    • crates publish as soon as the version and changelog checks pass;
    • the Trivy image scans upload SARIF reports and do not fail the release.
  • Date. The CHANGELOG gives 2026-11-23; adjust it if the tag lands later.

After merging, tagging v0.12.5 on release/0.12 starts the release workflow.

Not in this release

GHSA-jcq4-h44p-58m5 (trust boundary), GHSA-5rhc-w38c-cx9p (time bounds) and GHSA-j9hp-jw55-g24h (unbounded memory) are rated medium. They list <= 0.12.4 as affected, and their only fix is 1.0.0-rc.1. The stability policy gives 0.12 security fixes until 1.0.0. Backporting them is a separate decision.

The advisory, published 2026-11-17, marks every chrono version as
unmaintained; it reports no vulnerability. rskafka 0.6 requires chrono
whatever the workspace uses, so no change here removes it. The audit job
failed on every pull request. #400 moves the workspace's own uses to
`time`.

(cherry picked from commit 8fe1641)
Eight Wasmtime advisories published on 2026-11-18, fixed in 48.0.9,
fail cargo deny on every pull request. None reaches the gateway; the
CHANGELOG says why for each.

Only the 28 Wasmtime, Cranelift and Pulley packages change in both
locks: `cargo update -p wasmtime` also re-resolved Windows-only
windows-sys entries, which stay as they are on main. cargo deny's
advisories check passes and barbacane-wasm's 283 unit tests pass.

(cherry picked from commit 695cce3)
GHSA-3pv8-6f4r-ffg2 (tar, medium) and GHSA-cq8v-f236-94qc (rand, low).
Neither has a RustSec id, so cargo deny never reported them; Grype found
them in the static-image prototype (#404) through the crate list that
`cargo auditable` embeds.

Only the two packages change in Cargo.lock: a plain `cargo update -p`
also re-resolved Windows-only windows-sys entries, which are left as
they are on main.

(cherry picked from commit 998fac2)
RUSTSEC-2026-0592: `Url::origin()` recurses into a `blob:` URL's inner
URL without a bound, so a deeply nested `blob:blob:...` URL overflows the
stack. Fixed in url 2.5.9; form_urlencoded moves to 1.2.3 with it.

Barbacane does not reach it: neither its code nor any crate that depends
on url in its tree (reqwest, sqlx, async-nats, ldap3, wiremock) calls
`Url::origin()`. The bump clears the advisory gate (cargo deny), which
fails every build from today. The plugins do not depend on url.

Workspace and fuzz lockfiles; both resolve with --locked, and
`cargo deny check advisories` passes.

(cherry picked from commit 31a933c)
Versions 0.12.5, and the 0.12.5 CHANGELOG section for the dependency
updates backported from main: Wasmtime 48.0.9 (RUSTSEC-2026-0566 to
-0573), tar 0.4.46 and rand 0.8.6 (GHSA-3pv8-6f4r-ffg2,
GHSA-cq8v-f236-94qc) and url 2.5.9 (RUSTSEC-2026-0592).

Each "does not reach" statement in the CHANGELOG was checked on 0.12's
code and tree, not taken from main's: no wasmtime-wasi in the lockfile,
no component loading, `get_module_export` or GC reference in a host
function, default Wasmtime features (gc, threads), rand 0.8 without
`log`, `.bca` read with tar-rs only, and no `Url::origin()` call in the
code or in the seven crates that depend on url.
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one): 1

  • deep-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

On Rust 1.100 (stable since 2026-11-09) the integration tests on
release/0.12 fail before running anything: `assert_cmd` cannot find
`CARGO_BIN_EXE_barbacane`, and the lifecycle tests look for the gateway
binary under target/debug/build/barbacane-test/<hash>/. Cargo 1.100
puts build output elsewhere; 0.12.4's integration tests ran on 1.99.1.

The integration-tests job pins 1.99.1. The other jobs stay on stable,
which builds, lints and unit-tests 0.12 on 1.100, the compiler the
release workflow builds with. main rewrote the harness's binary lookup
during 1.0.0-rc.1 and pins its toolchain.
ubuntu-latest is Ubuntu 26.04, for which Playwright 1.58.2 (0.12's UI)
has no Chromium build: the UI E2E job failed with "Playwright does not
support chromium on ubuntu26.04-x64". It runs on ubuntu-24.04.

The release workflow installed cross from the head of its repository.
It now installs a9301e91, the commit v0.12.4's release used (and the
head today), so 0.12.5 builds its aarch64 and musl binaries with the
same cross as 0.12.4. The release jobs already ran on Ubuntu 26.04 for
v0.12.4.
@ndreno
ndreno merged commit fd0691c into release/0.12 Nov 23, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant