Skip to content

v0.5.0 — feeds + GSOC + PSS

Choose a tag to compare

@martinconic martinconic released this 07 May 07:43
· 17 commits to main since this release

Pub/sub milestone. Three new surfaces — feeds, GSOC, PSS — covering Swarm's "stream of updates" and "overlay messaging" primitives, all built on the SOC plumbing shipped in 0.2.

Highlights

  • bee.feeds — sequential SOC streams keyed on (owner, topic). create_feed_manifest, get_feed_lookup, fetch_latest, find_next_index (404/500 → 0), update_feed{,_with_index,_with_reference}, is_feed_retrievable. Convenience Async/FeedReader and Async/FeedWriter (bee-js shape).
  • bee.swarm.gsoc — proximity() + gsoc_mine() with bee-js search window [0xb33, 0xb33+0xffff].
  • bee.gsoc — send (signed-SOC upload), soc_address, async subscribe (WebSocket).
  • bee.pss — send(batch_id, topic, target, data, recipient=None), async subscribe, async receive(topic, timeout).
  • bee._ws.AsyncSubscription — shared async WebSocket helper (new dep websockets>=13.0).
  • Integration check feeds section: cross-validates the offline-computed chunk address against the server's reference.

210 tests pass; mypy --strict + ruff clean.

See CHANGELOG.md for full notes.

Install

```
pip install swarm-bee==0.5.0
```