Merged
Conversation
Contributor
|
Oxygen deployed a preview of your
Learn more about Hydrogen's GitHub integration. |
49a9fec to
1fc07da
Compare
1fc07da to
e115eba
Compare
itsjustriley
approved these changes
Apr 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 main, this PR will be updated.
Releases
@shopify/hydrogen@2026.4.0
Major Changes
Make Storefront API proxy mandatory and enable backend consent mode, supporting the deprecation of the
_tracking_consentcookie in favor of server-set cookies via the SF API proxy. (#3649) by @itsjustrileyproxyStandardRoutesoption has been removed fromcreateRequestHandler. The Storefront API proxy is now always enabled. If your load context does not include astorefrontinstance, the request handler will now throw an error instead of logging a warning.window.Shopify.customerPrivacy.backendConsentEnabledis now set totruebefore the Customer Privacy API script loads. This tells the consent library to use the new server-set cookie mode instead of the legacy_tracking_consentJS cookie. The flag is installed via awindow.Shopifyproperty interceptor so it survives the CDN'swindow.Shopify = {}reset cycle and is readable before the full API is assigned.Update Storefront API and Customer Account API from 2026-01 to 2026-04. (#3651) by @itsjustriley
Breaking changes
JSON metafield values limited to 128KB: When using API version 2026-04 or later, the Storefront API limits JSON type metafield writes to 128KB. This limit applies at the API level - Hydrogen passes through to the Storefront API without additional restriction. Apps that used JSON metafields before April 1, 2026 are grandfathered at the existing 2MB limit. Large metafield values continue to be readable by all API versions.
New features
New
MERCHANDISE_LINE_TRANSFORMERS_RUN_ERRORcart error code: Cart operations (cartCreate,cartLinesAdd, etc.) now return a specificMERCHANDISE_LINE_TRANSFORMERS_RUN_ERRORerror code when a Cart Transform Function fails at runtime, instead of the previous genericINVALIDerror code. If you handle cart errors in your storefront code, you may want to add handling for this new code.Changelog links
Patch Changes
Widen React Router peer dependencies from exact versions to caret ranges (
^7.12.0). This allows Hydrogen projects to use newer React Router minor versions without peer dependency conflicts, particularly with npm's strict resolver. Hydrogen only uses stable public APIs from React Router, so minor version updates are backwards-compatible. (#3677) by @fredericooUpdated dependencies [
b0caa5c013380c7837f049f48da089a1671e2c6d]:@shopify/hydrogen-react@2026.4.0
Major Changes
Update Storefront API and Customer Account API from 2026-01 to 2026-04. (#3651) by @itsjustriley
Breaking changes
JSON metafield values limited to 128KB: When using API version 2026-04 or later, the Storefront API limits JSON type metafield writes to 128KB. This limit applies at the API level - Hydrogen passes through to the Storefront API without additional restriction. Apps that used JSON metafields before April 1, 2026 are grandfathered at the existing 2MB limit. Large metafield values continue to be readable by all API versions.
New features
New
MERCHANDISE_LINE_TRANSFORMERS_RUN_ERRORcart error code: Cart operations (cartCreate,cartLinesAdd, etc.) now return a specificMERCHANDISE_LINE_TRANSFORMERS_RUN_ERRORerror code when a Cart Transform Function fails at runtime, instead of the previous genericINVALIDerror code. If you handle cart errors in your storefront code, you may want to add handling for this new code.Changelog links
@shopify/cli-hydrogen@11.1.14
Patch Changes
Widen React Router peer dependencies from exact versions to caret ranges (
^7.12.0). This allows Hydrogen projects to use newer React Router minor versions without peer dependency conflicts, particularly with npm's strict resolver. Hydrogen only uses stable public APIs from React Router, so minor version updates are backwards-compatible. (#3677) by @fredericooUpdate Storefront API and Customer Account API from 2026-01 to 2026-04. (#3651) by @itsjustriley
Breaking changes
JSON metafield values limited to 128KB: When using API version 2026-04 or later, the Storefront API limits JSON type metafield writes to 128KB. This limit applies at the API level - Hydrogen passes through to the Storefront API without additional restriction. Apps that used JSON metafields before April 1, 2026 are grandfathered at the existing 2MB limit. Large metafield values continue to be readable by all API versions.
New features
New
MERCHANDISE_LINE_TRANSFORMERS_RUN_ERRORcart error code: Cart operations (cartCreate,cartLinesAdd, etc.) now return a specificMERCHANDISE_LINE_TRANSFORMERS_RUN_ERRORerror code when a Cart Transform Function fails at runtime, instead of the previous genericINVALIDerror code. If you handle cart errors in your storefront code, you may want to add handling for this new code.Changelog links
@shopify/create-hydrogen@5.0.33
Patch Changes
Update Storefront API and Customer Account API from 2026-01 to 2026-04. (#3651) by @itsjustriley
Breaking changes
JSON metafield values limited to 128KB: When using API version 2026-04 or later, the Storefront API limits JSON type metafield writes to 128KB. This limit applies at the API level - Hydrogen passes through to the Storefront API without additional restriction. Apps that used JSON metafields before April 1, 2026 are grandfathered at the existing 2MB limit. Large metafield values continue to be readable by all API versions.
New features
New
MERCHANDISE_LINE_TRANSFORMERS_RUN_ERRORcart error code: Cart operations (cartCreate,cartLinesAdd, etc.) now return a specificMERCHANDISE_LINE_TRANSFORMERS_RUN_ERRORerror code when a Cart Transform Function fails at runtime, instead of the previous genericINVALIDerror code. If you handle cart errors in your storefront code, you may want to add handling for this new code.Changelog links
skeleton@2026.4.0
Major Changes
Update Storefront API and Customer Account API from 2026-01 to 2026-04. (#3651) by @itsjustriley
Breaking changes
JSON metafield values limited to 128KB: When using API version 2026-04 or later, the Storefront API limits JSON type metafield writes to 128KB. This limit applies at the API level - Hydrogen passes through to the Storefront API without additional restriction. Apps that used JSON metafields before April 1, 2026 are grandfathered at the existing 2MB limit. Large metafield values continue to be readable by all API versions.
New features
New
MERCHANDISE_LINE_TRANSFORMERS_RUN_ERRORcart error code: Cart operations (cartCreate,cartLinesAdd, etc.) now return a specificMERCHANDISE_LINE_TRANSFORMERS_RUN_ERRORerror code when a Cart Transform Function fails at runtime, instead of the previous genericINVALIDerror code. If you handle cart errors in your storefront code, you may want to add handling for this new code.Changelog links
Patch Changes
e7215ed0d7a74cacfa8c935f414c1cf32fc2ccd0,92ab8e8b59807bbdb5dbecaa18629292d5566135,b0caa5c013380c7837f049f48da089a1671e2c6d]: