# What changed in @shopify/cli

> 279 changes in @shopify/cli 3 to 5 from its official release notes, upgrade guides and advisories: 34 breaking, 3 deprecations, 10 security, 39 new APIs and options. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/@shopify/cli/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @shopify/cli 5

### Breaking changes

- Removes this setting from theme app extensions; network origins should instead be declared in shopify.app.toml. (5.0.1) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.1)
- The command has been removed; use log output from app dev instead for Shopify Functions. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)
- The command has been removed; use log output from app dev instead for Shopify Functions. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)
- JSON output structures changed for some commands, and JSON output is now supported in over 90% of Shopify CLI commands. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)
- The --poll flag has been removed. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)

### Security

- Security checks account for theme app extension settings types when checking Liquid rendering safety. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)
- Adds a shared namespace metafield warning to the agentic checks in app security check. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)
- Webhook secrets are hidden in debug output. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)

### Deprecations

- This environment variable is deprecated. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)

### New APIs and options

- Use this setting in shopify.app.toml to declare network origins for theme app extensions. (5.0.1) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.1)
- Supports streaming JSON output for direct agent use. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)
- Can be used with Service Accounts to automate app releases and dev store management. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)

### Behavior and default changes

- Throttled API requests are retried with exponential backoff while respecting Retry-After. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)
- The cache is partitioned by endpoint and token. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)

### Tooling

- App commands provide improved error messages and guidance. (4.9.6, 5.0.2) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.2), [release notes](https://github.com/Shopify/cli/releases/tag/4.9.6)
- Records sessions, preview status, and JSONL logs to the filesystem so agents can reuse a running dev session. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)
- Watches fewer files by skipping Cargo target directories, Function build output, .shopify files, and editor temp files. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)
- Fixes migration detection for legacy Checkout and POS UI extensions in App Management apps. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)
- When identity verification is needed, prompts for identity in the browser; in CI, with --no-input, or with --json, stops and prints a verification link. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)

### Fixes and other changes

- Fixes shutdown errors on Windows when using a Cloudflare tunnel. (5.0.1) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.1)
- Provides a better error description for revoked or expired service account tokens. (5.0.1) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.1)
- Prevents intermittent deploy failures when UI extensions in the same folder build concurrently. (5.0.1) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.1)
- No longer fails with “Unable to determine store creation status.” (5.0.1) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.1)
- The JSON output no longer fails when Theme Check reports an offense without a known position. (5.0.1) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.1)
- Fixes links to other sites in theme dev and theme app extension previews. (5.0.1) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.1)
- No longer drops Shop scopes such as shop_app:oauth. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)
- When the browser can't open, prints the login link and waits instead of crashing. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)
- Adds graceful shutdown and child-process cleanup on Windows. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)
- Explains which access a token is missing for dev stores instead of printing a raw 401. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)
- Reports process startup failures and signal termination instead of exit code 0. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)
- Fails clearly when this environment variable is set but empty. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)
- Bundles every UI extension should_render target instead of only the last one. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)
- Works with all of a store's domains. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)
- Reports a user error instead of crashing with EISDIR when --config points to a directory. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)
- Shows the development theme instead of the live theme on stores where every market uses a subfolder. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)
- No longer fails with Bad response: 301 when --url has a query string. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)
- Keeps files inside the selected theme directory. (5.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/5.0.0)

## @shopify/cli 4

### Breaking changes

- Requires Git 2.38 or later when the scan uses Git; scans that do not use Git still run without it. (4.9.4) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.4)
- Moves import commands under a new app import topic. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- Interactive prompts are written to stderr by default. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- Removes the lax Shopify API key secret check. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- Sensitive information is redacted from device authorization debug output. (4.7.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.7.0)
- Store details are rendered as a data table with link footnotes. (4.4.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.4.0)
- The HOSTED_APPS environment variable was removed. (4.1.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.1.0)
- Shopify CLI upgrades itself through the package manager used to install it. Upgrades are skipped in CI, for project-local installs, and for major releases. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- Shopify CLI drops support for Node 20. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- The deprecated --force flag is removed. Use --allow-updates, or --allow-updates --allow-deletes to allow removals too. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- The deprecated --type flag is removed. Use --template instead. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- This deprecated command is removed. Use shopify app function schema instead. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- The deprecated --force flag is removed. Passing --allow-updates and --allow-deletes skips the confirmation prompt. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- This deprecated command is removed. Use shopify app generate extension instead. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- The deprecated --shared-secret flag is removed. Use --client-secret instead. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- This environment variable is removed. Use SHOPIFY_FLAG_EXTENSION_TEMPLATE instead. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- This environment variable is removed from shopify app deploy. Use --allow-updates, or --allow-updates --allow-deletes to allow removals too. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- This environment variable is removed from shopify app release. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- This environment variable is removed. Use SHOPIFY_FLAG_CLIENT_SECRET instead. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- This deprecated command is removed. Use shopify theme dev instead. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- The deprecated top-level alias is removed. Use shopify app webhook trigger instead. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)

### Security

- Stops the command from running a command named by a scanned repository through an empty Git remote helper. (4.9.4) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.4)
- Checks an app's source code for Shopify-specific security issues using deterministic rules and generates checks for a coding agent to investigate. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- Stops sending the Bearer token to cart, checkout, and account proxies. (4.6.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.6.0)
- Allows localhost variants and validates the host on requests. (4.2.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.2.0)
- Theme apps use a validated storefront password. (4.2.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.2.0)
- The CLI guards app bundle uploads against oversized bundles and asset paths that resolve outside the app directory. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)

### Deprecations

- `--yes` is deprecated because it only selected printed instructions. (4.9.4) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.4)
- The deprecated remix template is hidden from help and validation messages, but passing --template remix continues to work for backwards compatibility. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)

### New APIs and options

- Adds `--print-instructions` to print coding-agent instructions. (4.9.4) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.4)
- Adds --no-input to all commands. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- Adds a --json-schema flag to commands. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- UI extension metafields now allow an optional owner_type. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- Allows --config with --client-id on app deploy and dev. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- Adds --language to doc fetch. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- Adds --unsafe-validation to app dev. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- Saves a coding agent's security findings. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- Shows the combined security results. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- Functions support target-level input query variables. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- You can create dev stores from app dev, including through an option in the dev store picker. (4.8.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.8.0)
- Commands for app subscription migrations are added. (4.8.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.8.0)
- Adds flags to avoid prompts when linking an app configuration. (4.6.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.6.0)
- Can target an app configuration by client ID. (4.6.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.6.0)
- Adds the auth-alias flag. (4.6.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.6.0)
- Adds a reconciliation strategy flag to theme dev. (4.6.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.6.0)
- Adds a command to download Markdown documentation from shopify.dev. (4.3.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.3.0)
- Adds the `--standard-events-inspector` flag to `theme preview`. (4.2.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.2.0)
- Run this command with off to disable automatic upgrades. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)

### Performance

- Improves performance for extension types generation. (4.6.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.6.0)

### Behavior and default changes

- Errors and events are printed as JSON when using --json. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- theme init now defaults to stable Skeleton releases. (4.8.5) — [release notes](https://github.com/Shopify/cli/releases/tag/4.8.5)
- The command now shows the organization name and ID. (4.8.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.8.0)
- Store auth session reuse is opt-in per theme command. (4.6.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.6.0)
- Requested extension templates are filtered before flag checks. (4.3.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.3.0)
- Webhook subscription TOML validation allows kafka:// URIs. (4.3.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.3.0)
- Only .myshopify.io is treated as a normalized store FQDN suffix. (4.3.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.3.0)
- Flow action extension runtime URLs can be relative. (4.2.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.2.0)
- The extension-only template is now the default. (4.1.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.1.0)
- Setting OPT_OUT_INSTRUMENTATION=true now opts out of analytics, in addition to SHOPIFY_CLI_NO_ANALYTICS=1. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)

### Tooling

- Detects React Router code in additional directories, including servers added with --include-dir and web/ directories, enabling relevant source checks. (4.9.3) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.3)
- Adds subscription-migrations commands. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- Recovers gracefully when pnpm blocks build scripts during extension generation. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- Defines JSON output schemas for some store, app version, organization, version, config, and auth commands. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- Adds relative URL patching on contract app extensions. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- Allows --config with --client-id on app deploy and dev. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- Adds partner channel spec import. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- Removes local security results. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- Prints the workflow for a coding agent. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- The CLI supports the bundle_size_exception capability. (4.8.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.8.0)
- Configuration-only extensions now receive a default dev-session message. (4.8.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.8.0)
- The CLI reports extension compressed bundle size using Brotli. (4.8.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.8.0)
- The CLI adds support for the intercepts target capability. (4.8.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.8.0)
- The dev store creation command is no longer hidden. (4.8.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.8.0)
- The store deletion command is no longer hidden. (4.8.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.8.0)
- The command now shows context in an info banner and each store's plan, and allows filtering by store type. (4.8.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.8.0)
- Profiling is added to app function run. (4.7.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.7.0)
- CLI invocations emit a Claude Code plugin hint. (4.7.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.7.0)
- Verbose output logs the reason a token exchange fails, helping diagnose failures. (4.7.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.7.0)
- UI extension source maps are served during app dev, making them available while developing an app. (4.6.1) — [release notes](https://github.com/Shopify/cli/releases/tag/4.7.0), [release notes](https://github.com/Shopify/cli/releases/tag/4.6.1)
- Adds non-interactive prompt bypasses for app development. (4.6.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.6.0)
- Makes payments extension capability fields optional. (4.6.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.6.0)
- Introduces store commands, including listing stores and creating a store. (4.5.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.5.0)
- The CLI recognizes hyperlinks in the Ghostty terminal. (4.4.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.4.0)
- Adds a dedicated GraphiQL command for apps. (4.4.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.4.0)
- Adds bulk commands for Shopify stores. (4.4.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.4.0)
- Adds a dedicated GraphiQL command for stores. (4.4.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.4.0)
- Theme commands use store auth sessions. (4.4.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.4.0)
- The theme dev watcher ignores atomic-write temporary files. (4.4.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.4.0)
- JSON schema error messages are improved. (4.3.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.3.0)
- Adds a command for JSON documentation search. (4.3.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.3.0)
- Opens the authentication browser without a keypress prompt. (4.2.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.2.0)
- Validates --port flags using a reusable cli-kit flag. (4.2.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.2.0)
- Adds the `shopify store info --store <domain>` command. (4.2.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.2.0)
- Improves the error message shown when a theme scope is missing. (4.2.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.2.0)
- Scaffolded projects are moved to their final directory before dependencies are installed. (4.1.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.1.0)
- Optional repository checks now handle missing Git. (4.1.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.1.0)
- App template cleanup handles modern Bun lockfiles so non-Bun projects do not retain stale Bun lockfiles or .gitignore entries. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- Dev info shows a Local URL when no App URL is available. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- When a client ID does not exist for a Dev Dashboard app, the CLI displays a friendly error instead of a stack trace. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- The CLI detects files added while a dev session is running. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- For UI extension targets re-exporting ShopifyGlobal, the generated shopify binding is typed as Api & ShopifyGlobal, allowing host-level APIs such as shopify.addEventListener to type-check. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)

### Fixes and other changes

- Fixes the check that prevents the CLI from running a program found in the working directory on Windows. (4.9.4) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.4)
- Checks for Dependabot and Renovate configuration at the app's Git repository root when the app is nested below it. (4.9.3) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.3)
- Scans skip lockfiles in every directory, including paths passed with --include-dir, preventing large repository-root lockfiles from leaving the secret check unresolved. (4.9.3) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.3)
- Fixes validation of event subscription handles in stable/4.9. (4.9.1) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.1)
- Developer project errors are no longer reported as CLI crashes in build steps. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- Retries gateway failures during device authorization. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- Resolves store list --organization-id without listing every organization. (4.9.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0)
- Fixes repeated event config diffs when API versions are inherited. (4.8.3) — [release notes](https://github.com/Shopify/cli/releases/tag/4.9.0), [release notes](https://github.com/Shopify/cli/releases/tag/4.8.3)
- Fixed theme sync for this command. (4.8.2) — [release notes](https://github.com/Shopify/cli/releases/tag/4.8.2)
- Fixed theme sync for this command. (4.8.2) — [release notes](https://github.com/Shopify/cli/releases/tag/4.8.2)
- Fixed theme sync for this command. (4.8.2) — [release notes](https://github.com/Shopify/cli/releases/tag/4.8.2)
- Theme package now covers all theme files. (4.8.1) — [release notes](https://github.com/Shopify/cli/releases/tag/4.8.1)
- Theme pull now covers all theme files. (4.8.1) — [release notes](https://github.com/Shopify/cli/releases/tag/4.8.1)
- Theme push now covers all theme files. (4.8.1) — [release notes](https://github.com/Shopify/cli/releases/tag/4.8.1)
- The command now prompts to generate the localhost certificate instead of aborting. (4.8.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.8.0)
- Reauthentication after a preview store is claimed is fixed. (4.8.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.8.0)
- Invalid store execute variables are now rejected. (4.8.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.8.0)
- Fixed preview store auth recovery. (4.7.1) — [release notes](https://github.com/Shopify/cli/releases/tag/4.7.1)
- Device authorization request parameters are encoded. (4.7.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.7.0)
- Shopify Function GraphQL scalar types are fixed. (4.7.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.7.0)
- Fixes recovery from malformed local storage. (4.6.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.6.0)
- Fixes connecting to the wrong store when domains match by substring. (4.6.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.6.0)
- Fixes snippet rendering. (4.6.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.6.0)
- Handles missing theme write access during theme creation. (4.6.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.6.0)
- Fixes a warning when running theme commands in valid theme directories. (4.5.2) — [release notes](https://github.com/Shopify/cli/releases/tag/4.5.2)
- Fixes the config link when accessed from extension directories. (4.4.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.4.0)
- The CLI rejects invalid delimiters in store FQDNs. (4.4.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.4.0)
- Recovers when store info is run after a preview store has been claimed. (4.4.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.4.0)
- Fixes deploy when using --no-build. (4.3.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.3.0)
- Fixes handling of absolute env-file paths when pulling app environment variables. (4.2.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.2.0)
- Theme app extension builds respect the user's .theme-check.yml. (4.2.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.2.0)
- Fixes serving theme assets for /cdn/extensions/ requests. (4.2.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.2.0)
- Fixes hot module reloading during theme development. (4.2.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.2.0)
- Preserves the development preview theme across SFR redirects. (4.2.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.2.0)
- Fixes the unhelpful error shown when an extension locale file contains invalid UTF-8. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- Shopify CLI follows semantic versioning: new features use minor releases, bug fixes use patch releases, and breaking changes use major releases. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- Fixes a Spawn ETXTBSY bug when multiple Functions use trampoline binaries. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- Fixes intermittent UI extension build failures when local esbuild and bundle output paths resolve to the same location but differ as strings. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- Fixes analytics being dropped when the command is interrupted with Ctrl+C. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- Uploads config/settings_schema.json before other theme files, fixing first pushes when blocks or sections reference a color_palette theme setting. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- The theme dev proxy now supports SFAPI requests. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- Fixes uid being written outside the [[extensions]] block in single-entry array-of-tables TOML files. (4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0)
- Fixes the dev and build commands for web_pixel extensions. (3.94.3, 4.0.0) — [release notes](https://github.com/Shopify/cli/releases/tag/4.0.0), [release notes](https://github.com/Shopify/cli/releases/tag/3.94.3)

## @shopify/cli 3

### Breaking changes

- Removes the --routes flag and confirmation prompt from initialization. (3.91.1) — [release notes](https://github.com/Shopify/cli/releases/tag/3.91.1)
- Expected authorization errors now throw descriptive AbortErrors. (3.90.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.90.0)
- Removes the ability to sync Liquid files by checksum. (3.88.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.88.0)
- Removes support for this option; use `--client-id` instead. (3.87.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.87.0)
- Uses the handle to set the app version name, falling back to the TOML name. (3.87.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.87.0)
- Removes support for this environment variable; use `SHOPIFY_FLAG_CLIENT_ID` instead. (3.87.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.87.0)
- Cloudflare Turnstile is no longer run during local theme development. (3.86.1) — [release notes](https://github.com/Shopify/cli/releases/tag/3.86.1)
- The POLARIS_UNIFIED flag is removed. (3.86.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.86.0)

### Security

- Fixes a possible CORS vulnerability that could let a website read data from the localhost server. (3.88.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.88.0)

### New APIs and options

- Adds JSON output support. (3.93.1) — [release notes](https://github.com/Shopify/cli/releases/tag/3.93.1)
- The --development flag can be used to create a new theme. (3.93.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.93.0)
- Adds a JSON flag for theme previews, including previews via JSON. (3.93.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.93.0)
- Adds the --listing flag to theme dev. (3.91.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.91.0)
- Adds the --listing flag to theme push. (3.91.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.91.0)
- Adds the --listing flag to theme share. (3.91.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.91.0)
- Adds a command to run queries against the Admin API. (3.90.1) — [release notes](https://github.com/Shopify/cli/releases/tag/3.90.1)
- Local dev console can now be skipped. (3.90.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.90.0)
- TOML now supports configuring supported features. (3.90.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.90.0)
- ExtensionPayload now includes supportedFeatures. (3.90.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.90.0)
- Adds the `--allow-delete` flag to deploy. (3.89.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.89.0)
- Adds the `--allow-updates` flag to deploy. (3.89.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.89.0)
- Adds the `--allow-delete` flag to release. (3.89.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.89.0)
- Adds the `--allow-updates` flag to release. (3.89.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.89.0)
- Webhook subscriptions can now include an optional name field. (3.89.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.89.0)
- Adds a command to display function information. (3.87.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.87.0)
- Adds --allow-live to permit development on live themes without confirmation. (3.86.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.86.0)

### Performance

- Improves import scanning performance during app dev. (3.93.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.93.0)
- Optimizes asset checksum filtering using a Set lookup. (3.93.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.93.0)

### Behavior and default changes

- Manifest generation is skipped when the bundle directory matches the local output. (3.94.3) — [release notes](https://github.com/Shopify/cli/releases/tag/3.94.3)
- When no TOML files exist, running config link with --client-id uses the default shopify.app.toml without prompting. (3.94.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.94.0)
- Using --reset skips the TOML selection prompt. (3.94.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.94.0)
- Prompts for an alias during login when the email is not found. (3.93.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.93.0)
- Routes are now automatically scaffolded by default when initializing Hydrogen. (3.91.1) — [release notes](https://github.com/Shopify/cli/releases/tag/3.91.1)
- Feature flag gating for extension templates has been updated. (3.90.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.90.0)
- --no-release is exclusive from the new --allow flags on app deploy. (3.90.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.90.0)

### Tooling

- Footer links in app dev render as hyperlinks when the terminal supports them. (3.94.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.94.0)
- The app dev output includes a separate Dev Console link for non-embedded apps. (3.94.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.94.0)
- Extension file sizes are reported during build and dev. (3.94.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.94.0)
- Task progress bars render to stderr to reduce output noise in non-TTY environments. (3.94.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.94.0)
- Adds JSON output support. (3.93.1) — [release notes](https://github.com/Shopify/cli/releases/tag/3.93.1)
- Adds a command to validate app configuration. (3.93.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.93.0)
- App initialization can now run non-interactively. (3.93.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.93.0)
- Adds the store auth command. (3.93.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.93.0)
- Adds the store execute command. (3.93.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.93.0)
- The CLI now detects when an app dev session is taken over. (3.92.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.92.0)
- build.typegen_command is now supported for non-JS Shopify Functions. (3.92.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.92.0)
- UI extensions now emit a metafile, allowing developers to analyze their bundles. (3.92.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.92.0)
- theme pull now reports progress more accurately. (3.92.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.92.0)
- Hardcoded links are replaced with methods that surface URLs. (3.92.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.92.0)
- The React Router app template now includes declarative custom data features. (3.91.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.91.0)
- The Dev Console now renders in admin when using shopify app dev. (3.91.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.91.0)
- Adds a command to run queries against the Admin API. (3.90.1) — [release notes](https://github.com/Shopify/cli/releases/tag/3.90.1)
- CLI GraphiQL now supports custom headers. (3.90.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.90.0)
- The Dev Server payload now exposes tools and instructions. (3.90.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.90.0)
- The dev session create API call now includes a websocket URL. (3.90.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.90.0)
- Adds a command to automatically convert existing metafields and metaobjects to declarative TOML. (3.89.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.89.0)
- Supports flexible templates when initializing an app. (3.89.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.89.0)
- Adds a slight delay when keypressing shortcut keys to prevent accidental copy-pasting and opening many tabs. (3.89.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.89.0)
- shopify theme init supports the AGENTS.md file. (3.88.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.88.0)
- Types can be re-generated when extensions are rebuilt during dev. (3.88.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.88.0)
- Watches all imported files during app dev, so changes to imported files are detected. (3.87.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.87.0)
- Mocks captcha and api-collect requests in the CLI proxy. (3.87.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.87.0)
- The editor shortcut now navigates to the most recently viewed template. (3.87.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.87.0)
- Adds the ability to notify users when Liquid files are rewritten remotely. (3.87.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.87.0)
- Improves the error message shown when the folder already exists. (3.87.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.87.0)
- Supports development on dev stores with custom domains. (3.86.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.86.0)
- Functions binaries now support the normalize method on JavaScript strings. (3.86.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.86.0)
- Functions binaries now support Windows on ARM CPUs. (3.86.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.86.0)

### Fixes and other changes

- Fixed the build command. (3.94.3) — [release notes](https://github.com/Shopify/cli/releases/tag/3.94.3)
- Theme commands validate that --path points to a directory and show a helpful error suggesting the parent directory when given a file path. (3.94.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.94.0)
- An error handler for the chokidar file watcher prevents unhandled exceptions. (3.94.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.94.0)
- Fixes the incorrect wasmPath value reported by the command. (3.93.2) — [release notes](https://github.com/Shopify/cli/releases/tag/3.93.2)
- Re-authentication preserves existing granted scopes. (3.93.1) — [release notes](https://github.com/Shopify/cli/releases/tag/3.93.1)
- Fixes a crash when an organization is not found. (3.93.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.93.0)
- Fixes an infinite 401 retry loop when app logs resubscription fails. (3.93.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.93.0)
- Fixes the editor-tracking shortcut for non-page requests. (3.93.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.93.0)
- Fixes missing JSON output when the dev and theme flags are absent. (3.93.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.93.0)
- Fixed an issue with cart rate limiting. (3.92.1) — [release notes](https://github.com/Shopify/cli/releases/tag/3.92.1)
- Webhooks with relative URIs now work when running app dev. (3.92.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.92.0)
- theme profile now works when running on Windows WSL. (3.92.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.92.0)
- Fixes 401 Unauthorized errors on cart AJAX endpoints during shopify theme dev. (3.91.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.91.0)
- Fixes the default environments infrastructure so commands that don't require authentication no longer fail. (3.91.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.91.0)
- Fixes hot-reloading for the tag when serving compiled asset scripts with multibyte characters. (3.91.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.91.0)
- The error message shown when a query is empty is no longer confusing. (3.90.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.90.0)
- The --theme-editor-sync option no longer deletes files when a race condition happens. (3.90.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.90.0)
- Theme commands abort when passed an invalid environment instead of falling back to cached store data. (3.89.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.89.0)
- Fixes theme dev shortcut keys so they work when using the `theme-editor-sync` flag. (3.89.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.89.0)
- Fixed import-extensions by unblocking the Partners API. (3.88.1) — [release notes](https://github.com/Shopify/cli/releases/tag/3.88.1)
- Returns an error when run using a Theme Access password. (3.88.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.88.0)
- Fixes zip and brotliCompress functions to handle binary files. (3.88.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.88.0)
- Fixes the CLI crashing on Node 25. (3.87.4) — [release notes](https://github.com/Shopify/cli/releases/tag/3.87.4)
- Fixed images not loading in theme app extensions. (3.87.3) — [release notes](https://github.com/Shopify/cli/releases/tag/3.87.3)
- Fixed an error loading apps for some commands when metaobjects are present. (3.87.2) — [release notes](https://github.com/Shopify/cli/releases/tag/3.87.2)
- Fixes files being constantly synced on Windows when running this command. (3.87.1) — [release notes](https://github.com/Shopify/cli/releases/tag/3.87.1)
- Fixes a crash when building with misconfigured ui-extensions. (3.87.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.87.0)
- Ignores duplicated plugins to avoid `multiple tunnel plugins` errors. (3.87.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.87.0)
- Automatic token refresh is fixed in some situations to avoid 401 errors. (3.86.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.86.0)
- The session alias is preserved when a token is refreshed. (3.86.0) — [release notes](https://github.com/Shopify/cli/releases/tag/3.86.0)
