Skip to main content
Cairn writes a new version row on every save — never overwrites. That gives you a full audit trail and lossless rollback.

Version history

Open the version history sidebar in any script editor to see:
  • Author and timestamp.
  • A side-by-side diff against the previous version.
  • A “Restore” button that creates a new version with the older content.

What’s stored per version

  • JS source.
  • CSS source.
  • The scope rules at the time of the version.
  • The user who saved it.

Rolling back

Restoring an old version writes a new script_version row. The original version remains in history — Cairn never destroys content.