$ the-wire · showcase
CLI updates stay on your major, Hydrogen returns 429 on rate limits
By RepoJournal · Filed · About Shopify · Composed from the cited sources · methodology
The Shopify CLI's auto-upgrade path was rebuilt around the running major so maintenance releases keep flowing after npm's latest tag moves on, while Hydrogen fixed a duplicate-fragment document composition bug and stopped surfacing Storefront API throttling as a 500.
Auto-upgrade to the newest stable release within the current major Shopify/cli
Automatic upgrades now select the newest non-deprecated stable release in the running CLI's major and install that exact version, replacing a check that only read npm's latest tag. The consequence: an installed major keeps receiving maintenance and security fixes after a newer major ships, and a shared background metadata request refreshes both the latest and current-major caches.
Append shared sub-fragments once when composing gql documents (#4252) Shopify/hydrogen
Two composed fragments that each spread the same sub-fragment were carrying it into the combined document twice, which the API rejected with "There can be only one fragment named." gql now splits appended texts into fragment definitions and appends each name once, and documents carry a Parts tuple so inferred result and variable types match the runtime document.
feat(hydrogen): return 429, not 500, when the Storefront API rate limits a request (#4282) Shopify/hydrogen
The new withStorefrontRateLimit and storefrontRateLimitHeaders wrappers map a StorefrontApiError with status 429 to a thrown 429 Response with Cache-Control: no-store and a validated Retry-After, logging the original error once through Hydrogen's logger. Other errors pass through unchanged, so callers that branched on 500 for throttled Storefront loaders need to handle 429 instead.
Add UCP discovery `Link` header to storefront responses (#4153) Shopify/hydrogen
applyResponseHeaders now appends `Link: </.well-known/ucp>; rel="ucp"` to HTML document responses, matching Liquid storefronts and Oxygen. It preserves existing Link values and skips anything already carrying a rel="ucp" link, so Oxygen will not double it.
Add opt-in for third-party Theme Checks Shopify/cli
Third-party Theme Checks are now an explicit opt-in across check, language-server, and strict push, with an explicit denial overriding the environment opt-in and push requiring --strict to enable custom checks. Typed diagnostics are handled by code, and skipped-check notices surface in the Theme Check Summary, or on stderr for JSON output. Elsewhere in the CLI, Homebrew installs keep receiving ...