RepoJournal
Shopify

Shopify

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

Pick a date

The Wire · Showcase

SHOPIFY CLI 4.2.0 SHIPS WITH THEME PREVIEW DEBUGGING AND ENV FIXES

By RepoJournal · Filed · About Shopify

Shopify CLI 4.2.0 lands with standard events inspector for theme development and fixes a critical regression in the command loader that broke lazy loading.

The headline release is 4.2.0 [1], which adds a new `--standard-events-inspector` flag to `theme preview` [2] as part of Shopify's push to standardize storefront events and actions. This unlocks better debugging for theme developers building with the new standard events spec. The same release fixes app env pull when absolute file paths are used [1] and scopes cached signed upload URLs per app, both critical quality-of-life improvements for app developers managing multiple storefronts. But the real fire was an oclif regression that landed in 4.8.4 [3]: the command loader stopped preserving the ShopifyConfig subclass, breaking lazy command initialization across the entire CLI. The team pinned oclif back to 4.8.3 to restore that behavior. On the build side, an esbuild upgrade to 0.28.1 landed in the main branch but was reverted before the release [4] because it shipped less than a week ago and violates the minimum release age policy. Your developers can upgrade to 4.2.0 with confidence.

Action items

References

  1. [1] 4.2.0 ↗ Shopify/cli
  2. [2] Add `--standard-events-inspector` flag to `theme preview`. ↗ Shopify/cli
  3. [3] Pin oclif to 4.8.3 ↗ Shopify/cli
  4. [4] Revert esbuild upgrade ↗ Shopify/cli

FAQ

What changed in Shopify on June 17, 2026?
Shopify CLI 4.2.0 lands with standard events inspector for theme development and fixes a critical regression in the command loader that broke lazy loading.
What should Shopify teams do about it?
Upgrade Shopify CLI to 4.2.0 to get the env file path fix and latest theme debugging features • If you're on an intermediate oclif version, ensure you're on CLI 4.2.0 to restore lazy command loading • Review the new `--standard-events-inspector` flag for theme preview if you're building with Shopify's standard events
Which Shopify repositories shipped on June 17, 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.