Version history

NetStack keeps a version of your Functions every time they change, so a bad edit is never more than one click from being undone.

When a version is saved

A new version is saved whenever anyone:

  • saves, turns on or off, or deletes a Function in the dashboard,
  • changes a Function through an AI agent,
  • restores an earlier version.

Each version records every Function in the project at that moment, who made the change, and a short message such as "Updated useItem". The last 100 versions are kept.

Undo a change

  1. Open your project and go to the History tab.
  2. Press View code on any version to see what the Functions looked like.
  3. Press Restore on the version you want back.

Restoring never deletes history. It saves a new version that matches the old one, so you can undo the restore too. Live games pick up the restored Functions within about 5 seconds.

What is not versioned

History covers Functions, which are your game's code. Global properties are game data: your Functions change them while people play, so rolling them back would undo real player progress. Player and room data are not versioned either.