logs.gokuls.in

3 pull requests merged across 1 repo

Offline-Protocol/offline-protocol-sdk

Moves the install pins from 0.30.0 to 0.31.0: the Android and Java Maven coordinates, the Swift package's from:, the Python wheel build example, and the service image tags in the Docker README.

The browser row now links the offline-protocol-web crate, which 0.31.0 published to crates.io. It still says the JavaScript package is not published.

The Ruby row is unchanged. The publish-rubygems job in the 0.31.0 release failed, and the gem is not on RubyGems yet.

Merge only after both of these serve 0.31.0:

  • The Swift package. publish.yml in offline-protocol-swift has not run for 0.31.0 yet.
  • Maven Central. Both artifacts reached the Portal, but repo1.maven.org still returned 404 at the time of writing, which is the usual sync lag.

The version half of the 0.31.0 cut. The documentation half merged as #640. Tagging v0.31.0 on this merge publishes the release.

Version files

  • Cargo.toml: the workspace version and the eleven internal dependency versions.
  • The five local internal dependency versions in offline-protocol-sealed, offline-protocol-leaf and offline-protocol-web.
  • Cargo.lock, tools/embedded-footprint/Cargo.lock and tools/mls-interop/Cargo.lock. The diffs change version lines only, apart from crypto-bigint (below).
  • bindings/python/pyproject.toml, bindings/react-native/package.json with its lockfile, and bindings/flutter/offline_protocol/pubspec.yaml.
  • THIRD-PARTY-NOTICES.md ×3, regenerated. Versions are the only change.

No other tracked file carries 0.30.0 as a version. The remaining 0.30.0 strings are install pins in the READMEs and the Docker README, which move after publish.

crypto-bigint 0.7.6 → 0.7.10

Upstream yanked 0.7.6, 0.7.7 and 0.7.8 because 0.7.9 fixed a wrong blanket Mul impl for NonZero<T>, an API break. The RUSTSEC-2026-0387 timing fix is in all of them. A yanked version is never chosen in a fresh resolution. Users of the published crates would therefore build against 0.7.10 while CI tested 0.7.6, so the lockfile now pins 0.7.10. ctutils moves from 0.4.5 to 0.4.6 with it. Both declare Rust 1.87, the workspace minimum.

The CHANGELOG security entry, deny.toml and .cargo/audit.toml now name 0.7.10 where they said the workspace runs on 0.7.6. "Below 0.7.6" stays, because that is the advisory's range.

cargo audit waivers

RUSTSEC-2026-0330 and RUSTSEC-2026-0331 report panics in libcrux-kem 0.0.7 on a short hybrid key or seed. The crate is in Cargo.lock only under hpke-rs-libcrux, the HPKE backend the waiver file already documents as never compiled. cargo tree --workspace --target all -i libcrux-kem prints nothing. Both are added to that group in .cargo/audit.toml. deny.toml needs nothing, because cargo-deny never sees a lockfile-only crate.

cargo audit now finds no vulnerabilities.

Verification

  • cargo clippy --workspace -- -D warnings is clean.
  • cargo test --workspace --no-fail-fast ran all 34 targets: 3600 passed, 4 ignored, 1 failed. The failure is no_shipped_file_names_a_relay, which walks the checkout and found relay URLs only inside gitignored agent worktrees under .claude/worktrees on the machine that ran it. A clean checkout has none, and nothing in this diff names a relay.
  • The Nostr cryptography on crypto-bigint 0.7.10 passes the official NIP-44 vectors and the golden values for routing tags, discovery tags and record seal keys.
  • cargo audit reports no vulnerabilities. cargo deny check advisories is ok.
  • Every lockfile and notices diff changes version lines only, apart from the two crates named above.

Before the tag

  • A workflow_dispatch dry run of release.yml from this branch with version: 0.31.0 and dry_run: true.
  • offline-protocol-web is new on crates.io. It is the only new crate, so the release spends one unit of the new-crate budget, inside the burst of five. Reserving it first is not required.
  • The RubyGems trusted publisher must exist on rubygems.org. It needs no GitHub environment.

The documentation half of the 0.31.0 cut, covering v0.30.0..e07b88be (38 commits). It touches no code and no version files.

Release notes

  • CHANGELOG.md: [Unreleased] becomes [0.31.0] — 2026-10-27 (fix the date if the merge slips). Changes to the section:
  • A release header.
  • Headings in the 0.30.0 order: Security, Added, Changed, Fixed.
  • The browser work first.
  • The one inline issue link dropped.
  • The Flutter entry now says that start() on Android runs the mesh foreground service. It is new to the plugin in this range, and the manifest merges three permissions and a connectedDevice service.
  • The cold-contact entry said "every binding". It now says "from a phone too": Python, Java, Ruby and C have no Nostr driver.
  • 0.30.0 is archived to docs/changelog/0.30.md, with rows added to both archive tables. It matches the section as tagged at v0.30.0 except the three docs/ links, which are rewritten to ../.
  • docs/UPGRADING.md:
  • The current line is now v0.31.x.
  • "nine releases can break a build" becomes ten.
  • A new §29 covers what breaks at compile time and what changes at run time.

What breaks a build (checked against the diff)

  • Event::PeerRssi. Event is not #[non_exhaustive].
  • ephemeral on SendMessageOptions and GroupSendOptions. Code that uses ..Default::default() is fine.
  • KeyPackagePayload.no_session in offline-protocol-sealed. It has no Default, so struct literals break; the leaf had to add the field itself.
  • The TypeScript ProtocolEvent union gains PeerRssiEvent.
  • Flutter now exports MeshSdk.
  • No public item is removed or renamed, and there are no MSRV or toolchain changes.

Stale documentation fixed

  • ADR 0032 and docs/bridges/web.md said a rung that can never decrypt is never acknowledged and "that is not built". #631 built it. The ADR status line is amended in the ADR 0024 style.
  • docs/state-machines/group-message-lifecycle.md: the receive diagram gains the Spent arm. A frame from a member is acknowledged; anyone else's is buffered unanswered.
  • docs/security/threat-model.md, network egress: the browser now opens Nostr transport sockets from the worker (W12), plus relay and STUN traffic for NearbyRoom (R30). Web Bluetooth opens nothing.
  • docs/telemetry.md: only sends that ask for an acknowledgement count toward sends_attempted_sum.
  • crates/offline-protocol-web/README.md: this becomes the crates.io page. It now puts the relay sockets and BroadcastChannel in the worker, and WebRTC and Bluetooth on the page.
  • CONTRIBUTING.md:
  • The browser crate is the third crate with a locally declared internal dependency version.
  • The channel list names offline-protocol-java and RubyGems.
  • SECURITY.md: the supported line is now 0.31.x, and the "one number covers every channel" sentence names every channel.
  • docs/README.md:
  • 34 ADRs (it said twenty-eight) and 14 bridge rules (it said thirteen).
  • Rows for the Flutter, Web and two-device web contracts.
  • Rows for the two browser examples.
  • Generated-binding docs: five languages, not three (android-integration, ios-integration, api-reference, the example SETUP.md). peer_rssi is added to the React Native event list.
  • README.md: the browser row now names Chromium, Firefox and Safari, all of which CI runs.
  • One broken anchor: web.md pointed at #c7-ordering-constraints.

Verification

  • A link and anchor check over all 183 tracked .md files finds nothing broken. Its three remaining hits are example text inside backticks or a regex.
  • scripts/check-crate-readmes.sh and scripts/check-license-consistency.sh pass.
  • No Rust guard reads any sentence this PR changes. I checked with a grep of *.rs, *.py and *.sh for each edited file.
  • No em dashes in added prose. The only one is in the CHANGELOG release heading, which follows the existing convention.

Still owed before the tag (not in this PR)

  • Version files:
  • Cargo.toml, plus the local internal dependencies in sealed, leaf and web.
  • Cargo.lock and the two tool lockfiles.
  • pyproject.toml, package.json/package-lock.json and pubspec.yaml.
  • THIRD-PARTY-NOTICES.md ×3.
  • Reserve offline-protocol-web on crates.io. The sparse index returns 404, and release.yml publishes it last.
  • Create the rubygems environment on this repository. RUBYGEMS_PUBLISH is set, but only the pypi environment exists, and the pending trusted publisher must name it.
  • Silence two cargo audit advisories. cargo audit flags RUSTSEC-2026-0330 and 0331 (libcrux-kem 0.0.7). It is lockfile-only and cargo deny passes, but .cargo/audit.toml should waive both beside the other libcrux entries.
  • Run a workflow_dispatch dry run with version: 0.31.0. The run on 2026-10-26 had no version input and stopped at the npm 0.0.0-dev gate, after every build and test job had passed.
  • After publish: re-point the README and Docker README package pins from 0.30.0, and update the RubyGems and crates.io "not published yet" wording.