Skip to content

v0.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Oct 18:07
· 1 commit to main since this release

What's new in v0.3.0

Resume is now the default, and it verifies itself (protocol v2).

  • Before skipping a single byte, the sender proves each would-be-skipped
    prefix with a BLAKE3 digest; the receiver verifies its own .part
    leftovers against that proof. A stale leftover (the source changed since)
    restarts that one file instead of poisoning the transfer.
  • No flag needed anymore: interrupted transfers continue automatically.
    Opt out with --no-resume (--resume stays as a hidden no-op so old
    scripts keep working).
  • Failed sessions now keep their .part files, so the next send actually
    has something to resume.

Receiver-side size guards

  • --max-file-size <BYTES> refuses a single oversized file before any
    byte is accepted.
  • --max-total-size <BYTES> refuses a session whose combined size exceeds
    the budget.
  • Both accept plain byte counts or suffixes such as 500M and 1.5G.

Protocol

  • Protocol version bumped to v2 for the resume-proof exchange. Older builds
    refuse the handshake with a clear unsupported protocol version error
    instead of hanging mid-transfer.
  • Human and --json summaries now include the resumed bytes
    ("resumed_bytes").

UI

  • State lines (sender went away, resuming 8.7 MiB, skipping 8.7 MiB)
    are printed persistently instead of vanishing behind a redrawn spinner.
  • The receiver's per-file progress bar now shows the correct total.

New end-to-end coverage: proof-rejected restarts, --no-resume, both size
guards, and fully organic interrupt-then-resume sessions against the same
receiver (57 unit + 27 end-to-end tests). The README demo GIF was
re-recorded and shows the whole interrupt/resume flow.

Full changelog: v0.2.0...v0.3.0