Weekly Releases and the Stable Channel
SCANOSS publishes a release every week. Each has a version number,vX.Y.Z. SCANOSS’s own hosted Earnie takes each one.
A self-hosted installation upgrades about once a month, to a stable release. A stable release is a weekly release that has run on SCANOSS’s own hosted Earnie for one or two weeks without problems.
Stable is a label, not a separate build. A stable release keeps its vX.Y.Z tag, its images, and its bundle, and stable releases have no numbering of their own. Pin the version you install.
You can install any weekly release instead, without the support guarantees below.
To read the current stable version:
EARNIE_VERSION, the installer command installs the newest release.
Release Notes
Release notes for each stable release are in three places:
The changes section is written for the person who upgrades. It lists:
- the weekly releases since the previous stable;
- the upgrade steps, with a Review before upgrading list when a setting was removed or changed its default, or when a release adds a database migration;
- the
tenant.envsettings that were added, changed, or removed, with the comment for each added setting; - every new database migration, with its SQL;
- new outbound destinations, when a new or changed setting names a host. See Outbound network calls;
- dependency and toolchain updates;
- security fixes.
The Release Check
Earnie can tell your administrators in the inbox when a newer stable release exists. This release check is off by default. Until you turn it on, Earnie makes no call toget.earnie.dev, and no stable-release notification is recorded.
To turn it on:
- Set
EARNIE_RELEASE_CHECK_OPT_IN=trueintenant.env. - Run
./install.shagain from the bundle directory.
https://get.earnie.dev/server/stable. When that version is newer than the one you run, administrators get one Release available notification in the inbox. A later day doesn’t repeat it, and several API replicas record one. A development build doesn’t check.
The request is a plain GET. It carries the running version in its User-Agent, as earnie/vX.Y.Z, and nothing else: no API key, cookie, tenant name, or installation id.
- No outbound access. A host with no outbound access can still turn the check on. The request fails, Earnie logs it at INFO level, and records nothing.
- A mirror. To read the version from a mirror, set
EARNIE_RELEASE_CHECK_URLto its address. - The old setting. Earnie no longer reads
EARNIE_RELEASE_CHECK_ENABLED, and logs a warning while it is set. Earnie 0.4.8’s installer wrote that setting into every upgradedtenant.env, whether or not you chose it, so an oldtruedoesn’t opt you in. Delete the line, and setEARNIE_RELEASE_CHECK_OPT_IN=trueif you want the check.