RepoJournal
Shopify

Shopify

Hydrogen, Polaris, and the CLI — the dev platform behind millions of stores

Pick a date

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

References

  1. [1] restore theme dev analytics ↗ Shopify/cli
  2. [2] Remove deprecated `shopify theme serve` command ↗ Shopify/cli
  3. [3] Remove deprecated top-level `shopify webhook trigger` alias ↗ Shopify/cli
  4. [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

Related across the cluster

For your repos

The showcase is a teaser.
Your wire is the product.

Same engine. Different stack. Below: what changes when the wire is yours.

Showcase wire

  • 14 famous open source orgs
  • One wire per day
  • Public, generic
  • Read on the web, when you remember

Your wire

  • Up to 1,500 of your repos - orgs, deps, vendors
  • Morning and evening briefs
  • Action items routed to your team
  • Slack delivery, email, breaking-news CVE alerts

Want a hands-on demo first? Ask a current user for an invite link.