steid

@jamesgill /

steid/plans/releases.md
Markdown4.0 KBRendered·Source·Blame·History·Raw

Releases

What each release shipped, so "the previous release's schema" is a fact rather than a guess. Every migration must be one the previous release's binary can run against — the rule, and why, is in architecture.md.

Add a row when a release is cut, in the same commit that bumps Cargo.toml.

VersionDateCommitMigrations it shipped
0.1.02026-07-311111df1(none — no migrations/ directory yet)
0.2.02026-09-047fb0b5e…093030_create_orgs · …093031_create_users · …093032_create_memberships · …093033_create_sessions · …093034_add_org_bio · …093035_create_repositories · 20260828120000_create_tokens · 20260829090000_add_repository_recency
0.3.02026-09-06768d679(none new — same set as 0.2.0)
0.4.02026-09-06219c39620260906120100_add_repository_import · …120200_create_issues · …120201_create_issue_comments · …120300_create_push_events · …120301_create_webhooks · …120302_create_webhook_deliveries · …120400_add_repository_archived · …140100_add_token_lifecycle · …140200_create_labels · …140201_create_issue_labels · …180100_create_pull_requests · …180101_create_pull_request_comments · …190000_create_pull_request_labels
0.5.02026-09-10(this commit)20260906120200_create_issues · 20260908090500_create_password_resets
0.6.02026-09-20c3543e3(none new — same set as 0.5.0)
0.7.02026-09-26(this commit)(none new — same set as 0.5.0)

The … stands for the leading 202609061 / 20260804 of the timestamp; the full file names are in migrations/.

0.6.0 is the first release published from https://releases.steid.dev (decision 0009) and the first version cloud-init can install headlessly. Cargo.toml and install.sh have said 0.6.0 since the boot-time owner landed (2026-09-13); the release was not cut until the host existed, so no artefact has ever carried 0.6.0 and the number is published as-is rather than bumped. jpgill.dev still serves up to 0.5.0 at the old path and mirrors 0.6.0 onwards.

0.7.0 is the control plane's three asks — steid restore --replace, install.sh --operator-token, and disk on /api/instance — and is the upgrade target the control plane's own upgrade step needs in order to have ever run against a box. It is cut here but not published; publishing is the author's (./deploy.sh --publish or --publish-s3-only), and until then nothing changes for anyone.

Unreleased

0.8.0 adds one migration — 20260927100000_create_instance_settings.sql, the single-row table holding home_org_id. It is an expand step and nothing else: a create table plus the one insert that seeds the row, no column added to an existing table, nothing dropped or renamed. The previous release's binary neither reads nor writes it, and reads nothing it changes, so the old process can keep serving while the new one migrates — which is the rule architecture.md states.

Everything before it shipped with 0.5.0; 0.6.0 and 0.7.0 add none.

Where the last release's set actually lives

The cumulative file list of the newest released version is a const — RELEASED_0_4_0 in src/infrastructure/database_compat_tests.rs. That is what the replay test reads, so it is the authoritative copy; a test asserts it is a prefix of migrations/ in timestamp order, which catches a typo and catches a migration back-dated in front of a released one.

The table above is the human record and must be updated to match. When a release is cut: add its row, rename the const and replace its contents with the full cumulative list at that tag. 0.6.0 and 0.7.0 are the exception that proves the rule — neither shipped a new migration, so the cumulative list is byte-for-byte 0.5.0's and the const keeps that name rather than being renamed to say the same thing twice.