Skip to content

Commit 1648e78

Browse files
[ci] release 2024-10
1 parent 064de13 commit 1648e78

23 files changed

+223
-124
lines changed

.changeset/brave-elephants-yell.md

-10
This file was deleted.

.changeset/cyan-countries-beg.md

-51
This file was deleted.

.changeset/nasty-rules-hammer.md

-6
This file was deleted.

.changeset/stupid-socks-suffer.md

-28
This file was deleted.

.changeset/tender-cycles-sneeze.md

-5
This file was deleted.

.changeset/thick-lamps-attend.md

-9
This file was deleted.

examples/express/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@remix-run/node": "^2.15.2",
1515
"@remix-run/react": "^2.15.2",
1616
"@remix-run/server-runtime": "^2.15.2",
17-
"@shopify/hydrogen": "2025.1.0",
17+
"@shopify/hydrogen": "2025.1.1",
1818
"compression": "^1.7.4",
1919
"cross-env": "^7.0.3",
2020
"express": "^4.19.2",

packages/cli/CHANGELOG.md

+35
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# @shopify/cli-hydrogen
22

3+
## 9.0.5
4+
5+
### Patch Changes
6+
7+
- Bump vite, Remix versions and tailwind v4 alpha to beta ([#2696](https://github.com/Shopify/hydrogen/pull/2696)) by [@wizardlyhel](https://github.com/wizardlyhel)
8+
9+
- Turn on future flag `v3_lazyRouteDiscovery` ([#2702](https://github.com/Shopify/hydrogen/pull/2702)) by [@wizardlyhel](https://github.com/wizardlyhel)
10+
11+
In your vite.config.ts, add the following line:
12+
13+
```diff
14+
export default defineConfig({
15+
plugins: [
16+
hydrogen(),
17+
oxygen(),
18+
remix({
19+
presets: [hydrogen.preset()],
20+
future: {
21+
v3_fetcherPersist: true,
22+
v3_relativeSplatPath: true,
23+
v3_throwAbortReason: true,
24+
+ v3_lazyRouteDiscovery: true,
25+
},
26+
}),
27+
tsconfigPaths(),
28+
],
29+
```
30+
31+
Test your app by running `npm run dev` and nothing should break
32+
33+
- Bump SFAPI to 2025-01 ([#2715](https://github.com/Shopify/hydrogen/pull/2715)) by [@rbshop](https://github.com/rbshop)
34+
35+
- Updated dependencies [[`fdab06f5`](https://github.com/Shopify/hydrogen/commit/fdab06f5d34076b526d406698bdf6fca6787660b)]:
36+
- @shopify/mini-oxygen@3.1.1
37+
338
## 9.0.4
439

540
### Patch Changes

packages/cli/oclif.manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1748,5 +1748,5 @@
17481748
]
17491749
}
17501750
},
1751-
"version": "9.0.4"
1751+
"version": "9.0.5"
17521752
}

packages/cli/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"access": "public",
55
"@shopify:registry": "https://registry.npmjs.org"
66
},
7-
"version": "9.0.4",
7+
"version": "9.0.5",
88
"license": "MIT",
99
"type": "module",
1010
"scripts": {
@@ -56,7 +56,7 @@
5656
"@graphql-codegen/cli": "^5.0.2",
5757
"@remix-run/dev": "^2.1.0",
5858
"@shopify/hydrogen-codegen": "^0.3.2",
59-
"@shopify/mini-oxygen": "^3.1.0",
59+
"@shopify/mini-oxygen": "^3.1.1",
6060
"graphql-config": "^5.0.3",
6161
"vite": "^5.1.0"
6262
},

packages/create-hydrogen/CHANGELOG.md

+53
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,58 @@
11
# @shopify/create-hydrogen
22

3+
## 5.0.15
4+
5+
### Patch Changes
6+
7+
- Workaround for "Error: failed to execute 'insertBefore' on 'Node'" that sometimes happen during development. ([#2701](https://github.com/Shopify/hydrogen/pull/2701)) by [@wizardlyhel](https://github.com/wizardlyhel)
8+
9+
```diff
10+
// root.tsx
11+
12+
/**
13+
* The main and reset stylesheets are added in the Layout component
14+
* to prevent a bug in development HMR updates.
15+
*
16+
* This avoids the "failed to execute 'insertBefore' on 'Node'" error
17+
* that occurs after editing and navigating to another page.
18+
*
19+
* It's a temporary fix until the issue is resolved.
20+
* https://github.com/remix-run/remix/issues/9242
21+
*/
22+
export function links() {
23+
return [
24+
- {rel: 'stylesheet', href: resetStyles},
25+
- {rel: 'stylesheet', href: appStyles},
26+
{
27+
rel: 'preconnect',
28+
href: 'https://cdn.shopify.com',
29+
},
30+
{
31+
rel: 'preconnect',
32+
href: 'https://shop.app',
33+
},
34+
{rel: 'icon', type: 'image/svg+xml', href: favicon},
35+
];
36+
}
37+
38+
...
39+
40+
export function Layout({children}: {children?: React.ReactNode}) {
41+
const nonce = useNonce();
42+
const data = useRouteLoaderData<RootLoader>('root');
43+
44+
return (
45+
<html lang="en">
46+
<head>
47+
<meta charSet="utf-8" />
48+
<meta name="viewport" content="width=device-width,initial-scale=1" />
49+
+ <link rel="stylesheet" href={resetStyles}></link>
50+
+ <link rel="stylesheet" href={appStyles}></link>
51+
52+
```
53+
54+
- Bump SFAPI to 2025-01 ([#2715](https://github.com/Shopify/hydrogen/pull/2715)) by [@rbshop](https://github.com/rbshop)
55+
356
## 5.0.14
457

558
### Patch Changes

packages/create-hydrogen/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"@shopify:registry": "https://registry.npmjs.org"
66
},
77
"license": "MIT",
8-
"version": "5.0.14",
8+
"version": "5.0.15",
99
"type": "module",
1010
"scripts": {
1111
"build": "tsup --clean",

packages/hydrogen-react/CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @shopify/hydrogen-react
22

3+
## 2025.1.1
4+
5+
### Patch Changes
6+
7+
- Bump vite, Remix versions and tailwind v4 alpha to beta ([#2696](https://github.com/Shopify/hydrogen/pull/2696)) by [@wizardlyhel](https://github.com/wizardlyhel)
8+
9+
- Fix `getProductOptions` crashing when one of variants returns a null `firstSelectableVariant`. ([#2704](https://github.com/Shopify/hydrogen/pull/2704)) by [@wizardlyhel](https://github.com/wizardlyhel)
10+
11+
- Bump SFAPI to 2025-01 ([#2715](https://github.com/Shopify/hydrogen/pull/2715)) by [@rbshop](https://github.com/rbshop)
12+
313
## 2024.10.1
414

515
### Patch Changes

packages/hydrogen-react/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@shopify/hydrogen-react",
3-
"version": "2025.1.0",
3+
"version": "2025.1.1",
44
"description": "React components, hooks, and utilities for creating custom Shopify storefronts",
55
"homepage": "https://github.com/Shopify/hydrogen/tree/main/packages/hydrogen-react",
66
"license": "MIT",

packages/hydrogen/CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @shopify/hydrogen
22

3+
## 2025.1.1
4+
5+
### Patch Changes
6+
7+
- Bump vite, Remix versions and tailwind v4 alpha to beta ([#2696](https://github.com/Shopify/hydrogen/pull/2696)) by [@wizardlyhel](https://github.com/wizardlyhel)
8+
9+
- Fix `getProductOptions` crashing when one of variants returns a null `firstSelectableVariant`. ([#2704](https://github.com/Shopify/hydrogen/pull/2704)) by [@wizardlyhel](https://github.com/wizardlyhel)
10+
11+
- Bump SFAPI to 2025-01 ([#2715](https://github.com/Shopify/hydrogen/pull/2715)) by [@rbshop](https://github.com/rbshop)
12+
13+
- Updated dependencies [[`fdab06f5`](https://github.com/Shopify/hydrogen/commit/fdab06f5d34076b526d406698bdf6fca6787660b), [`650d57b3`](https://github.com/Shopify/hydrogen/commit/650d57b3e07125661e23900e73c0bb3027ddbcde), [`064de138`](https://github.com/Shopify/hydrogen/commit/064de13890c68cabb1c3fdbe7f77409a0cf1c384)]:
14+
- @shopify/hydrogen-react@2025.1.1
15+
316
## 2024.10.1
417

518
### Patch Changes

packages/hydrogen/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"@shopify:registry": "https://registry.npmjs.org"
66
},
77
"type": "module",
8-
"version": "2025.1.0",
8+
"version": "2025.1.1",
99
"license": "MIT",
1010
"main": "dist/index.cjs",
1111
"module": "dist/production/index.js",
@@ -63,7 +63,7 @@
6363
"dist"
6464
],
6565
"dependencies": {
66-
"@shopify/hydrogen-react": "2025.1.0",
66+
"@shopify/hydrogen-react": "2025.1.1",
6767
"content-security-policy-builder": "^2.2.0",
6868
"source-map-support": "^0.5.21",
6969
"type-fest": "^4.26.1",

packages/hydrogen/src/version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const LIB_VERSION = '2025.1.0';
1+
export const LIB_VERSION = '2025.1.1';

packages/mini-oxygen/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @shopify/mini-oxygen
22

3+
## 3.1.1
4+
5+
### Patch Changes
6+
7+
- Bump vite, Remix versions and tailwind v4 alpha to beta ([#2696](https://github.com/Shopify/hydrogen/pull/2696)) by [@wizardlyhel](https://github.com/wizardlyhel)
8+
39
## 3.1.0
410

511
### Minor Changes

packages/mini-oxygen/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"access": "public",
55
"@shopify:registry": "https://registry.npmjs.org"
66
},
7-
"version": "3.1.0",
7+
"version": "3.1.1",
88
"license": "MIT",
99
"type": "module",
1010
"description": "Development assistant for custom Shopify Oxygen hosted storefronts",

packages/remix-oxygen/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @shopify/remix-oxygen
22

3+
## 2.0.10
4+
5+
### Patch Changes
6+
7+
- Bump vite, Remix versions and tailwind v4 alpha to beta ([#2696](https://github.com/Shopify/hydrogen/pull/2696)) by [@wizardlyhel](https://github.com/wizardlyhel)
8+
39
## 2.0.9
410

511
### Patch Changes

packages/remix-oxygen/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"@shopify:registry": "https://registry.npmjs.org"
66
},
77
"type": "module",
8-
"version": "2.0.9",
8+
"version": "2.0.10",
99
"license": "MIT",
1010
"main": "dist/index.cjs",
1111
"module": "dist/production/index.js",

0 commit comments

Comments
 (0)