@shopify/cli-hydrogen 11.1.13 → 11.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,28 @@
1
1
  # skeleton
2
2
 
3
+ ## 2026.4.0
4
+
5
+ ### Major Changes
6
+
7
+ - Update Storefront API and Customer Account API from 2026-01 to 2026-04. ([#3651](https://github.com/Shopify/hydrogen/pull/3651)) by [@itsjustriley](https://github.com/itsjustriley)
8
+
9
+ ## Breaking changes
10
+
11
+ **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.
12
+
13
+ ## New features
14
+
15
+ **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.
16
+
17
+ ## Changelog links
18
+ - [Storefront API 2026-04 changelog](https://shopify.dev/changelog?filter=api&api_version=2026-04&api_type=storefront-graphql)
19
+ - [Customer Account API 2026-04 changelog](https://shopify.dev/changelog?filter=api&api_version=2026-04&api_type=customer-account-graphql)
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [[`e7215ed0d7a74cacfa8c935f414c1cf32fc2ccd0`](https://github.com/Shopify/hydrogen/commit/e7215ed0d7a74cacfa8c935f414c1cf32fc2ccd0), [`92ab8e8b59807bbdb5dbecaa18629292d5566135`](https://github.com/Shopify/hydrogen/commit/92ab8e8b59807bbdb5dbecaa18629292d5566135), [`b0caa5c013380c7837f049f48da089a1671e2c6d`](https://github.com/Shopify/hydrogen/commit/b0caa5c013380c7837f049f48da089a1671e2c6d)]:
24
+ - @shopify/hydrogen@2026.4.0
25
+
3
26
  ## 2026.1.4
4
27
 
5
28
  ### Patch Changes
@@ -2,7 +2,7 @@
2
2
  "name": "skeleton",
3
3
  "private": true,
4
4
  "sideEffects": false,
5
- "version": "2026.1.4",
5
+ "version": "2026.4.0",
6
6
  "type": "module",
7
7
  "scripts": {
8
8
  "build": "shopify hydrogen build --codegen",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "prettier": "@shopify/prettier-config",
16
16
  "dependencies": {
17
- "@shopify/hydrogen": "2026.1.4",
17
+ "@shopify/hydrogen": "2026.4.0",
18
18
  "graphql": "^16.10.0",
19
19
  "graphql-tag": "^2.12.6",
20
20
  "isbot": "^5.1.22",
@@ -30,7 +30,7 @@
30
30
  "@graphql-codegen/cli": "5.0.2",
31
31
  "@react-router/dev": "7.12.0",
32
32
  "@react-router/fs-routes": "7.12.0",
33
- "@shopify/cli": "3.91.1",
33
+ "@shopify/cli": "3.93.2",
34
34
  "@shopify/hydrogen-codegen": "0.3.3",
35
35
  "@shopify/mini-oxygen": "4.0.2",
36
36
  "@shopify/oxygen-workers-types": "^4.1.6",
@@ -175,7 +175,7 @@ async function isRunningFromHydrogenMonorepo() {
175
175
  }
176
176
  function createNextRelease(latestRelease) {
177
177
  const dependencies = { ...latestRelease.dependencies };
178
- const devDependencies = { ...latestRelease.devDependencies };
178
+ const devDependencies = { ...latestRelease.devDependencies ?? {} };
179
179
  if (dependencies["@shopify/hydrogen"]) {
180
180
  dependencies["@shopify/hydrogen"] = "next";
181
181
  }
@@ -276,7 +276,7 @@ function hasOutdatedDependencies({
276
276
  }) {
277
277
  return Object.entries({
278
278
  ...release.dependencies,
279
- ...release.devDependencies
279
+ ...release.devDependencies ?? {}
280
280
  }).some(([name, version]) => {
281
281
  if (name === "@shopify/cli") return false;
282
282
  const currentDependencyVersion = currentDependencies?.[name];
@@ -538,7 +538,7 @@ function buildUpgradeCommandArgs({
538
538
  };
539
539
  const effectiveDevDependencies = {
540
540
  ...cumulativeDevDependencies ?? {},
541
- ...selectedRelease.devDependencies
541
+ ...selectedRelease.devDependencies ?? {}
542
542
  };
543
543
  for (const dependency of Object.entries(effectiveDependencies)) {
544
544
  const shouldUpgradeDep = maybeIncludeDependency({
@@ -1675,5 +1675,5 @@
1675
1675
  ]
1676
1676
  }
1677
1677
  },
1678
- "version": "11.1.13"
1678
+ "version": "11.1.15"
1679
1679
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public",
5
5
  "@shopify:registry": "https://registry.npmjs.org"
6
6
  },
7
- "version": "11.1.13",
7
+ "version": "11.1.15",
8
8
  "license": "MIT",
9
9
  "type": "module",
10
10
  "repository": {
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "peerDependencies": {
57
57
  "@graphql-codegen/cli": "^5.0.2",
58
- "@react-router/dev": "7.12.0",
58
+ "@react-router/dev": "^7.12.0",
59
59
  "graphql-config": "^5.0.3",
60
60
  "vite": "^5.1.0 || ^6.2.0",
61
61
  "@shopify/hydrogen-codegen": "0.3.3",