Version and release apps
Learn how to version apps or revert changes to a previous state.
You can use the Releases feature to version and release apps. Each release has its own version number and reflects the app's state at that specific point in time. Once you publish a release, it becomes the live version with which all users interact. This allows you to safely test, build, and release changes without disruption.
Retool also maintains a complete history of changes. You can browse through the list of changes or versions, and revert an app to a previous state.
Any changes you make to a Retool app are automatically saved to the current working version. This version is live to all users by default and immediately reflects your changes. This version isn't numbered and is referred to as latest
.
Releases
You can version the current state of Retool apps and release them to users. Whenever you publish a release, it becomes the live version in user mode. You can change the published release at any time, create draft releases, and revert the current working version to changes from an earlier version.
After you publish the first release for an app, you can make changes to the current working version without affecting users.
Manage releases
You can access the Releases settings in two ways:
- Click the Releases and history icon in the left panel.
- Click the published release version number displayed in the status bar.
The Releases tab contains information about release versions. The published release includes a Live tag.
Property | Description |
---|---|
Version number | The version number for the release (e.g., 1.0.2 ). |
Description | The description for the release. |
Author | The Retool user who created the release. |
Last published date | When the release was last published. |
Last changed date | When the release was last modified. |
Use {{retoolContext.pageTag}}
to reference the version number in the app.
Create a new release
Click Create new to create a version for release. Retool uses Semantic Versioning and automatically increments the version number based on your selection of Major, Minor, or Patch versioning.
Once you provide a description and selecting the version number to increment, you can create a draft release or create and publish a release immediately.
Create a new draft release
To create a draft release, click Create draft release.
A draft release is not initially published as the live version. This is useful if need to wait (e.g., conduct further testing) or are working on significant changes and may create subsequent releases before publication.
If you create a draft release and make further changes, you must create another release.
Create and publish a new release
To create and publish a new release, click the dropdown button and select Create and publish. The release is immediately published as the live version for all users.
Preview a release
You can preview a specific version of an app in user mode. You can click the Releases and history icon in the left panel, or click on the app version in the status bar.
Publish a release
You can create a release and publish it immediately, or publish an existing release at any time. Click the Releases and history icon in the left panel and use the ••• menu to publish a release.
The release is immediately published as the live version for all users. Once published, the release displays the Live label.
Unpublish or delete releases
If necessary, you can unpublish a release by selecting Unpublish release. This action does not publish a previous release and restores the current working version, latest
, as the live version for all users.
If your want to remove any releases and are certain they are no longer needed, you can also delete them permanently.
Open a previous version of an app
Use the _releaseVersion
URL parameter to launch a specific release version of an app (e.g., _releaseVersion=1.0.2
). Refer to the URL query parameters documentation to learn more.
To view previous versions of an app, a user must belong to a permission group which has the Allow access to unpublished versions setting enabled. When this setting is not enabled, apps only show the most recently published version.