Skip to content

Commit

Permalink
[ci] release 2025-01 (#2700)
Browse files Browse the repository at this point in the history
* [ci] release 2025-01

* manual update package version to 2025.1.0

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Helen Lin <helen.lin@shopify.com>
  • Loading branch information
3 people authored Jan 30, 2025
1 parent 5f5a20a commit 7df8c20
Show file tree
Hide file tree
Showing 24 changed files with 159 additions and 142 deletions.
10 changes: 0 additions & 10 deletions .changeset/brave-elephants-yell.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/clean-baboons-clap.md

This file was deleted.

50 changes: 0 additions & 50 deletions .changeset/cyan-countries-beg.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hungry-kangaroos-shout.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/nasty-rules-hammer.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/slow-flies-exist.md

This file was deleted.

27 changes: 0 additions & 27 deletions .changeset/stupid-socks-suffer.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tender-cycles-sneeze.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/tender-trainers-sell.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/thick-lamps-attend.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/witty-baboons-warn.md

This file was deleted.

15 changes: 15 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @shopify/cli-hydrogen

## 9.0.5

### Patch Changes

- Bump vite, Remix versions and tailwind v4 alpha to beta ([#2696](https://github.com/Shopify/hydrogen/pull/2696)) by [@wizardlyhel](https://github.com/wizardlyhel)

- Make sure tailwind stylesheet is generated in a style tag ([#2734](https://github.com/Shopify/hydrogen/pull/2734)) by [@wizardlyhel](https://github.com/wizardlyhel)

- Bump cli version ([#2732](https://github.com/Shopify/hydrogen/pull/2732)) by [@wizardlyhel](https://github.com/wizardlyhel)

- Bump SFAPI to 2025-01 ([#2715](https://github.com/Shopify/hydrogen/pull/2715)) by [@rbshop](https://github.com/rbshop)

- Updated dependencies [[`fdab06f5`](https://github.com/Shopify/hydrogen/commit/fdab06f5d34076b526d406698bdf6fca6787660b), [`68110f3f`](https://github.com/Shopify/hydrogen/commit/68110f3f34beb4a8a429b9df0e28a77072b7d84f)]:
- @shopify/mini-oxygen@3.1.1

## 9.0.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/oclif.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -1748,5 +1748,5 @@
]
}
},
"version": "9.0.4"
"version": "9.0.5"
}
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"access": "public",
"@shopify:registry": "https://registry.npmjs.org"
},
"version": "9.0.4",
"version": "9.0.5",
"license": "MIT",
"type": "module",
"repository": {
Expand Down Expand Up @@ -61,7 +61,7 @@
"@graphql-codegen/cli": "^5.0.2",
"@remix-run/dev": "^2.1.0",
"@shopify/hydrogen-codegen": "^0.3.2",
"@shopify/mini-oxygen": "^3.1.0",
"@shopify/mini-oxygen": "^3.1.1",
"graphql-config": "^5.0.3",
"vite": "^5.1.0"
},
Expand Down
8 changes: 8 additions & 0 deletions packages/create-hydrogen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @shopify/create-hydrogen

## 5.0.15

### Patch Changes

- Bump cli version ([#2732](https://github.com/Shopify/hydrogen/pull/2732)) by [@wizardlyhel](https://github.com/wizardlyhel)

- Bump SFAPI to 2025-01 ([#2715](https://github.com/Shopify/hydrogen/pull/2715)) by [@rbshop](https://github.com/rbshop)

## 5.0.14

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/create-hydrogen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"@shopify:registry": "https://registry.npmjs.org"
},
"license": "MIT",
"version": "5.0.14",
"version": "5.0.15",
"type": "module",
"repository": {
"type": "git",
Expand Down
12 changes: 12 additions & 0 deletions packages/hydrogen-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @shopify/hydrogen-react

## 2025.1.0

### Patch Changes

- Bump vite, Remix versions and tailwind v4 alpha to beta ([#2696](https://github.com/Shopify/hydrogen/pull/2696)) by [@wizardlyhel](https://github.com/wizardlyhel)

- 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)

- Bump SFAPI to 2025-01 ([#2715](https://github.com/Shopify/hydrogen/pull/2715)) by [@rbshop](https://github.com/rbshop)

- Update `decodeEncodedVariant` utility to fix bug if encoding ends with index. ([#2721](https://github.com/Shopify/hydrogen/pull/2721)) by [@lhoffbeck](https://github.com/lhoffbeck)

## 2024.10.1

### Patch Changes
Expand Down
15 changes: 15 additions & 0 deletions packages/hydrogen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @shopify/hydrogen

## 2025.1.0

### Patch Changes

- Bump vite, Remix versions and tailwind v4 alpha to beta ([#2696](https://github.com/Shopify/hydrogen/pull/2696)) by [@wizardlyhel](https://github.com/wizardlyhel)

- Remove deprecated `customerAccountUrl` ([#2730](https://github.com/Shopify/hydrogen/pull/2730)) by [@wizardlyhel](https://github.com/wizardlyhel)

- 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)

- Bump SFAPI to 2025-01 ([#2715](https://github.com/Shopify/hydrogen/pull/2715)) by [@rbshop](https://github.com/rbshop)

- 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), [`08b7fa5b`](https://github.com/Shopify/hydrogen/commit/08b7fa5bb99632e4707d0dec4e06f6d16b2816d0)]:
- @shopify/hydrogen-react@2025.1.0

## 2024.10.1

### Patch Changes
Expand Down
8 changes: 8 additions & 0 deletions packages/mini-oxygen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @shopify/mini-oxygen

## 3.1.1

### Patch Changes

- Bump vite, Remix versions and tailwind v4 alpha to beta ([#2696](https://github.com/Shopify/hydrogen/pull/2696)) by [@wizardlyhel](https://github.com/wizardlyhel)

- Bump undici package to 6.21.1 ([#2731](https://github.com/Shopify/hydrogen/pull/2731)) by [@wizardlyhel](https://github.com/wizardlyhel)

## 3.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/mini-oxygen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"access": "public",
"@shopify:registry": "https://registry.npmjs.org"
},
"version": "3.1.0",
"version": "3.1.1",
"license": "MIT",
"type": "module",
"description": "Development assistant for custom Shopify Oxygen hosted storefronts",
Expand Down
6 changes: 6 additions & 0 deletions packages/remix-oxygen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @shopify/remix-oxygen

## 2.0.10

### Patch Changes

- Bump vite, Remix versions and tailwind v4 alpha to beta ([#2696](https://github.com/Shopify/hydrogen/pull/2696)) by [@wizardlyhel](https://github.com/wizardlyhel)

## 2.0.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/remix-oxygen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"@shopify:registry": "https://registry.npmjs.org"
},
"type": "module",
"version": "2.0.9",
"version": "2.0.10",
"license": "MIT",
"main": "dist/index.cjs",
"module": "dist/production/index.js",
Expand Down
87 changes: 87 additions & 0 deletions templates/skeleton/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,92 @@
# skeleton

## 2025.1.0

### Patch Changes

- Bump vite, Remix versions and tailwind v4 alpha to beta ([#2696](https://github.com/Shopify/hydrogen/pull/2696)) by [@wizardlyhel](https://github.com/wizardlyhel)

- 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)

```diff
// root.tsx

/**
* The main and reset stylesheets are added in the Layout component
* to prevent a bug in development HMR updates.
*
* This avoids the "failed to execute 'insertBefore' on 'Node'" error
* that occurs after editing and navigating to another page.
*
* It's a temporary fix until the issue is resolved.
* https://github.com/remix-run/remix/issues/9242
*/
export function links() {
return [
- {rel: 'stylesheet', href: resetStyles},
- {rel: 'stylesheet', href: appStyles},
{
rel: 'preconnect',
href: 'https://cdn.shopify.com',
},
{
rel: 'preconnect',
href: 'https://shop.app',
},
{rel: 'icon', type: 'image/svg+xml', href: favicon},
];
}

...

export function Layout({children}: {children?: React.ReactNode}) {
const nonce = useNonce();
const data = useRouteLoaderData<RootLoader>('root');

return (
<html lang="en">
<head>
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
+ <link rel="stylesheet" href={resetStyles}></link>
+ <link rel="stylesheet" href={appStyles}></link>

```

- Turn on future flag `v3_lazyRouteDiscovery` ([#2702](https://github.com/Shopify/hydrogen/pull/2702)) by [@wizardlyhel](https://github.com/wizardlyhel)

In your vite.config.ts, add the following line:

```diff
export default defineConfig({
plugins: [
hydrogen(),
oxygen(),
remix({
presets: [hydrogen.preset()],
future: {
v3_fetcherPersist: true,
v3_relativeSplatPath: true,
v3_throwAbortReason: true,
+ v3_lazyRouteDiscovery: true,
},
}),
tsconfigPaths(),
],
```

Test your app by running `npm run dev` and nothing should break

- Fix image size warnings on collections page ([#2703](https://github.com/Shopify/hydrogen/pull/2703)) by [@wizardlyhel](https://github.com/wizardlyhel)

- Bump cli version ([#2732](https://github.com/Shopify/hydrogen/pull/2732)) by [@wizardlyhel](https://github.com/wizardlyhel)

- Bump SFAPI to 2025-01 ([#2715](https://github.com/Shopify/hydrogen/pull/2715)) by [@rbshop](https://github.com/rbshop)

- Updated dependencies [[`fdab06f5`](https://github.com/Shopify/hydrogen/commit/fdab06f5d34076b526d406698bdf6fca6787660b), [`ae6d71f0`](https://github.com/Shopify/hydrogen/commit/ae6d71f0976f520ca177c69ff677f852af63859e), [`650d57b3`](https://github.com/Shopify/hydrogen/commit/650d57b3e07125661e23900e73c0bb3027ddbcde), [`064de138`](https://github.com/Shopify/hydrogen/commit/064de13890c68cabb1c3fdbe7f77409a0cf1c384)]:
- @shopify/remix-oxygen@2.0.10
- @shopify/hydrogen@2025.1.0

## 2024.10.4

### Patch Changes
Expand Down
Loading

0 comments on commit 7df8c20

Please sign in to comment.