feat: support Hyper auto-update feed protocol via query params #1

Merged
philip-peterson merged 1 commit from update-endpoint into main 2026-05-27 23:07:53 -08:00

1 commit

Author SHA1 Message Date
Philip Peterson
726f8eb01a feat: support Hyper auto-update feed protocol via query params
Implements the Hazel/Squirrel-style update endpoint expected by the
Hyper Electron app (and the custom Linux updater).

- Endpoint at /api/update-check and /update
- Accepts query params: version, platform (or os), arch, channel
- Returns 204 or the classic {name, notes, pub_date, url?} JSON
- Supports explicit channel=canary so stable-installed clients can opt in
- Updated Release model to carry TagName and PublishedAt for proper responses

This pairs with the corresponding client change in the hyper repo
(branch: update-endpoint-quine).
2026-05-27 22:52:28 -07:00