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.liquid
you 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,liquid
for Forms, Authorization Policies andyml
for Model Schemas.
IMPROVED
name
property will be automatically derived fromphysical_file_path
for all admin resources like Authorization Policies, Notifications, Forms, Model Schemas etc. For example,app/authorization_policies/dir/my_policy.liquid
will have the defult namedir/my_policy
. For backwards compatibility, it is still possible to overwrite the default name using thename
attribute.- Deleted objects are not returned by default for
models
andusers
queries. To fetch soft-deleted records, you can still use filter fordeleted_at
field. - 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
/layout
will not include confusinglayouts/
prefix in the suggestions - Improved Domain name internal validation.