Skip to content

v0.10.0 "Durable Diagenesis"

Choose a tag to compare

@expede expede released this 27 Mar 02:58
· 83 commits to main since this release
479980d

Note

Diagenesis (/ˌdaɪ.əˈdʒɛnəsɪs/) is the process of physical and chemical changes in sediments first caused by water-rock interactions, microbial activity, and compaction after their deposition.

Wikipedia

Disconnect handling

  • WebSocket onclose now closes the inbound channel, fixing zombie "0 peers" connections
  • disconnect() actually works (was a no-op)
  • onDisconnect(callback) on all transport factory methods — fires with PeerId on connection loss

Remote Heads

  • Per-peer monotonic counter on outgoing heads prevents stale updates on non-TCP transports
  • FilteredHeadsNotifier — staleness filter that's impossible to bypass
  • RemoteHeadsObserver callback for application-level heads tracking
  • New HeadsUpdate message for post-ingestion acknowledgment

Ephemeral messages

  • Wasm ephemeral message dispatch fully wired
  • JS onEphemeral callback support