Default name for admin resources, modify property type, other improvements
March 30, 2020
NEW
- The notifications directory structure has been flattened - new directories are now
app/emails,app/smses,app/api_calls. For example, instead ofapp/notifications/email_notifications/my_email.liquidyou can now place it inapp/emails/my_email.liquid. - Added extra algorithms to JSON Web Token (JWT) filters and allow to specify algorithm for JWT mutation.
- Added extra validation for
physical_file_path, to make sure files have proper extensions, for example,liquidfor Forms, Authorization Policies andymlfor Model Schemas.
IMPROVED
nameproperty will be automatically derived fromphysical_file_pathfor all admin resources like Authorization Policies, Notifications, Forms, Model Schemas etc. For example,app/authorization_policies/dir/my_policy.liquidwill have the defult namedir/my_policy. For backwards compatibility, it is still possible to overwrite the default name using thenameattribute.- Deleted objects are not returned by default for
modelsandusersqueries. To fetch soft-deleted records, you can still use filter fordeleted_atfield. - When changing the type of a property, for example, from string to integer, all the data will be updated behind the scenes. In case of type casting error, a validation error message will be thrown and deploy/sync will fail, until data is manually fixed, for example, via GraphQL Mutations.
- GraphQL engine has been upgraded.
FIXED
- Error message for
layout_path/layoutwill not include confusinglayouts/prefix in the suggestions - Improved Domain name internal validation.