Remove deprecated top-level shopify webhook trigger alias#7526
Open
alfonso-noriega wants to merge 1 commit into
Open
Remove deprecated top-level shopify webhook trigger alias#7526alfonso-noriega wants to merge 1 commit into
shopify webhook trigger alias#7526alfonso-noriega wants to merge 1 commit into
Conversation
This was referenced May 11, 2026
The hidden top-level `webhook trigger` command was a deprecated alias for `app webhook trigger` that printed a warning and forwarded the call. This change deletes the alias class and unregisters it from the CLI command map.
559c629 to
ec867ef
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-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:
webhook:trigger
isaacroldan
approved these changes
May 11, 2026
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 top-level
shopify webhook triggercommand was a hidden alias forshopify app webhook trigger. It rendered a "this alias will be removed in a future release" warning and forwarded the call. This PR removes the deprecated alias in preparation for the next major release.Part of the deprecated-flag-removal stack: #7525 ← this PR → #7527.
WHAT is this pull request doing?
packages/app/src/cli/commands/webhook/trigger.ts(theWebhookTriggerDeprecatedclass).packages/app/src/cli/commands/webhook/directory is also removed.'webhook:trigger'entry frompackages/app/src/cli/index.ts.packages/cli/oclif.manifest.json(the entry is removed from the manifest).shopify app webhook triggercommand (and its tests) are unchanged.How to test your changes?
pnpm shopify webhook trigger --helpand confirm it now fails withCommand webhook:trigger not found.pnpm shopify app webhook trigger --helpand confirm the supported command still works.pnpm shopify app webhook trigger ...end-to-end and confirm the webhook is delivered as before.Checklist
patchfor bug fixes ·minorfor new features ·majorfor breaking changes) and added a changeset withpnpm changeset add