Skip to main content

Changelog

Updates, changes, and improvements at Retool.

7 posts tagged with "Code"

View All Tags

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.

Debug Tool searching

Lam Tran
Software Engineer

This change is live on Retool Cloud and it will be included in upcoming edge and stable releases of Self-hosted Retool.

Searching is now supported in the Console and State tabs of the Debug Tools.

Users can search logs and states using any free text, negation, regex, or exact phrases:

  • Free text: Matches any string.
  • Negation: Prefix with - to exclude a match. For example: -error
  • Regex: Use slashes for regex. For example: /^foo/
  • Exact phrases: Wrap multi-word strings in quotes. For example: "query failed"

You can combine search terms using spaces (e.g. "query failed" -/error/ success).

App-related Debug Tool improvements

Lam Tran
Software Engineer

Improvements to Debug Tools in the App IDE are now available.

This update includes the following changes and improvements to the Debug Tools:

  • New filters in the Linting tab: Errors and Accessibility.
  • New filters in the Performance tab: Severe, Moderate, and Minor.
  • In-line actions for automatic performance optimizations.
  • Actionable recommendations to the most common performance bottlenecks.
  • Links to relevant docs for further learning.
  • Removal of performance score and app stats.

Refer to the Web app and Mobile app best practices guides for more information.

Dynamic queries

Huy Quang Pham
Software Engineer

Dynamic queries enable users to access several different resources from a single query. These queries decrease the maintenance burden for apps that need to query various similar resources.

Some example use cases for dynamic queries include:

  • An app for your support team to interact with customer data when every customer’s data is hosted on a standalone database with unique credentials.
  • An admin panel to measure the health of customers’ deploys when every customer has their own tenant.
  • A generic budget dashboard for client projects when every client has their own database.

Offline mode is now available in Retool Mobile

Offline mode in Retool Mobile enables users to continue performing read and write actions whenever the internet connection is lost.

Reads: Screens and parts of the app that users have visited while online are cached and available when the device is offline.

Writes: Users can continue performing write actions with cached data. Once the connection is restored, Retool Mobile syncs the changes back to the server.