hex/tests/fixtures/release-protocol/semver.json
Dax Raad 35047c88ea feat(updater): follow the channel's current release; never compare versions
Versions are display text. The updater installs whenever the channel's current release is not the running build: Linux and Windows identify it by their executable's SHA-256 (the target file itself), macOS by its exact version. required releases install without waiting for the rollout. Builds carry the channel they were published on (HEX_BUILD_CHANNEL, stamped by Release); choosing another Update channel offers that channel's current release behind a confirmation ("Switch to Stable 2.3.1") in the sidebar, Windows tray, and macOS menu, and never switches by itself. Protocol vectors from anomalyco/release a6d2387.

This build still numbers itself 2.3.2-dev.N so installs on the older newer-only client (2.3.2-dev.29) take it; the next change moves dev builds to 0.0.0-dev-<run>.
2026-10-27 16:01:28 -04:00

24 lines
525 B
JSON

{
"description": "Versions the service accepts (strict SemVer 2.0.0 without build metadata, so schema-1 clients from before 2026-10-27 parse them) and refuses. Clients never compare versions.",
"valid": [
"1.0.0",
"2.3.1",
"2.3.2-dev.29",
"0.0.0-dev-42",
"1.0.0-beta.11",
"9007199254740991.0.0"
],
"invalid": [
"1",
"1.0",
"v1.0.0",
"01.0.0",
"1.0.0-01",
"1.0.0+build",
"1.0.0-",
"1.0.0-beta..1",
" 1.0.0",
"9007199254740992.0.0",
"1.0.0-a_b"
]
}