Skip to content

Releases

Nido uses CalVer: the version is the date the release was cut — v2026.10.26 — with .2, .3 added when a second release lands on the same day. The tag is the only version that means anything; the version fields in the package.json files stay at their initial placeholder because nothing reads them, so they cannot disagree with a release.

A release is a tag on main, cut by hand from the Release workflow in the nido repository. It is not on a schedule: a release is a claim that this commit is safe against someone’s family data, and that is not a judgement a cron should make unattended.

Cutting one does five things, in order:

  1. Tags the commit v<date> and creates a GitHub Release whose notes are generated from the pull requests merged since the previous tag.
  2. Builds and publishes ghcr.io/stewartshea/nido/{api,web}:v<date> — an immutable pair of images — and moves :latest to it.
  3. Waits for those images to exist in the registry.
  4. Pins the hosted instance’s manifests to the tag, in a separate infrastructure repository. Flux reconciles that repository into the cluster, so the release — not a pod restart — is what rolls production.
  5. Prints the release’s merged pull requests and the docs feature-update checklist in the run summary, so the highlight is written from the release rather than from memory.

Step 4 is deliberate, and it is the part that is easy to get wrong. A floating tag on a Deployment looks automatic and is not: the tag is resolved when a pod is created, so a release that only moves :latest changes nothing until something recreates the pod. A release that pins a version rolls the cluster when it is cut, and the manifest on the cluster says which release is running.

Tag What it is Use it for
:v<date> A release. Immutable. Anything you rely on.
:latest The newest release. Moves when a new one is cut. Trying Nido, nothing more.
:main The newest merge to main. Unreleased. Following development.
:sha-<commit> One commit, exactly. Rolling back, or reproducing a bug.
:dev The newest build of an open pull request. Previewing a change.

Pin a release tag in anything you keep running. :latest means “whatever the newest release is, whenever this container next starts”, which is a different thing from “the release I chose”.

Upgrading images does not touch your data — the databases live on a volume, never in an image. The upgrading guide covers the steps, and backup & restore covers what to do first.

Two properties of the data matter before any upgrade:

  • Schema migrations run lazily — the first time a family’s database is opened after the upgrade, not when the container starts — and they are not reversible in place.
  • NIDO_MASTER_KEY cannot be rotated. If it is lost, the family databases are unreadable, so confirm the key is safe before you touch the images.

Rolling back is safe while the newer version has not changed the data format. Pin :sha-<commit> for the exact build that was running before; that is what makes a rollback honest rather than approximate.

There is no CHANGELOG.md. The notes on the releases page are generated from merged pull-request titles, deliberately: a hand-kept changelog drifts the moment someone forgets, and a stale changelog looks authoritative while being wrong.

The trade is that generated notes list changes rather than explain them. That is why the docs carry a feature-update highlight: the notes stay the complete list, and the highlight explains one change. If a release’s pull requests touch the schema, treat the upgrade as a data-format change: read the migration itself in api/src/db-namespaces.ts and take a backup before you upgrade, rather than reading the note as a feature list.

A release that ships a user-visible feature gets one short highlight at the top of the docs page it changes. It is not a changelog: what changed, why the app can do it now, and one thing to try. The format and the removal rule live in .agents/skills/feature-update/SKILL.md.

The release workflow prints the merged pull requests, the highlights that are live, and this checklist in the run summary. After the release:

  1. Pick the change a reader would act on from the notes.
  2. Add a <!-- feature-update: v<date> --> block to the page it changes.
  3. Replace the old block on that page; fold durable detail into the body.
  4. Update the latest-release card in site/src/content/docs/index.mdx.
  5. Run npm run docs:check, then open the docs PR.

npm run docs:check fails on a marker with no close, a title that disagrees with its marker, or a tag that does not exist. It warns when a highlight is older than 60 days. The docs site workflow runs the same check on every docs change, so a broken highlight cannot reach main.

npm run docs:release prints the same checklist locally.

My Nido runs the same code under a pinned release tag, rolled by the same release step described above. There is no hosted-only build and no feature only one side can see; when My Nido is ahead of or behind what you are running, that is deployment timing, not a product difference.