The Wire · Showcase
SHOPIFY CLI 4.6.0 SHIPS WITH FUNCTION PROFILING AND SOURCE MAP FIXES
By RepoJournal · Filed · About Shopify
The Shopify CLI gains WebAssembly performance profiling for app functions while fixing a critical bug that broke UI extension source maps in local development.
Shopify CLI 4.6.0 [1] landed with meaningful improvements across the developer experience stack. The release removes deprecated extension processes and dev session branching [1], but the two features that matter most are profiling and debugging. You can now profile app functions directly from the CLI with a new `--profile` flag that forwards to Function Runner and outputs Speedscope-compatible data [2], solving the long-standing gap between what the runner could do and what developers could actually use. More critical: UI extension source maps are now served correctly during `shopify app dev` [3], restoring DevTools visibility after a regression left the dev server 404ing map requests. The CLI also adds `--flags` to skip interactive prompts during app config linking [1] and fixes a domain-matching bug in storeByDomain that could connect to the wrong store on substring domains [1]. Security-wise, loadtest header injection domains have been narrowed [4], reducing surface area. This is a solid incremental release with two bugs that needed fixing and one powerful new capability for performance-conscious function developers.
One email a day. Unsubscribe in one click.
Keep up with Shopify in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Upgrade to Shopify CLI 4.6.0 if you're debugging UI extensions or profiling functions Shopify/cli [plan]
- → Update if you use storeByDomain with substring-matching domain logic Shopify/cli [immediate]
- → Enable Claude Code plugin hints if running CLI in Claude Code environments Shopify/cli [monitor]
References
- [1] 4.6.0 ↗ Shopify/cli
- [2] [Feature] Add profiling to app function run ↗ Shopify/cli
- [3] Serve UI extension source maps during app dev ↗ Shopify/cli
- [4] Narrow loadtest header injection domains Shopify/cli