"""MeshBay common — shared crypto primitives and protocol types.""" __version__ = "0.13.0" # 0.2: added PING/PONG, and `before`/`has_more` on chat history. Both are # additive — an 0.1 peer sends no `before` and gets the newest page, which is # what it wanted — so this is a MINOR bump, not a MAJOR one. # 0.4: added `apps_enabled`/`apps_enabled_ack`, and `enabled_apps` on the # handshake ack, for the group-applications registry. Additive — a node that # predates it is never sent the op, and a client that predates it never looks # for the field — so this is a MINOR bump too. # 0.5: added `width`/`height`/`display_title`/`season`/`episode` to # `IndexEntry`, started populating the already-declared `duration`/ # `thumb_hash`, and added `media_meta_req`/`media_meta_resp`, for the Videos # group app. Additive — an older client simply doesn't render the new # fields — so this is a MINOR bump too. # 0.6: added `season_meta_req`/`season_meta_resp` (per-season TMDB overview, # rather than one static show-level summary applied to every season alike) # and `tmdb_search_req`/`tmdb_search_resp` + `tmdb_override`/`tmdb_override_ack` # (an operator correcting a wrong automatic TMDB match, found live against a # real show fragmented across TMDB entries per season). All additive. # 0.7: added `tmdb_enabled`/`tmdb_enabled_ack` — whether TMDB is used moved # from a node-wide setting to per-group (an operator running a real media # library alongside test/demo groups on one node wants outbound TMDB traffic # for one, not all of them). `tmdb_config`/`tmdb_config_ack` keep their name # but now only cover the token/language, which stay node-wide. Additive: an # older client simply never sends/handles the new pair. # 0.8: added `artist`/`album`/`track_no` to `IndexEntry`, and # `musicbrainz_config`/`_ack`, `musicbrainz_enabled`/`_ack`, # `music_meta_req`/`_resp`, for the Music group app (docs/musicbay.md). # Same shape as 0.5-0.7's Videos additions, and reuses `duration`/ # `thumb_hash`/`display_title` rather than declaring new ones. Additive: # an older client simply doesn't render the new fields or send the new # messages. # 0.9: added `audio_transcode_req`/`_resp` — WMA and Musepack tag/cover # fine but decode in no mainstream browser's