Remove deprecated shopify theme serve command#7527
Open
alfonso-noriega wants to merge 1 commit into07-remove-top-level-webhook-trigger-aliasfrom
Open
Remove deprecated shopify theme serve command#7527alfonso-noriega wants to merge 1 commit into07-remove-top-level-webhook-trigger-aliasfrom
shopify theme serve command#7527alfonso-noriega wants to merge 1 commit into07-remove-top-level-webhook-trigger-aliasfrom
Conversation
This was referenced May 11, 2026
Contributor
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
The hidden `shopify theme serve` command was a deprecated alias for `shopify theme dev` that printed a warning and forwarded the call. This change deletes the alias class and unregisters it from the theme command map.
0fcac12 to
a960ee9
Compare
f964ab1 to
60d2697
Compare
Contributor
|
| Changeset | Package |
|---|---|
remove-app-deploy-force-flag.md |
'@shopify/app': major |
remove-app-generate-extension-type-flag.md |
'@shopify/app': major |
remove-app-generate-schema-command.md |
'@shopify/app': major |
remove-app-release-force-flag.md |
'@shopify/app': major |
remove-app-scaffold-extension-command.md |
'@shopify/app': major |
remove-theme-serve-command.md |
'@shopify/theme': major |
remove-top-level-webhook-trigger-alias.md |
'@shopify/app': major |
remove-webhook-trigger-shared-secret-flag.md |
'@shopify/app': major |
thin-webs-notice.md |
'@shopify/plugin-did-you-mean': major |
thin-webs-notice.md |
'@shopify/plugin-cloudflare': major |
thin-webs-notice.md |
'@shopify/create-app': major |
thin-webs-notice.md |
'@shopify/cli-kit': major |
thin-webs-notice.md |
'@shopify/store': major |
thin-webs-notice.md |
'@shopify/theme': major |
thin-webs-notice.md |
'@shopify/app': major |
thin-webs-notice.md |
'@shopify/cli': major |
thin-webs-notice.md |
'@shopify/e2e': major |
🗑️ Removed Commands
The following commands were removed from the OCLIF manifest:
theme:serve
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

WHY are these changes introduced?
The
shopify theme servecommand was a hidden alias forshopify theme dev. It rendered a"shopify theme serve" command is deprecatedwarning and forwarded the call. This PR removes the deprecated alias in preparation for the next major release.This is the last PR in the deprecated-flag-removal stack: #7526 ← this PR. (Theme-related changes are intentionally placed at the end of the stack.)
WHAT is this pull request doing?
packages/theme/src/cli/commands/theme/serve.ts(theServeclass).'theme:serve'entry frompackages/theme/src/index.ts.packages/cli/oclif.manifest.json(the entry is removed from the manifest).shopify theme devcommand (and its tests) are unchanged.How to test your changes?
pnpm shopify theme serve --helpand confirm it now fails withCommand theme:serve not found.pnpm shopify theme dev --helpand confirm the supported command still works.pnpm shopify theme devagainst a theme and confirm the local dev server starts as before.Checklist
patchfor bug fixes ·minorfor new features ·majorfor breaking changes) and added a changeset withpnpm changeset add