Repository navigation
v0.4.0 — experimental library integration
Pre-releaseRelaySwarm v0.4.0 integrates holder recovery with the current Rust/WASM core and the verified-delivery, range-cancellation and relay-startup fixes from the pushed 3abac38 snapshot of PR #22. This is an experimental library release. It deploys no public service or pilot.
- Whole-object holders are charged only for judged failures. Verified delivery clears holder history, a spent replacement can re-arm after twenty seconds, and an untested holder gets one bounded trial. Eligible rotation victims are ordered by contribution tier. Rust, WASM and native discovery/selection carry the matching state and diagnostics.
peerConnections()returns accepted active native connections.onPeerDeliveryattributes only first-verified peer bytes in an accepted object. Control traffic, corrupt/duplicate/incomplete media and all-origin assembly receive no peer credit. All-origin assembly does not become a peer timing/ABR sample or renew a peer replacement.- The piece scheduler preserves verified progress when origin has reserved the tail. Reliable channels can drain a cancelled response and carry the next request. Reconnecting pools start on their first healthy relay and replay current presence to later relays while retaining bounded socket/retry ownership.
- Includes the experimental native real-time source integration delivered after v0.3.0, with guarded backend preparation and bounded TURN teardown. The native core archives are transport-independent; they do not provide the separate WebRTC transport.
Validation includes 315 JavaScript tests and 254 core-backed browser tests with one deliberate skip; Rust regressions and the shared replay; 140 verifier vectors, 48 link traces, six selection sequences and twelve discovery sequences through generated Swift bindings, with Kotlin checked in CI. Actual Chrome reliable channels survived cancellation of a 6 MiB ranged response, the drain deadline and a subsequent request. CI retains that receipt and covers media playback/recovery, broadcasting, Swift/browser interoperability, platform packaging and native realtime transport. These are local/CI results.
Download SHA256SUMS for the JavaScript tarball, standalone bundle, WASM module and JavaScript metadata. Native downloads have separate SHA256SUMS-apple and SHA256SUMS-android manifests. All three metadata files identify the tagged source. Use JavaScript and WASM files from the same release, and the matching native binary and generated wrapper together. The npm registry remains unpublished. Existing v0.3.0 assets and tags are unchanged.
Package version 0.4.0, session wire version 3, metrics version 2, commitment schemas 1/2/3 and object framing 1/2 are distinct. Kit v0.6.0 remains checksum-pinned to its published v0.3.0 core; the standalone v0.4.0 native downloads contain their matching updated bindings.
Historical R70 at 20693ea passed 15 of 16 gates: in-place renewal failed and high-quality peer delivery margin was thin. This integrated source has not rerun that distributed qualifier. Physical devices, public NAT, sustained quality and net hosting benefit remain unqualified. Applications choose media, relays, admission, trust and consent. Newer work on PR #22 after 3abac38 is excluded from this release snapshot and remains in its original branch/worktree.
Integration: #10
Included source snapshot: 3abac38
PR checks: https://github.com/forgesworn/relayswarm/actions/runs/40086279758 and https://github.com/forgesworn/relayswarm/actions/runs/40086279670