Skip to main content

Bug fixes

  • [b] Backup-rename in the confirm prompt now actually writes an inline .backup copy. Previously it and [r] Rename anyway executed the exact same code path — both just relied on the full project snapshot at .trellis/.backup-<timestamp>/. The prompt’s promise of “keeps a .backup copy” was misleading. Now backup-rename writes <new-path>.backup (for rename) or <from>.backup (for delete) alongside the normal operation, so you can diff/merge your customizations against the new template without digging through the full snapshot. The prompt label now states the concrete artifact path. Default choice stays backup-rename (safest — pressing Enter never destroys edits). Pick [r] only when you’re sure your local edits are fine to move as-is.
No project file migrations in this release — pure CLI-side fix.

Migration

Run trellis update to pick up the new CLI behavior. If upgrading directly from 0.4.x, add --migrate (the 0.5.0-beta.0 breaking-change gate still applies). Install: npm install -g @mindfoldhq/trellis@beta