Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/app-dev-service-account.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/app-security-agent-results-pending.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/app-security-config-finding-lines.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/app-security-fail-on-unresolved.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/app-security-framework-agnostic-rules.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/app-security-prompt-safe-conditions.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/app-security-review-sarif.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/app-security-source-finding-lines.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/app-security-suppressions.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/auto-upgrade-current-major.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/auto-upgrade-major-notice.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/autoupgrade-pin-version.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/custom-check-authorization.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/deploy-no-build-missing-web-pixel-bundle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dev-extension-initialized-message.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/dev-instance-windows-file-lock.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/events-legacy-install-rejection.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/extensions-websocket-error-listener.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/extensions-websocket-invalid-json.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/function-binary-atomic-download.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/function-build-lock-compromised.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/function-replay-json-stream.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/gateway-errors-cloudflare-edge.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/graphiql-json-stream.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/homebrew-auto-upgrade-major.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/language-server-protocol-output.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/respect-do-not-track.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/service-account-app-store-lookup.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/table-narrow-terminal.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/theme-admin-api-5xx-shopify-side.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/theme-check-unknown-extended-config.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/theme-console-finite-json.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/theme-dev-localization-401.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/theme-password-and-locked-store-errors.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/theme-retry-transient-server-errors.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tidy-templates-warn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ui-extensions-server-kit-package-contents.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/webhook-uid-matches-server.md

This file was deleted.

31 changes: 31 additions & 0 deletions packages/app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# @shopify/app

## 5.1.0

### Minor Changes

- Run `shopify app dev --store` on a dev store with `SHOPIFY_SERVICE_ACCOUNT_TOKEN`.
- Add `--fail-on-unresolved` to `shopify app security review`, so an unresolved check or one with no result fails the gate.
- Run the deterministic `app security check` source rules that don't need React Router on any JavaScript or TypeScript app, and add a `WEAK_SHOP_VALIDATION` rule for shop-domain checks that aren't anchored.
- Add `--sarif` to `shopify app security review` to 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 node` and `--template remix` are deprecated and now show a warning. They will be removed in the next major release. Use `--template reactRouter` or a GitHub template URL instead.

### Patch Changes

- Stop `app security review` from calling deterministic-only checks passed, say how many checks still need the coding agent and how to run them, and print suggested commands' `--path` as 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 check` agent prompts that could skip real issues: `MISSING_EMBEDDED_CSP` now detects embedded apps from `embedded = true`, `SSRF_REQUEST_FORGERY` and `SCRIPT_TAG_URL_INJECTION` no longer treat an https-only URL as safe, and `THEME_EXTENSION_XSS` no longer exempts `escape` in executable contexts or `textContent` on `<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-build` finds no built web pixel bundle.
- Show `Extension initialized` instead of `Configuration accepted` when config-only extensions start in a new `app dev` session.
- Explain the managed-install requirement before deploying Events subscriptions with legacy install flow enabled.
- `app dev` no longer crashes when a client of the `/extensions` WebSocket sends a malformed frame.
- Stop `app dev` from exiting when an `/extensions` WebSocket client sends invalid JSON or an invalid message shape
- Fix `spawn ETXTBSY` errors when several CLI processes download and run the same function binary at once
- Stop `app build` and `app function build` from crashing with `Unable to update lock within the stale threshold` when 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`.
- Updated dependencies
- @shopify/cli-kit@5.1.0
- @shopify/theme@5.1.0
- @shopify/organizations@5.1.0
- @shopify/plugin-cloudflare@5.1.0

## 5.0.0

### Major Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/app",
"version": "5.0.0",
"version": "5.1.0",
"packageManager": "pnpm@10.11.1",
"description": "Utilities for loading, building, and publishing apps.",
"homepage": "https://github.com/shopify/cli#readme",
Expand Down Expand Up @@ -58,10 +58,10 @@
"@graphql-typed-document-node/core": "3.2.0",
"@luckycatfactory/esbuild-graphql-loader": "3.8.1",
"@oclif/core": "4.8.3",
"@shopify/cli-kit": "5.0.0",
"@shopify/organizations": "5.0.0",
"@shopify/plugin-cloudflare": "5.0.0",
"@shopify/theme": "5.0.0",
"@shopify/cli-kit": "5.1.0",
"@shopify/organizations": "5.1.0",
"@shopify/plugin-cloudflare": "5.1.0",
"@shopify/theme": "5.1.0",
"@shopify/theme-check-node": "4.0.0",
"@shopify/toml-patch": "0.3.0",
"chokidar": "3.6.0",
Expand Down
18 changes: 18 additions & 0 deletions packages/cli-kit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @shopify/cli-kit

## 5.1.0

### Patch Changes

- 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.
- Support `theme language-server --json` and `--json-schema` while preserving native LSP output and stderr diagnostics.
- Also treat `DO_NOT_TRACK=1` as an analytics opt-out, in addition to `SHOPIFY_CLI_NO_ANALYTICS=1` and `OPT_OUT_INSTRUMENTATION=true`.
- Fix the HTTP 401 that `app execute`, `app bulk execute` and 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 logs` and `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.
- 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.
- Explain theme passwords with characters that can't be sent, and locked or not yet set up stores, instead of reporting an unknown error.
- Retry theme reads that fail with temporary Admin API errors, and show a friendly error with the request ID if they keep failing

## 5.0.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-kit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/cli-kit",
"version": "5.0.0",
"version": "5.1.0",
"packageManager": "pnpm@10.11.1",
"private": false,
"description": "A set of utilities, interfaces, and models that are common across all the platform features",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-kit/src/public/common/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const CLI_KIT_VERSION = '5.0.0'
export const CLI_KIT_VERSION = '5.1.0'
29 changes: 29 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# @shopify/cli

## 5.1.0

### Minor Changes

- Run the deterministic `app security check` source rules that don't need React Router on any JavaScript or TypeScript app, and add a `WEAK_SHOP_VALIDATION` rule for shop-domain checks that aren't anchored.
- Add `--sarif` to `shopify app security review` to print the reviewed checks as SARIF 2.1.0 for GitHub code scanning and other scanning tools.
- Add support for suppressing app security findings.
- Require explicit operator permission for custom Theme Checks on `theme check`, `theme language-server`, and `theme 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 --json` and `--json-schema` while preserving native LSP output and stderr diagnostics.
- Add finite Liquid console execution with repeated scripts, script files, and JSON output.

### Patch Changes

- Stop `app security review` from calling deterministic-only checks passed, say how many checks still need the coding agent and how to run them, and print suggested commands' `--path` as 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 check` agent prompts that could skip real issues: `MISSING_EMBEDDED_CSP` now detects embedded apps from `embedded = true`, `SSRF_REQUEST_FORGERY` and `SCRIPT_TAG_URL_INJECTION` no longer treat an https-only URL as safe, and `THEME_EXTENSION_XSS` no longer exempts `escape` in executable contexts or `textContent` on `<script>` elements
- 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.
- Stop `app build` and `app function build` from crashing with `Unable to update lock within the stale threshold` when the function build lock is reported as compromised, for example on FUSE filesystems.
- 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 execute` and 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 logs` and `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.

## 5.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/oclif.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -14639,5 +14639,5 @@
"strict": true
}
},
"version": "5.0.0"
"version": "5.1.0"
}
Loading
Loading