Retool v2.70 release notes

Code editing improvements, improvements and bug fixes!

Release 2.70.21

Published on July 2nd, 2021.

  • Fixed visual bug in app protection workflow if using a default branch other than Github default main
  • Removed checkbox for toggling Source Control downward sync

Release 2.70.20

Published on July 1st, 2021.

Code editing improvements

Great code editing ergonomics are near and dear to our hearts at Retool. We’ve recently added a few improvements that make writing JavaScript in Retool just a little bit smoother.

Inline code evaluation previews now display the type of the returned value. This is handy for quick reference when working with properties that can accept multiple types:

Retool now also supports and correctly lints ES2020 features, like the nullish coalescing operator and optional chaining. You can replace clunky expressions like {{ (localStorage.values||{}).userStatus ? localStorage.values.userStatus : 'Unavailable' }} with a simple {{ localStorage.values.userStatus ?? 'Unavailable' }}.

Lastly, we’ve improved Retool’s autocomplete to properly infer JavaScript types and offer the available methods and properties, even when chained. If using inline JSDoc comments, the defined parameters will also show up the autocomplete menus.

Fixes and improvements

  • Added ES2020 support to Retool’s code linter
  • Added the returned value type to inline code evaluation previews
  • Fixed a memory leak issue causing unneeded query results to be retained
  • Fixed undo/redo when renaming components
  • Added support for the insertMany action type for MongoDB queries
  • Adds links to GitHub commits in the History tab for Source Control commits.
  • Added text color settings to the Rich Text Editor component
  • Added support for the style attribute in Text component content
  • Added support for setting the client ID and secret for JIRA resources
  • Added a way to restrict which user groups can run a query via a query's "advanced" tab in the query editor
  • Added a permission group setting to grant access to the audit log for non-admins
  • Added the ability to set a custom content-type on a S3 upload query
  • Added the ability to browse MongoDB collection schemas in the query editor
  • Added more defaults to MongoDB fields in the query editor
  • Added the ability to name Protected App branches before creating them
  • Fixed the distanceMatrix endpoint for the Google Maps integration
  • Added the ability to automatically format JS queries
  • Fixed alignment of profile photos in permissions settings
  • Added 20+ app edit descriptions for the history tab in "Releases and history"
  • Upgrade the Presto JDBC driver to v350; Support the source connection parameter.
  • Fixed a bug where we were incorrectly checking license keys for airgapped deployments
  • Added a new page–Environment Variables–in Settings for debugging (Beta)

Upgrade Guide

If you're upgrading from the Retool v2.69 series, note that this release contains database migrations. Please make sure that the migrations run successfully.

If you're upgrading from a different, older version of Retool, please follow the Updating Retool On-Premise guide.

Did this page help you?