The Shopify CLI 3.89 update introduces new deployment flags, --allow-updates and --allow-deletes, allowing for specific controls over app extensions and configurations. The --allow-updates flag permits updates, whereas --allow-deletes allows the deletion of app components. When used in tandem, they replace the existing --force command, offering more granular control over what changes are deployed during automated processes.
Shopify Plus merchants gain enhanced security and functional assurance during CI/CD deployments. These new flags enable a more controlled deployment process, minimizing the risk of unintended data loss, especially in automation workflows. This is crucial for app stability and data integrity, particularly for enterprises handling sensitive store configurations.
A Shopify Plus merchant automates their app deployment using a CI/CD pipeline. By incorporating the --allow-updates flag, they achieve a 30% faster deployment time as they avoid the additional checks required by the --force command.
--allow-updates or --allow-deletes where applicable.Q: Can I use both new flags at once?
A: Yes, using both flags is equivalent to the --force command.
Q: Is it recommended to use --allow-deletes in CI/CD?
A: No, for safety, use --allow-deletes only in manual workflows due to potential data loss.
For further reading, visit Shopify CLI Deployment Documentation.
Need guidance? Talk to Makro.