Hello developers!
We are excited to announce that we’re ready to start rolling out Version History for Scripts!
Script version history enables you to keep track of changes made to scripts in your game over time. No action is required from your side, we plan to gradually enroll places as we scale up. It will support all workflows and will work differently based on your games settings.
Team Create with Collaborative Editing turned ON:
Once version history is enabled, you will see a new Commit Dialog when you commit scripts. This provides the ability to enter an optional commit message. Commit messages are a great way to record changes in your script(s)!
Hint: By default, commit message allows you to input multi-line comments.
You can use Ctrl + Enter / Cmd + Enter to commit right away.
Team Create with Collaborative Editing turned OFF or Team Create is turned OFF:
Your workflow will remain the same for these settings - continue to use the product as you normally would. Studio will create a script version when you Apply Edits (in Team Create) or Save to Roblox (non-Team Create).
Script Version History:
When you need to look up version history, right-click on the script in Explorer to access the new option “View Script History”
On this dialog, you’ll find useful information that you’d likely expect (version number, committed timestamp, changed by, etc).
- You can click on the “Compare with previous version” button to diff the currently selected version with the one before or select two scripts and the option changes to “Compare selected versions.”
- You can also open any selected version using “Open script” or use “Open all scripts from batch” to open all scripts in a batch.
Thank you and, as always, please let us know if you have any feedback!
Update - July 16
Script Version History is now default enabled for all TeamCreate Places, with a non-TeamCreate Beta rollout coming in the near future!
A few other things to note with this:
- For Collab-On, script commits will be created whenever a script is committed along with comments editors add. For Collab-Off, scripts will get committed whenever a script has edits Applied.
- Script Version History is viewable via the Explorer by right clicking on any script → then selecting “View Script History”
- Script History allows you to view the full history of commits made to that script instance since this feature was enabled (with comments if Collab is turned On) and view or compare past versions of the script. It will also show when the commit was made, by whom, and what other scripts were committed in the same batch.