Skip to content

spore v1.46.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 16:35
· 118 commits to main since this release

Added

  • {turn} in a source's header value, in sources.json or a plugin's manifest, is the turnId of
    the turn the call is made in, filled by the runner on each call; a cell sends its root's turn.
    Beside {name}, a service behind one credential can lead what it keeps back to the spore and
    the turn that sent it. Like {name}, it is refused anywhere but a header.
  • hop on a delivery through the HTTP API (POST /v1/spores/<name>/deliveries): how many
    deliveries led to this one, a whole number from 0, kept in the inbox's new hop column
    (schema 15). {hop} in a source's header is what the turn passes on: one past the highest hop
    said to the spore since the turn began, 0 when nothing said carries one. A service that wakes
    spores with what other spores sent it can then stop a chain of turns waking each other.
  • apiCaller(name) in the library: where the HTTP API listens and the token of its caller name,
    read from api.json and the environment as the API reads them, for a program on the same machine
    that delivers through it.
  • $SPORE_SOURCE … --body - reads the request body from stdin, so a program run under exec,
    which may write nowhere, can send a body it built.