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.
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
createRequestHandler. (#3332) by @kdaviduik@shopify/[email protected]
Patch Changes
This version adds support for the new cookie system in Shopify (
_shopify_analyticsand_shopify_marketinghttp-only cookies). It is backward compatible and still supports the deprecated_shopify_yand_shopify_scookies. (#3332) by @kdaviduikcreateRequestHandlercan now be used for every Hydrogen app, not only the ones deployed to Oxygen. It is now exported from@shopify/hydrogen.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 theproxyStandardRoutesoption.Analytics.Providercomponent anduseCustomerPrivacyhook 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
getTrackingValuesto obtain information for analytics and marketing. Use this instead ofgetShopifyCookies(which is now deprecated). (#3332) by @kdaviduikuseShopifyCookiesnow accepts afetchTrackingValuesparameter that can be used to make a Storefront API request and obtain Shopify http-only cookies,_shopify_analyticsand_shopify_marketing(which replace the deprecated_shopify_yand_shopify_scookies).[email protected]
Patch Changes
24664db0,24664db0,24664db0]: