Platform 2020.06.15
On production sites
This release makes form default payloads simpler and API call errors clearer.
No more if form check in default_payload
You do not need {% if form %}...{% endif %} in a form's default_payload anymore. When Insites checks that default_payload is valid JSON, it no longer runs Liquid if the payload has a Liquid tag. This also means code is not run by accident during sync or deploy.
Clearer API call notification errors
API call notifications handle more error cases better, for example error responses from the target endpoint such as a timeout or an SSL error.
Also in this release
- The
formatproperty of API call notifications is deprecated. It was used only for validation - Clearer error message when you use
related_modelwith apropertyinjoin_on_propertyof typearray - Clearer error messages for
admin_mutation_*mutations, such as a physical file path that is already taken or a Liquid syntax error - Fixed an error when
nullis given asrequest_headersin an API call notification