The Wire · Showcase
CLI SWEEPS OUT DEPRECATED FLAGS AHEAD OF MAJOR RELEASE
By RepoJournal · Filed · About Shopify
Shopify/cli is systematically removing deprecated commands and flags in preparation for its next major version, while a critical fix to the breaking-change detection script stops false positives from tanking unrelated PRs.
The CLI team has merged three removals in quick succession: the --force flag from `shopify app deploy` [3], the --force flag from `shopify app release` [5], and the hidden `shopify app generate schema` command entirely [4]. These are coordinated deprecation removals across a tracked stack, so if you're maintaining downstream tooling that depends on these flags, start your migration now—they're gone in the next major. More immediately urgent: a fix to checkChangesets() [1] stops the breaking-change detection job from re-failing on unrelated PRs when a major changeset already merged to main is present. Previously, any merged changeset would block every subsequent PR; now it only checks files actually modified in the diff [2], matching the behavior of the manifest and schema scans. Over in Hydrogen, cartGetDefault() was broken—it ignored the cartId you passed to it and always fell back to getCartId() [6] [7], making it impossible to query a specific cart by ID. That's fixed with a simple nullish coalesce that respects explicit input first.
Action items
- → If you use --force with `shopify app deploy` or `shopify app release`, remove those flags from your CI/CD before upgrading to the next major release Shopify/cli [plan]
- → If you're using `shopify app generate schema` anywhere, switch to `shopify app function schema` now Shopify/cli [plan]
- → Update Hydrogen if you need cart.get() to respect explicit cartId parameters Shopify/hydrogen [monitor]
References
- [1] Scope checkChangesets() to PR-diffed files Shopify/cli
- [2] Merge pull request #7533 from Shopify/scope-checkchangesets-to-pr-diff Shopify/cli
- [3] Merge pull request #7520 from Shopify/01-remove-app-deploy-force-flag Shopify/cli
- [4] Remove deprecated `shopify app generate schema` command ↗ Shopify/cli
- [5] Merge pull request #7521 from Shopify/02-remove-app-release-force-flag Shopify/cli
- [6] fix: use provided cartId in cartGetDefault before falling back to getCartId (#3664) Shopify/hydrogen
- [7] fix: use provided cartId in cartGetDefault before falling back to getCartId ↗ Shopify/hydrogen
FAQ
- What changed in Shopify on May 13, 2026?
- Shopify/cli is systematically removing deprecated commands and flags in preparation for its next major version, while a critical fix to the breaking-change detection script stops false positives from tanking unrelated PRs.
- What should Shopify teams do about it?
- If you use --force with `shopify app deploy` or `shopify app release`, remove those flags from your CI/CD before upgrading to the next major release • If you're using `shopify app generate schema` anywhere, switch to `shopify app function schema` now • Update Hydrogen if you need cart.get() to respect explicit cartId parameters
- Which Shopify repositories shipped on May 13, 2026?
- Shopify/cli, Shopify/hydrogen