Skip to main content

Changelog

Updates, changes, and improvements at Retool.

12 posts tagged with "Source Control"

View All Tags

Multi-instance releases for Source Control

Mesi Kebede
Mesi Kebede
Software Engineer

Self-hosted organizations using Source Control to protect apps can opt into the public beta of multi-instance releases. This feature enables you to publish different release versions of apps across multiple deployment instances. This is particularly useful if you want to test a newer version of an app on a test instance first.

Support for branch merging with Source Control

Vivek Calambur
Software Engineer

Retool added support within the IDE for merging changes from your default branch into your feature branch. This feature allows developers to keep their branches aligned with the default branch through guided, in-product flows, eliminating the need to switch to external tools like GitHub or GitLab.

When conflicts arise, Retool walks developers through a conflict resolution process entirely within the IDE, including validation checks to catch errors before completing the operation.

This change also eliminates the need for catch-up commits.

Branch merging is currently rolling out in public beta on Retool Cloud and will be available on a subsequent edge version of Self-hosted Retool.

Support for Bitbucket access tokens

Vivek Calambur
Software Engineer

When setting up Source Control with Bitbucket, you can now use a Bitbucket access token instead of an app password. Access tokens provide a more secure authentication method than app passwords.

Authentication using app passwords is still supported, but Retool recommends using access tokens instead.

Protected workflows support manual releases

Joyce Wang
Software Engineer

If you use Source Control to protect a workflow, you can now create and publish releases for that workflow. This allows you to safely test and build changes without disruption. Previously, protected workflows were automatically versioned and published, and you could not publish a specific version.

With this change, users must manually create a new release in order for their latest changes to be reflected in the live version of the workflow.

Once you merge a change into the main branch, navigate to the Releases tab in the left-hand menu. In this tab, you can create, manage, and publish versions of the workflow. Refer to Version and publish workflows for more information.

This change is currently rolling out on Retool Cloud and will be available in a subsequent edge release of Self-hosted Retool.

Migration commits in source control

Retool recently made changes that make it easier to review changes in source control. Retool now separates system-generated updates related to version upgrades into their own migration commit, so your pull requests are cleaner and easier to understand.

This feature is generally available on Retool Cloud. It is available in private beta to Self-hosted Retool organizations on edge version 3.203.0-edge or later, and will be generally available in an upcoming stable release. Self-hosted Retool organizations can reach out to support to enable this feature.

What's new

Instead of bundling migration changes with user changes, they now appear in a dedicated commit.

No setup needed—this happens automatically when you make commits.

This migration commit is required to ensure compatibility with the latest Retool features. Please do not revert or modify it.

Improvements to Source Control for workflows

Shivani Kishnani
Software Engineer

Improvements to source control on Workflows are now generally available on Self-hosted Retool 3.200.0-edge and in the upcoming stable release. The following features are now supported for all users on Enterprise plans:

Retool made several improvements to the usage of Source Control with Retool Workflows. The following features are now supported on Enterprise plans:

  • Branched changes. You can now make changes to workflows using branches. Previously, all Source Control changes on workflows were branchless.
  • Multi-element branching. You can make edits to workflows on the same branch as edits to apps, modules, and Query Library queries.
  • Collaborative branches. Multiple users can commit changes and merge pull requests on collaborative branches.

This feature was previously released as generally available on Retool Cloud and as private beta for Self-hosted organizations.

Disable catch-up commits in Source Control

Vivek Calambur
Software Engineer

If your organization uses Source Control, Retool sometimes creates an automatic commit, called a catch-up commit, which keeps your branches up to date. If you want to ensure that developers in your organization retain complete control of changes within their feature branches, you can now disable catch-up commits using the following steps:

  1. Navigate to Settings > Source Control and click the Edit Settings button on the top right.
  2. Toggle on the Disable auto catch up commits setting.

If you disable catch-up commits, users in your organization must manually, outside of Retool, rebase their branch and resolve conflicts in order to keep their branch up to date.

To avoid issues with catch-up commits and other merge control mechanisms, refer to Retool's Merge conflict prevention strategies.

Test deployments for Source Control

Shannon Largman
Shannon Largman
Software Engineer

You can now test deployments when using Source Control, preventing changes that leave your Retool instance in a broken state. Retool added the Test source control changes endpoint to the Retool API, which enables you to test whether implementing a change will result in deployment issues.

You can also incorporate this check into your continuous integration process if desired.

Protect themes with Source Control

Brenna Chen
Software Engineer

Enterprise users can now protect organization-level themes using Source Control. This enables you to safely replicate organization-level theme configurations across multiple instances of Retool. You can use protected themes with any of Retool's supported source control management (SCM) providers.

Branching is not supported for themes. You can merge changes into the remote repository, but you can't create a branch for themes using Source Control.