{
  "version": "0.4.0",
  "previousVersion": "0.3.0",
  "date": "2026-10-19",
  "contractChanges": {
    "AUTH-BASE-001": {
      "change": "changed",
      "summary": "Install and sign in: the owner completes first-run details at /setup only when installation configuration did not already set them (SET-003), and the sign-in form fills its email from ?login_hint=, which the deployment specification declares (surfaces.app.signIn) so RER's Open app sends the claimed owner there with their email."
    },
    "SET-003": {
      "change": "changed",
      "summary": "First run and sample data: when the installation configuration sets the workspace name, timezone and currency (as rer setup and RER Managed hosting do), first-owner initialization stores them and records first run complete, so the owner's first sign-in opens /app; otherwise /setup asks first, as before."
    }
  },
  "extensionPointChanges": [],
  "migrations": [],
  "breaking": false,
  "agentUpdateInstructions": "Upgrade from 0.3.0 by merging this release into your checkout, keeping your customisations and every applied migration byte. There are no new migrations. Back up first: stop rer dev and run rer export --output exports/workspace.rer; for a hosted installation, sign in as the owner and download Settings → Export your installation → Download verified archive. Run rer install with the pinned @runeditrun/rer 0.2.68, then rer dev (local) or rer deploy (hosted). Restore: rer import --input PATH --yes restores an installation archive into a checkout, including archives made by Cradle 0.3.0 or earlier on RER Platform that carry Platform's rer_migrations ledger; the destination keeps its own migration history, and archives holding an unknown table are still refused. If you customised scripts/portability (records.mjs, worker.mjs) keep its restore wiring: migrations.mjs replays the destination's applied migrations, each with its file's SHA-256, so Base can place an older archive. Configured installs (WORKSPACE_NAME, WORKSPACE_TIMEZONE and WORKSPACE_CURRENCY set) now open /app on first sign-in instead of /setup.",
  "publicReleaseNotes": "Cradle 0.4.0 makes backups made by the previous version restore. A Cradle installation archive made on RER Platform carries Platform's migration history; Cradle mistook that history for an unknown record table and refused the restore. It now hands it to Base, which checks it against the destination's own history and leaves that history unchanged. Every record and file in the archive is restored; an archive holding a table this version does not know is still refused.\n\nSign-in is quicker on hosted installs: when RER already collected the workspace name, timezone and currency, the owner's first sign-in opens the app instead of asking again, and Open app in RER fills the owner's email on the sign-in form.\n\nNo new migrations. Cradle now pins rer 0.2.68.\n\nProduct screenshot: .github/assets/release/cradle-0.3.0-records-1440.png"
}
