What's Changed
App
- Run
shopify app dev --storeon a dev store withSHOPIFY_SERVICE_ACCOUNT_TOKEN. - Add
--fail-on-unresolvedtoshopify app security review, so an unresolved check or one with no result fails the gate. - Run the deterministic
app security checksource rules that don't need React Router on any JavaScript or TypeScript app, and add aWEAK_SHOP_VALIDATIONrule for shop-domain checks that aren't anchored. - Add
--sariftoshopify app security reviewto print the reviewed checks as SARIF 2.1.0 for GitHub code scanning and other scanning tools. - Add support for suppressing app security findings.
shopify app init --template nodeand--template remixare deprecated and now show a warning. They will be removed in the next major release. Use--template reactRouteror a GitHub template URL instead.- Stop
app security reviewfrom calling deterministic-only checks passed, say how many checks still need the coding agent and how to run them, and print suggested commands'--pathas an absolute path when the app is outside the working directory. - Report configuration lines for callback URL, ScriptTag scope, and API version findings in
app security check, with distinct keys for insecure URLs. - Fix four
shopify app security checkagent prompts that could skip real issues:MISSING_EMBEDDED_CSPnow detects embedded apps fromembedded = true,SSRF_REQUEST_FORGERYandSCRIPT_TAG_URL_INJECTIONno longer treat an https-only URL as safe, andTHEME_EXTENSION_XSSno longer exemptsescapein executable contexts ortextContenton<script>elements - Report the correct source lines for API version and offline token findings after line comments in
app security check. - Show a clear error instead of ENOENT when
app deploy --no-buildfinds no built web pixel bundle. - Show
Extension initializedinstead ofConfiguration acceptedwhen config-only extensions start in a newapp devsession. - Explain the managed-install requirement before deploying Events subscriptions with legacy install flow enabled.
app devno longer crashes when a client of the/extensionsWebSocket sends a malformed frame.- Stop
app devfrom exiting when an/extensionsWebSocket client sends invalid JSON or an invalid message shape - Fix
spawn ETXTBSYerrors when several CLI processes download and run the same function binary at once - Stop
app buildandapp function buildfrom crashing withUnable to update lock within the stale thresholdwhen the function build lock is reported as compromised, for example on FUSE filesystems. - Keep app-specific webhook subscriptions with relative URIs when an extension hot reloads during
app dev. - Added support for optional localizable description to UI extensions dev and deploy
Theme
- Show an actionable error when Theme Check extends an unknown or missing config
- Fix 401 errors in
shopify theme devfrom the localization form and from cart and account requests under a locale or market subfolder, such as/fr/cart/add.js
CLI
- Require explicit operator permission for custom Theme Checks on
theme check,theme language-server, andtheme push --strict; ignore consent settings in theme TOML. - Stream structured execution and rebuild records from app function replay --json in watch mode.
- Add JSON lifecycle streaming to app and store GraphiQL commands.
- Support
theme language-server --jsonand--json-schemawhile preserving native LSP output and stderr diagnostics. - Add finite Liquid console execution with repeated scripts, script files, and JSON output.
- Keep npm-based auto-upgrades on the newest non-deprecated stable release in the installed major, including maintenance fixes after a newer major is released.
- Show a daily new-major upgrade notice while automatic updates continue within the current major.
- Auto-upgrade installs the exact version it checked instead of
@shopify/cli@latest, so a stale version cache can no longer upgrade you to a new major version. - Retry temporary Windows file locks when updating dev session metadata.
- Treat HTTP 520 to 524 edge responses as gateway errors, like 502, 503 and 504
- Keep Homebrew auto-upgrades on the installed formula and refresh its metadata to find same-major fixes.
- Fix the HTTP 401 that
app execute,app bulk executeand other app commands that look up a store get with a service account token that has Dev store management access. - Keep every character of table cells, such as in
shopify app versions list, when the terminal is narrower than the table. The table keeps one line per row, and the terminal wraps the long lines. - Explain theme passwords with characters that can't be sent, and locked or not yet set up stores, instead of reporting an unknown error.
- Also treat
DO_NOT_TRACK=1as an analytics opt-out, in addition toSHOPIFY_CLI_NO_ANALYTICS=1andOPT_OUT_INSTRUMENTATION=true. - Theme commands and the Admin API version check report an HTTP 5xx as a Shopify-side error with its request ID, and theme commands no longer forget the stored theme on one.
- Retry theme reads that fail with temporary Admin API errors, and show a friendly error with the request ID if they keep failing