Skip to main content

Module update_check

Module update_check 

Source
Expand description

Version update check with caching.

Checks GitHub Releases for newer versions and notifies the user via stderr. Results are cached for 24 hours to avoid excessive API calls.

Structs§

VersionStatus
Resolved version information for the current installation.

Enums§

InstallMethod
Detected installation method.

Functions§

check_and_notify
Run the update check and print a notice if a newer version is available.
detect_install_method
Detect how devboy was installed by examining the binary path and environment variables.
is_newer_version
Compare two semver-like version strings. Returns true if latest is newer than current.
resolve_version_status
Resolve version status using the cache first, then GitHub as a fallback.