Skip to content

peer v0.5.2

Choose a tag to compare

@caoer caoer released this 08 Nov 20:38
· 5 commits to main since this release

peer v0.5.2 — GPL-3.0. A message's copies name its sender by party name.

  • config.json top-level name: how a record this party sent names its sender. A received record's sender is named by the roster. With no name, the sender reads as before: by party id in Telegram, by its side on the reader page.
  • The Telegram copy (v0.5.1): POST /forward carries an optional from beside peer and record; the worker heads the line with it and falls back to the record's address when a host sends none.
  • The reader feed and page (new here): a feed frame and a replayed record carry from_name, resolved from the same source. The reader page heads each message with the name and its agent, and the counterpart's full party id moves into 详情.

Install: go install github.com/caoer/peer/cmd/peer@v0.5.2 (Go 1.26 or later), or a binary below; check it against SHA256SUMS. Both report their version with peer version.

The binaries are reproducible: VERSION=v0.5.2 scripts/release-build.sh in a checkout of the tag (go1.27.3) builds the same bytes.

Protocol: https://page.sui.pics/a/peer-protocol-2ff24d5d4d58ff5b/doc.md