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.
copy link

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

  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.

Get Shopify Updates in your Inbox

Subscribe and get Shopify update in your inbox weekly!
*
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.