Skip to content

What's New

Platform 2020.03.30

Platform · 2020.03.30 · 30 March 2020

ImprovementNew FeatureBug FixOn production sites

On production sites

This release simplifies names and folders, and changes a few defaults.

Names come from file paths

The name of admin resources such as authorization policies, notifications, forms and model schemas is now taken from physical_file_path. For example, app/authorization_policies/dir/my_policy.liquid gets the default name dir/my_policy. You can still set your own name with the name attribute.

Simpler folders for notifications

The notifications folder structure is now flat. The new folders are app/emails, app/smses and app/api_calls. For example, instead of app/notifications/email_notifications/my_email.liquid, you can now use app/emails/my_email.liquid.

Change a property type and keep your data

When you change the type of a property, for example from string to integer, Insites updates all the data for you. If a value cannot be converted, you get a validation error and deploy or sync fails until you fix the data, for example with GraphQL mutations.

Deleted records are hidden by default

The models and users queries no longer return deleted objects by default. To get soft deleted records, filter on the deleted_at field.

More JWT algorithms

The JSON Web Token (JWT) filters support more algorithms, and you can set the algorithm for the JWT mutation.

Also in this release

  • Extra validation checks that physical_file_path has the right extension, for example liquid for forms and authorization policies and yml for model schemas
  • The error message for layout_path and layout no longer shows the confusing layouts/ prefix in its suggestions
  • Better validation of domain names