History and freeing space

See and restore earlier versions of an item, project or account from the last 30 days, and free up space if your history fills up.

Every time you save an item, project or account, StackHangar keeps the version it replaced for 30 days. You can compare an earlier version with the current one and restore it. This page explains how, and what to do if your history fills up.

Earlier versions are encrypted like everything else. They are decrypted on your device only.

#Open the history of a record

  • On an item page, select History.
  • On an account on the Accounts page, select History.
  • On a project page, open Project settings and select Project history.

The page is titled History followed by the record's name.

#Read the history

  • Current version shows when the current version was saved.
  • Earlier versions lists each older version with when it was replaced. For each one, Differs from the current version shows the fields that changed, this version beside the current one. Secret values stay hidden.
  • If a version is the same as the current one, it says so.

Earlier versions are kept for 30 days, up to 10 per record. History keeps the newest 10 versions plus one per day.

#Restore an earlier version

  1. Select Restore this version on the version you want.
  2. Read the confirmation, then select Yes, restore.

Restoring saves the earlier version as a new current version. The version it replaced goes into the list, so you can undo a restore the same way.

Warning

If a restore would bring back an older secret value or deploy target, StackHangar warns you. If you changed or removed it because it leaked, don't restore that version.

Restoring adds a version, which can push the oldest one out of history for good. The confirmation tells you when that will happen.

You can't restore into a deleted record. Restore it first from Recently deleted, the link at the top of the Vault page.

#Recently deleted

Deleted items, projects and accounts stay in Recently deleted for 30 days. Open the page and restore one from there.

#If your history is full

Your vault can hold up to 20,000 saved versions in total. If that limit is reached, saves are refused and you see a message with a Free up history space link.

  1. Open Settings and find Record history. The Free up history space link goes straight there. See Account settings.
  2. Select Free up space. The table shows how many versions were saved on each day (UTC).
  3. Pick a day under Delete versions saved since, or select a day in the table. The page shows how many versions will be deleted.
  4. Select Delete with passkey and complete the passkey check. See Passkeys.

Deleting is permanent. It removes the versions saved since that day, including your own edits. Each record keeps how it stood at the start of that day. Your other signed-in sessions are signed out.

If you didn't make thousands of changes, another session may be writing to your vault. Rotate your vault key first, then free up space. See Account settings.

#If something goes wrong

  • "No history for this" means the record was permanently removed or the link is out of date.
  • "Couldn't load the history" means the history couldn't be read. Try again.