The Wire · Showcase
CLI FIXES ANALYTICS BLACKHOLE, PURGES DEPRECATED COMMANDS
By RepoJournal · Filed · About Shopify
Shopify CLI's theme dev command was silently dropping analytics events on exit, and the next major release is finally shedding its legacy baggage.
The theme dev analytics fix [1] addresses a critical tracking blind spot: hitting Ctrl+C killed the process before the post-run analytics hook could fire, leaving every interrupted dev session invisible to your telemetry. This was a synchronous process.exit() problem that skipped the finally block entirely—now the CLI drains all pending handles before shutdown. In parallel, the team is cleaning house ahead of the major version bump, removing the deprecated `shopify theme serve` alias [2] and the top-level `shopify webhook trigger` command [3], both of which were hidden forwards that cluttered the command space. The CLI also flipped auto-upgrade to enabled by default [4], removing the activation prompt entirely—this one got reverted once and then un-reverted , so it's definitely shipping this time. These are the final pieces of the deprecated-flag-removal stack, positioned intentionally at the end so theme changes don't cascade.
Action items
- → Update Shopify CLI before next theme dev session to restore analytics tracking Shopify/cli [plan]
- → Remove any scripts or workflows relying on 'shopify theme serve' or 'shopify webhook trigger' top-level calls before the next major release Shopify/cli [plan]
- → Verify auto-upgrade behavior is working as expected in your environments Shopify/cli [monitor]
References
- [1] restore theme dev analytics ↗ Shopify/cli
- [2] Remove deprecated `shopify theme serve` command ↗ Shopify/cli
- [3] Remove deprecated top-level `shopify webhook trigger` alias ↗ Shopify/cli
- [4] Merge pull request #7519 from Shopify/revert-7365-revert-7341-autoupgrade-on-by-default Shopify/cli
FAQ
- What changed in Shopify on May 14, 2026?
- Shopify CLI's theme dev command was silently dropping analytics events on exit, and the next major release is finally shedding its legacy baggage.
- What should Shopify teams do about it?
- Update Shopify CLI before next theme dev session to restore analytics tracking • Remove any scripts or workflows relying on 'shopify theme serve' or 'shopify webhook trigger' top-level calls before the next major release • Verify auto-upgrade behavior is working as expected in your environments
- Which Shopify repositories shipped on May 14, 2026?
- Shopify/cli