See all services Shopify Plus Partner
Tools Developer

Enhance App Deployment with Shopify CLI 3.89 Flags

The latest release of Shopify CLI 3.89 introduces new flags for app deployment automation, ensuring safer CI/CD practices for developers.

Executive summary:

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

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

  1. Update to Shopify CLI 3.89.
  2. Review CI/CD scripts to integrate --allow-updates flag.
  3. Train the team on implications of using --allow-deletes cautiously.
  4. Test the deployment process in a sandbox environment.
  5. 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.