$ the-wire · showcase
Hydrogen stops leaking private Storefront API responses
By RepoJournal · Filed · About Shopify · Composed from the cited sources · methodology
Hydrogen's Storefront client no longer caches responses marked private or no-store, a correctness fix for any storefront that passes a cache strategy to client.graphql.
fix(hydrogen): don't cache private or no-store Storefront API responses Shopify/hydrogen
The client ignored the Cache-Control header on Storefront API responses, so a query passing a cache strategy could store a response marked private or no-store and serve it to other buyers. It now never stores those responses and makes the final response private.
feat(template): serve robots.txt and add the hydrogen-robots-txt skill Shopify/hydrogen
The React Router template now serves /robots.txt; previously it fell through to the catch-all and returned the HTML 404 page, which crawlers read as permission to crawl /cart, /account, and every filter combination. The PR also adds a hydrogen-robots-txt skill for agents.
feat(i18n): add global i18n configuration Shopify/hydrogen
Hydrogen had no notion of which locales a storefront serves or how they map to URLs, so apps hand-rolled locale resolution. defineShopifyI18n adds a module-scope, serializable definition that createShopifyRequestContext uses to resolve the request locale, making localized route matching and sitemaps possible. The same release renames createShopifyRouteTemplates to defineShopifyRouteTemplates.
app sec: locate security findings in app configuration Shopify/cli
Configuration findings from app security check had no source lines, and multiple insecure URLs could share an identical message. The locator now pins callback URLs, deprecated ScriptTag scopes, and end-of-life API versions in the TOML file, with the configuration key and array index in URL messages.
Add trace context headers to MiniOxygen requests (#4348) Shopify/hydrogen
Also landing: MiniOxygen requests carry trace context headers, and the CLI renames the App Logs API type from WEBHOOK_DELIVERY to WEBHOOK, with the --type webhook flag unchanged.
Action items