October 27, 2026
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.ymlinoffline-protocol-swifthas not run for 0.31.0 yet. - Maven Central. Both artifacts reached the Portal, but
repo1.maven.orgstill 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-leafandoffline-protocol-web. Cargo.lock,tools/embedded-footprint/Cargo.lockandtools/mls-interop/Cargo.lock. The diffs change version lines only, apart fromcrypto-bigint(below).bindings/python/pyproject.toml,bindings/react-native/package.jsonwith its lockfile, andbindings/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 warningsis clean.cargo test --workspace --no-fail-fastran all 34 targets: 3600 passed, 4 ignored, 1 failed. The failure isno_shipped_file_names_a_relay, which walks the checkout and found relay URLs only inside gitignored agent worktrees under.claude/worktreeson the machine that ran it. A clean checkout has none, and nothing in this diff names a relay.- The Nostr cryptography on
crypto-bigint0.7.10 passes the official NIP-44 vectors and the golden values for routing tags, discovery tags and record seal keys. cargo auditreports no vulnerabilities.cargo deny check advisoriesis ok.- Every lockfile and notices diff changes version lines only, apart from the two crates named above.
Before the tag
- A
workflow_dispatchdry run ofrelease.ymlfrom this branch withversion: 0.31.0anddry_run: true. offline-protocol-webis 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 aconnectedDeviceservice. - 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 atv0.30.0except the threedocs/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.Eventis not#[non_exhaustive].ephemeralonSendMessageOptionsandGroupSendOptions. Code that uses..Default::default()is fine.KeyPackagePayload.no_sessioninoffline-protocol-sealed. It has noDefault, so struct literals break; the leaf had to add the field itself.- The TypeScript
ProtocolEventunion gainsPeerRssiEvent. - 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.mdsaid 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 theSpentarm. 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 forNearbyRoom(R30). Web Bluetooth opens nothing.docs/telemetry.md: only sends that ask for an acknowledgement count towardsends_attempted_sum.crates/offline-protocol-web/README.md: this becomes the crates.io page. It now puts the relay sockets andBroadcastChannelin 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-javaand RubyGems. SECURITY.md: the supported line is now0.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 exampleSETUP.md).peer_rssiis 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.mdpointed at#c7-ordering-constraints.
Verification
- A link and anchor check over all 183 tracked
.mdfiles finds nothing broken. Its three remaining hits are example text inside backticks or a regex. scripts/check-crate-readmes.shandscripts/check-license-consistency.shpass.- No Rust guard reads any sentence this PR changes. I checked with a grep of
*.rs,*.pyand*.shfor 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.lockand the two tool lockfiles.pyproject.toml,package.json/package-lock.jsonandpubspec.yaml.THIRD-PARTY-NOTICES.md×3.- Reserve
offline-protocol-webon crates.io. The sparse index returns 404, and release.yml publishes it last. - Create the
rubygemsenvironment on this repository.RUBYGEMS_PUBLISHis set, but only thepypienvironment exists, and the pending trusted publisher must name it. - Silence two
cargo auditadvisories.cargo auditflags RUSTSEC-2026-0330 and 0331 (libcrux-kem0.0.7). It is lockfile-only andcargo denypasses, but.cargo/audit.tomlshould waive both beside the other libcrux entries. - Run a
workflow_dispatchdry run withversion: 0.31.0. The run on 2026-10-26 had no version input and stopped at the npm0.0.0-devgate, 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.