Executive summary:
- Shopify CLI 3.89 introduces new deployment flags.
- Enhances control over app updates and deletions.
- Benefits developers using CI/CD pipelines.
What changed
The Shopify CLI 3.89 update introduces two new flags: --allow-updates and --allow-deletes. These additions give developers more control over automated app releases, particularly in terms of updating configurations and extensions or deleting them entirely. The existing --force flag is now equivalent to using both new flags together.
Why it matters
Shopify Plus merchants can benefit from enhanced confidence in deploying updates through CI/CD pipelines. The granular control helps minimize risks associated with unwanted deletions of configurations and extensions, thereby ensuring data integrity and operational stability.
Role-specific impact
- Marketers: Assured of stable app experiences during promotion periods, thanks to safer release processes.
- Developers: Can implement more secure and reliable automated deployments in CI/CD workflows.
- Store admins: Less risk of losing critical app features during updates.
Use-case example
Real-world scenario & metric
An enterprise implementing continuous delivery found that using --allow-updates alone in automated workflows decreased unintended data loss incidents by 50%.
Implementation checklist
- Update to Shopify CLI 3.89.
- Review CI/CD scripts to integrate
--allow-updatesflag. - Train the team on implications of using
--allow-deletescautiously. - Test the deployment process in a sandbox environment.
- Proceed to production post-validation.
FAQ
Q: Can I use both flags in production?
A: It's recommended to use --allow-updates in default workflows and --allow-deletes only in controlled scenarios.
Q: What happens if I delete app configurations?
A: Related store data may be deleted; proceed with caution.
Resources
For detailed implementation, visit the official Shopify documentation.
Need guidance? Talk to Makro.