Updates & Versioning
Releases are git tags (v<version>) on the template repo with changes in CHANGELOG.md.
Updating
Section titled “Updating”pnpm cms:upgrade # to the latest releasepnpm cms:upgrade v0.14.0 # to a specific releaseBoth modes write an upgrade packet under .kide/upgrade/ with the plan, release notes, diffs, and backups. What happens next depends on the mode:
Package mode — the command bumps @kidecms/core in package.json and updates .kide-version. Run pnpm install, then check the packet’s careful-review.patch: template changes to files you own (a cms.config.ts API change, a script, a config) that a version bump can’t apply for you. Often it’s empty.
Embedded mode — with a clean worktree, the command also applies the managed-runtime patch (the CMS’s own code) automatically. Project-owned files are never auto-patched — they stay in careful-review.patch for review. The packet includes agent-instructions.md, so you can hand the whole thing to any coding agent:
Read .kide/upgrade/<from>-to-<to>/agent-instructions.md and complete the upgrade.Useful flags: --packet-only (write the packet, touch nothing), --agent none, --allow-dirty --apply.
After any upgrade:
pnpm install # if dependencies changedpnpm cms:generate && pnpm check && pnpm testRolling back
Section titled “Rolling back”pnpm cms:restore # restore from the latest packet's backuppnpm cms:restore --dry-run # preview firstIt refuses to overwrite files you’ve changed since the upgrade unless you pass --force.
Eject: package → embedded
Section titled “Eject: package → embedded”pnpm exec kide ejectCopies the installed @kidecms/core source into src/cms/ and links it as a workspace package — offline, version-exact, no import changes. From then on the project behaves exactly like an embedded scaffold, release packets and all.
Security advisories
Section titled “Security advisories”Fixes are published as GitHub Security Advisories. Compare affected releases with the ref in your .kide-version, and watch the repo for alerts.