During a session authenticated by both device identities, one person proposes a WebTorrent tracker and the other confirms it. Both contribute a nonce over the data channel; HKDF binds both device keys, the session fingerprints and the tracker URL into a non-extractable base key stored with the connection. Forget device, a replaced paired device and Turn off reconnect clear it. Reconnect joins a daily swarm derived from that key. Offers, answers and codeless wakes travel as AES-GCM envelopes bound to the tracker routing fields. The lower device key offers; the other device wakes it when it arrives second. Retries are spaced and capped, one attempt per slot runs under a Web Lock, and fresh device proofs still authenticate the session. Checked against tracker.openwebtorrent.com and tracker.webtorrent.dev with the new opt-in browser check (--tracker=<url>). Signaling v5, midnight rollover, clock skew, CSP and real-network checks remain open. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
147 lines
6.6 KiB
Markdown
147 lines
6.6 KiB
Markdown
# Changelog
|
|
|
|
## [0.0.5] - Draft (unreleased)
|
|
|
|
### Added
|
|
|
|
- A connections sidebar with up to 100 named slots. Each row shows its session
|
|
status and lets you rename or remove that connection. Switching slots keeps
|
|
live sessions and selected files; names and paired devices are saved locally.
|
|
On mobile the sidebar collapses and a bar shows the open connection and its
|
|
status.
|
|
- Remembered devices. Each browser can create an opt-in device identity with a
|
|
non-extractable private key. After one manual fingerprint comparison, a
|
|
connection pairs with the verified peer; later sessions check fresh mutual
|
|
signatures bound to both connection fingerprints. A changed key is replaced
|
|
only on explicit choice. Forget a device or delete the identity at any time.
|
|
Identity-enabled signaling uses v4; temporary v3 sessions remain available.
|
|
- Verified sessions stay open for more files: bounded queues (32 files per
|
|
side), sending in both directions, per-file acceptance, progress, and
|
|
receipts, queue removal, and incoming-file decline.
|
|
- **Disconnect**, which aborts unfinished writes, and Send/Receive navigation
|
|
within a live session. The initial receiver can send files without
|
|
reconnecting.
|
|
- Experimental tracker reconnect for paired devices. During a verified session,
|
|
one person proposes a WebTorrent tracker and the other confirms it; later,
|
|
both press **Reconnect** instead of exchanging codes. The tracker only relays
|
|
encrypted offers and answers; device proofs still authenticate the session.
|
|
See the [concept status](docs/webtorrent-reconnect.md#concept-status).
|
|
- The hosted-first, serverless [UX roadmap](docs/ux-roadmap.md).
|
|
|
|
### Changed
|
|
|
|
- Upgrade connection/session framing to v3 with per-file identifiers. Both peers
|
|
must update; v2 codes are rejected before connection setup.
|
|
- Connection codes are compressed to roughly half their length (`HC1.` plus
|
|
Base64url of deflated JSON). Each code states whether it is an offer or an
|
|
answer and carries a reference shared by both, so a pasted offer in the
|
|
answer field, or an answer to a different code, is rejected with a clear
|
|
message while the live offer stays valid. Codes from earlier 0.0.5 drafts are
|
|
rejected.
|
|
- Replace the receive-storage choice with a single **Accept file** button that
|
|
treats every file size the same: stream to Downloads where supported, else
|
|
use the native save picker, else buffer up to 64 MiB in memory and hand it
|
|
to Downloads automatically on completion.
|
|
- A completed memory download stays available via **Save again** until the next
|
|
file is accepted, including after Disconnect.
|
|
|
|
### Removed
|
|
|
|
- The downloadable single-file HTML app (`hellcon-local.html`), its
|
|
**Download app for local use** link, and `file://` support. Serve the `dist/`
|
|
build over HTTPS or open it on localhost instead.
|
|
|
|
## [0.0.4] - 2026-10-16
|
|
|
|
### Added
|
|
|
|
- Added streaming downloads for the hosted app using a same-origin service
|
|
worker with bounded buffering. Verified real 120 MiB downloads in Chromium
|
|
and Brave without the native file picker.
|
|
- Worker tests for byte counts, backpressure, cancellation, and single-use URLs,
|
|
plus a browser check that verifies actual downloaded file contents.
|
|
- Guidance to use desktop Chrome for large files in the downloaded local version.
|
|
|
|
### Changed
|
|
|
|
- Removed the app-defined 64 GiB file-size cap for streamed and native disk
|
|
transfers. Browser, filesystem, available storage, and exact byte-count limits
|
|
still apply. The 64 MiB in-memory safety cap remains in place.
|
|
- Download receive buttons now show the incoming file size instead of a size cap.
|
|
- Streaming completion reports that bytes were handed to the browser; users
|
|
should check Downloads for the final save result.
|
|
- Local `file://` copies remain independent of hosted helpers and use the native
|
|
save picker or the in-memory option. Service-worker downloads are hosted-only.
|
|
|
|
## [0.0.3] - 2026-10-09
|
|
|
|
### Added
|
|
|
|
- A downloadable single-file HTML app that can be opened directly from disk,
|
|
without the website host. Local copies can transfer files through WebRTC.
|
|
- A browser check that transfers a file between two `file://` copies.
|
|
|
|
### Changed
|
|
|
|
- Labeled the download "for local use" and documented that peers may still need
|
|
internet access and reachable STUN or TURN servers.
|
|
- Disabled the host's managed TURN credential endpoint when running from a local
|
|
file; manual TURN settings remain available.
|
|
|
|
## [0.0.2] - 2026-10-09
|
|
|
|
### Added
|
|
|
|
- Local coturn setup with temporary relay credentials issued per connection and
|
|
browser checks for UDP and TCP relay paths.
|
|
- Automated axe accessibility checks in both transfer modes and during and
|
|
after a file transfer.
|
|
|
|
### Changed
|
|
|
|
- Migrated the app, development scripts, and tests to TypeScript. TypeScript 6
|
|
keeps Vue type checking and production builds working.
|
|
- Show managed relay details in read-only fields while a connection is active.
|
|
- Improved button contrast and focus visibility with an orange accent and
|
|
slightly larger button text.
|
|
- Added a main landmark, skip link, accessible transfer-mode state, and a
|
|
heading for fingerprint verification.
|
|
|
|
## [0.0.1] - 2026-10-09
|
|
|
|
### Added
|
|
|
|
- Mandatory full SHA-256 fingerprint confirmation by both peers before sharing
|
|
file metadata or contents.
|
|
- Receiver acceptance and direct-to-disk saving in supported browsers.
|
|
- Optional TURN relaying, requiring explicit opt-in from both peers. Consent
|
|
clears after a connection completes, fails, or is reset or cancelled.
|
|
- Protocol regression tests and Chromium, Brave, and Firefox integration checks.
|
|
|
|
### Changed
|
|
|
|
- Enforced message validation, exact file sizes, and bounded buffering.
|
|
- Limited memory downloads to 64 MiB and direct-to-disk transfers to 64 GiB.
|
|
- Report transfer completion only after receiver acknowledgment.
|
|
- Updated dependencies, including the fix for the `source-map-js` advisory.
|
|
- Clarified encryption, hosting trust, connection-code privacy, and deployment
|
|
requirements.
|
|
|
|
### Fixed
|
|
|
|
- Reset failing to restore the ready state.
|
|
- Invalid answers unnecessarily destroying valid connection offers.
|
|
- Connections and unfinished disk writes surviving cancellation or tab changes.
|
|
- Completed Firefox downloads disappearing when Brave disconnected.
|
|
- Excess data, duplicate metadata, and malformed messages corrupting transfers
|
|
or causing unbounded memory growth.
|
|
- ICE gathering silently returning incomplete connection information, and
|
|
stalled transfers waiting indefinitely.
|
|
|
|
### Compatibility
|
|
|
|
- Introduced signaling and transfer protocol v2. Both peers must use the updated
|
|
app; connection codes from earlier versions are no longer accepted.
|
|
- Files larger than 64 MiB require a receiving browser with direct-to-disk
|
|
saving support.
|