Skip to content

Commit

Permalink
[ci] release 2024-10
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 25, 2024
1 parent 0f5ec61 commit 1c58d33
Show file tree
Hide file tree
Showing 30 changed files with 428 additions and 220 deletions.
5 changes: 0 additions & 5 deletions .changeset/eight-poems-explode.md

This file was deleted.

23 changes: 0 additions & 23 deletions .changeset/funny-cows-perform.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gorgeous-berries-matter.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gorgeous-paws-move.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/modern-suits-shop.md

This file was deleted.

21 changes: 0 additions & 21 deletions .changeset/olive-fishes-reflect.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/quick-carrots-perform.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/quick-hotels-tell.md

This file was deleted.

72 changes: 0 additions & 72 deletions .changeset/serious-pillows-hug.md

This file was deleted.

35 changes: 0 additions & 35 deletions .changeset/strange-zebras-travel.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/wet-garlics-trade.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/wicked-schools-reflect.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/yellow-toes-mix.md

This file was deleted.

2 changes: 1 addition & 1 deletion examples/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@remix-run/node": "^2.13.1",
"@remix-run/react": "^2.13.1",
"@remix-run/server-runtime": "^2.13.1",
"@shopify/hydrogen": "2024.10.0",
"@shopify/hydrogen": "2024.10.1",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"express": "^4.19.2",
Expand Down
63 changes: 63 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,68 @@
# @shopify/cli-hydrogen

## 9.0.0

### Minor Changes

- Remove deprecated --worker cli flag ([#2603](https://github.com/Shopify/hydrogen/pull/2603)) by [@rbshop](https://github.com/rbshop)

### Patch Changes

- Stabilize `getSitemap`, `getSitemapIndex` and implement on skeleton ([#2589](https://github.com/Shopify/hydrogen/pull/2589)) by [@juanpprieto](https://github.com/juanpprieto)

1. Update the `getSitemapIndex` at `/app/routes/[sitemap.xml].tsx`

```diff
- import {unstable__getSitemapIndex as getSitemapIndex} from '@shopify/hydrogen';
+ import {getSitemapIndex} from '@shopify/hydrogen';
```

2. Update the `getSitemap` at `/app/routes/sitemap.$type.$page[.xml].tsx`

```diff
- import {unstable__getSitemap as getSitemap} from '@shopify/hydrogen';
+ import {getSitemap} from '@shopify/hydrogen';
```

For a reference implementation please see the skeleton template sitemap routes

- Add warnings to the Shopify CLI when your app uses reserved routes. These routes are reserved by Oxygen, and any local routes that conflict with them will not be used. ([#2613](https://github.com/Shopify/hydrogen/pull/2613)) by [@blittle](https://github.com/blittle)

- Update to 2024-10 SFAPI ([#2570](https://github.com/Shopify/hydrogen/pull/2570)) by [@wizardlyhel](https://github.com/wizardlyhel)

- SFAPI update - Deprecate usages of `product.options.values` and use `product.options.optionValues` instead. ([#2585](https://github.com/Shopify/hydrogen/pull/2585)) by [@wizardlyhel](https://github.com/wizardlyhel)

1. Update your product graphql query to use the new `optionValues` field.

```diff
const PRODUCT_FRAGMENT = `#graphql
fragment Product on Product {
id
title
options {
name
- values
+ optionValues {
+ name
+ }
}
```

2. Update your `<VariantSelector>` to use the new `optionValues` field.

```diff
<VariantSelector
handle={product.handle}
- options={product.options.filter((option) => option.values.length > 1)}
+ options={product.options.filter((option) => option.optionValues.length > 1)}
variants={variants}
>
```

- Updated dependencies [[`a0f660aa`](https://github.com/Shopify/hydrogen/commit/a0f660aac56a5c3c41502c17d2ed44d3468ee6aa), [`29876f12`](https://github.com/Shopify/hydrogen/commit/29876f12c39ed23b0b80443769e566d29e84b56c)]:
- @shopify/hydrogen-codegen@0.3.2
- @shopify/mini-oxygen@3.1.0

## 8.4.6

### 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": "8.4.6"
"version": "9.0.0"
}
6 changes: 3 additions & 3 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": "8.4.6",
"version": "9.0.0",
"license": "MIT",
"type": "module",
"scripts": {
Expand Down Expand Up @@ -55,8 +55,8 @@
"peerDependencies": {
"@graphql-codegen/cli": "^5.0.2",
"@remix-run/dev": "^2.1.0",
"@shopify/hydrogen-codegen": "^0.3.1",
"@shopify/mini-oxygen": "^3.0.6",
"@shopify/hydrogen-codegen": "^0.3.2",
"@shopify/mini-oxygen": "^3.1.0",
"graphql-config": "^5.0.3",
"vite": "^5.1.0"
},
Expand Down
35 changes: 35 additions & 0 deletions packages/create-hydrogen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# @shopify/create-hydrogen

## 5.0.10

### Patch Changes

- Update to 2024-10 SFAPI ([#2570](https://github.com/Shopify/hydrogen/pull/2570)) by [@wizardlyhel](https://github.com/wizardlyhel)

- SFAPI update - Deprecate usages of `product.options.values` and use `product.options.optionValues` instead. ([#2585](https://github.com/Shopify/hydrogen/pull/2585)) by [@wizardlyhel](https://github.com/wizardlyhel)

1. Update your product graphql query to use the new `optionValues` field.

```diff
const PRODUCT_FRAGMENT = `#graphql
fragment Product on Product {
id
title
options {
name
- values
+ optionValues {
+ name
+ }
}
```

2. Update your `<VariantSelector>` to use the new `optionValues` field.

```diff
<VariantSelector
handle={product.handle}
- options={product.options.filter((option) => option.values.length > 1)}
+ options={product.options.filter((option) => option.optionValues.length > 1)}
variants={variants}
>
```

## 5.0.9

### 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.9",
"version": "5.0.10",
"type": "module",
"scripts": {
"build": "tsup --clean",
Expand Down
6 changes: 6 additions & 0 deletions packages/hydrogen-codegen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @shopify/hydrogen-codegen

## 0.3.2

### Patch Changes

- Checks anywhere in generated filename for "customer" or "caapi" ([#2600](https://github.com/Shopify/hydrogen/pull/2600)) by [@weotch](https://github.com/weotch)

## 0.3.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/hydrogen-codegen/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": "0.3.1",
"version": "0.3.2",
"license": "MIT",
"type": "module",
"main": "dist/cjs/index.cjs",
Expand Down
Loading

0 comments on commit 1c58d33

Please sign in to comment.