Remove deprecated shopify app generate schema command#7524
Open
alfonso-noriega wants to merge 1 commit into04-remove-app-generate-extension-type-flagfrom
Open
Remove deprecated shopify app generate schema command#7524alfonso-noriega wants to merge 1 commit into04-remove-app-generate-extension-type-flagfrom
shopify app generate schema command#7524alfonso-noriega wants to merge 1 commit into04-remove-app-generate-extension-type-flagfrom
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. |
This was referenced May 11, 2026
The `shopify app generate schema` command was a hidden alias deprecated in favor of `shopify app function schema`. This change removes the command class and unregisters it from the CLI command map.
da300cd to
f23fe6c
Compare
87d0d25 to
ad69d29
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-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:
app:generate:schema
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
shopify app generate schemacommand was a hidden alias deprecated in favor ofshopify app function schema. Its description has long included the[DEPRECATED, use \app function schema`]` prefix. This PR removes the deprecated command in preparation for the next major release.Part of the deprecated-flag-removal stack: #7523 ← this PR → #7525.
WHAT is this pull request doing?
packages/app/src/cli/commands/app/generate/schema.ts(theGenerateSchemaclass).'app:generate:schema'entry frompackages/app/src/cli/index.ts.packages/cli/oclif.manifest.json(the entry is removed from the manifest).hidden.generateSchemaService) and the supportedshopify app function schemacommand are unchanged.How to test your changes?
pnpm shopify app generate schema --helpand confirm it now fails withCommand app:generate:schema not found.pnpm shopify app function schema --helpand confirm the supported command still works.pnpm shopify app function schemainside a function directory and confirm the schema is regenerated as before.Checklist
patchfor bug fixes ·minorfor new features ·majorfor breaking changes) and added a changeset withpnpm changeset add