mix guise.refresh (guise v0.1.0)

Copy Markdown View Source

Pulls the current stable major versions for Chrome and Firefox from endoflife.date and rewrites priv/versions.json.

Two versions aren't fetched:

  • Edge is Chromium-based and its major tracks Chrome's, so it's derived as edge = chrome rather than fetched.
  • Safari has no clean version feed and releases only a few times a year, so it's left as-is for the maintainer to bump by hand.

This is a maintenance task — the runtime never fetches anything. Run it periodically, review the diff, and commit:

mix guise.refresh

A source that can't be fetched keeps its current value and is reported. Uses OTP's built-in :httpc, so the package pulls in no HTTP dependency.