Skip to content

Conversation

@shopify-github-actions-access
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to 2025-04, this PR will be updated.

Releases

@shopify/[email protected]

Minor Changes

  • Support Shopify's new consolidated cookie architecture. Adds built-in Storefront API proxy support to createRequestHandler. (#3332) by @kdaviduik

@shopify/[email protected]

Patch Changes

  • This version adds support for the new cookie system in Shopify (_shopify_analytics and _shopify_marketing http-only cookies). It is backward compatible and still supports the deprecated _shopify_y and _shopify_s cookies. (#3332) by @kdaviduik

    • createRequestHandler can now be used for every Hydrogen app, not only the ones deployed to Oxygen. It is now exported from @shopify/hydrogen.
    • A new Storefront API proxy is now available in Hydrogen's createRequestHandler. This will be used to obtain http-only cookies from Storefront API. In general, it should be transparent but it can be disabled with the proxyStandardRoutes option.
    • Analytics.Provider component and useCustomerPrivacy hook now make a request internally to the mentioned proxy to obtain cookies in the storefront domain.
  • Fixed a number of issues related to irregular behaviors between Privacy Banner and Hydrogen's analytics events. (#3332) by @kdaviduik

  • Updated dependencies [24664db0]:

@shopify/[email protected]

Patch Changes

  • New export getTrackingValues to obtain information for analytics and marketing. Use this instead of getShopifyCookies (which is now deprecated). (#3332) by @kdaviduik

    useShopifyCookies now accepts a fetchTrackingValues parameter that can be used to make a Storefront API request and obtain Shopify http-only cookies, _shopify_analytics and _shopify_marketing (which replace the deprecated _shopify_y and _shopify_s cookies).

[email protected]

Patch Changes

@github-actions github-actions bot force-pushed the changeset-release/2025-04 branch from 208616b to 674b8fc Compare January 9, 2026 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants