Skip to main content

Module version_check

Module version_check 

Source
Expand description

Passive “new version available” check.

At startup, atomcode GETs latest.json (the same manifest /upgrade consumes) and, if the advertised version is strictly newer than what’s compiled in, surfaces a right-aligned hint on the input-box status row. Any error (network, parse, non-matching format) silently returns None — this feature must never be noisy.

Functions§

check_latest
Fetch latest.json and, if newer than current, return the advertised version. Short timeout keeps startup snappy; any error (network, HTTP, parse) returns None silently.
parse_and_compare
Compare a latest.json body against the current compiled-in version.