diff --git a/src/protocol.rs b/src/protocol.rs index 6eec650..aee7e7c 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -33,12 +33,16 @@ pub const FRIENDS_PROTO: u32 = 1; /// change is isolated into its own topic + signature domain so v2 and v3 peers /// never share a swarm. Resync everyone, exactly like the W4 avatar bump. /// -/// v4 (0.6.0): `PeerState` gained an optional `music` presence field carrying a -/// current shared-listening track descriptor and playback timeline. Bytes still -/// ride the files plane by id; gossip carries only the descriptor/timeline. -/// -/// v5 (0.7.0): `MusicPresence` gained optional prefetch hints for the next -/// track so tuned-in listeners can fetch it before the DJ advances. +/// v4–v5 (0.6.0): the W22 shared-listening / music presence work. `PeerState` +/// gained an optional `music` presence field (a current shared-listening track +/// descriptor + playback timeline; the audio bytes still ride the files plane by +/// id, gossip carries only the descriptor/timeline), and `MusicPresence` then +/// gained optional prefetch hints for the next track so tuned-in listeners can +/// fetch it before the DJ advances. Both shipped together in the **0.6.0** release +/// (commit `bca2ccd`), where the const advanced straight `3 → 5`: there was never +/// a `GOSSIP_PROTO == 4` build — 4 is a skipped step. (Per `VERSIONING.md` this +/// breaking gossip change rode the `0.5.1 → 0.6.0` MINOR bump, so the discipline +/// was honoured; 0.6.1 is a wire-compatible PATCH on top, still proto 5.) pub const GOSSIP_PROTO: u32 = 5; /// File-transfer plane version (chat attachment request/stream shape). Bump on /// any change. Mirrored in [`FILES_ALPN`].