Skip to content

[ci] release 2026.4.0#3676

Merged
itsjustriley merged 2 commits intomainfrom
changeset-release/main
Apr 9, 2026
Merged

[ci] release 2026.4.0#3676
itsjustriley merged 2 commits intomainfrom
changeset-release/main

Conversation

@shopify-github-actions-access
Copy link
Copy Markdown
Contributor

@shopify-github-actions-access shopify-github-actions-access bot commented Apr 9, 2026

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_consent cookie in favor of server-set cookies via the SF API proxy. (#3649) by @itsjustriley

    • Breaking: proxyStandardRoutes option has been removed from createRequestHandler. The Storefront API proxy is now always enabled. If your load context does not include a storefront instance, the request handler will now throw an error instead of logging a warning.
    • New: window.Shopify.customerPrivacy.backendConsentEnabled is now set to true before the Customer Privacy API script loads. This tells the consent library to use the new server-set cookie mode instead of the legacy _tracking_consent JS cookie. The flag is installed via a window.Shopify property interceptor so it survives the CDN's window.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_ERROR cart error code: Cart operations (cartCreate, cartLinesAdd, etc.) now return a specific MERCHANDISE_LINE_TRANSFORMERS_RUN_ERROR error code when a Cart Transform Function fails at runtime, instead of the previous generic INVALID error 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 @fredericoo

  • Updated dependencies [b0caa5c013380c7837f049f48da089a1671e2c6d]:

    • @shopify/hydrogen-react@2026.4.0

@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_ERROR cart error code: Cart operations (cartCreate, cartLinesAdd, etc.) now return a specific MERCHANDISE_LINE_TRANSFORMERS_RUN_ERROR error code when a Cart Transform Function fails at runtime, instead of the previous generic INVALID error 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 @fredericoo

  • 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_ERROR cart error code: Cart operations (cartCreate, cartLinesAdd, etc.) now return a specific MERCHANDISE_LINE_TRANSFORMERS_RUN_ERROR error code when a Cart Transform Function fails at runtime, instead of the previous generic INVALID error 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_ERROR cart error code: Cart operations (cartCreate, cartLinesAdd, etc.) now return a specific MERCHANDISE_LINE_TRANSFORMERS_RUN_ERROR error code when a Cart Transform Function fails at runtime, instead of the previous generic INVALID error 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_ERROR cart error code: Cart operations (cartCreate, cartLinesAdd, etc.) now return a specific MERCHANDISE_LINE_TRANSFORMERS_RUN_ERROR error code when a Cart Transform Function fails at runtime, instead of the previous generic INVALID error code. If you handle cart errors in your storefront code, you may want to add handling for this new code.

    Changelog links

Patch Changes

@shopify-github-actions-access shopify-github-actions-access bot requested a review from a team as a code owner April 9, 2026 16:12
@shopify
Copy link
Copy Markdown
Contributor

shopify bot commented Apr 9, 2026

Oxygen deployed a preview of your changeset-release/main branch. Details:

Storefront Status Preview link Deployment details Last update (UTC)
Skeleton (skeleton.hydrogen.shop) ✅ Successful (Logs) Preview deployment Inspect deployment April 9, 2026 6:19 PM
custom-cart-method ✅ Successful (Logs) Preview deployment Inspect deployment April 9, 2026 4:12 PM
classic-remix ✅ Successful (Logs) Preview deployment Inspect deployment April 9, 2026 4:12 PM
metaobjects ✅ Successful (Logs) Preview deployment Inspect deployment April 9, 2026 4:12 PM
third-party-queries-caching ✅ Successful (Logs) Preview deployment Inspect deployment April 9, 2026 4:12 PM
sitemap ✅ Successful (Logs) Preview deployment Inspect deployment April 9, 2026 4:12 PM

Learn more about Hydrogen's GitHub integration.

@github-actions github-actions bot force-pushed the changeset-release/main branch from 49a9fec to 1fc07da Compare April 9, 2026 17:46
@github-actions github-actions bot force-pushed the changeset-release/main branch from 1fc07da to e115eba Compare April 9, 2026 17:57
@itsjustriley itsjustriley merged commit 7e1f486 into main Apr 9, 2026
16 of 22 checks passed
@itsjustriley itsjustriley deleted the changeset-release/main branch April 9, 2026 18:29
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.

1 participant