Files
HellCon/CHANGELOG.md
T

176 lines
7.8 KiB
Markdown

# Changelog
## [0.0.6] - 2026-10-21
### Fixed
- Cancelling tracker reconnect now settles the pending WebSocket connection
immediately and clears its timeout. Socket send failures are reported cleanly.
- Late answers cannot reach a replacement WebRTC connection while its new offer
is gathering.
- Unauthenticated tracker messages cannot suppress valid offers or evict entries
from the replay cache.
- Rapidly accepting a reconnect proposal twice no longer starts competing key
derivations or leaves setup with an unexpected-message error.
- Tracker integration tests run in a fresh container on every invocation instead
of reusing Docker's cached test results.
### Added
- Regression coverage for tracker cancellation and failures, stale answers,
replay handling, retry limits, pairing verification, repeated acceptance and
reconnect lock handoff between browser tabs.
### Changed
- Document experimental tracker reconnect setup, privacy, revocation and limits
in the README.
## [0.0.5] - Development draft
### 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. Choose a tracker under
**Network settings → Connection discovery**; during a verified session, one
person proposes it and the other confirms it. Setup reports success only
after both browsers saved it, and later sessions compare both copies so a
pairing missing on one side is turned off on the other. Afterwards 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.