Skip to content

Commit

Permalink
[ci] release 2024-07
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 21, 2024
1 parent e432533 commit ce0f8ed
Show file tree
Hide file tree
Showing 33 changed files with 200 additions and 204 deletions.
5 changes: 0 additions & 5 deletions .changeset/bright-wombats-count.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/clean-planes-exist.md

This file was deleted.

19 changes: 0 additions & 19 deletions .changeset/cold-foxes-draw.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dull-needles-doubt.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fifty-melons-film.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/light-balloons-hide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/metal-kids-exercise.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/plenty-clocks-hide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/red-apes-exercise.md

This file was deleted.

65 changes: 0 additions & 65 deletions .changeset/red-lamps-switch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/six-pumas-allow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/strange-keys-glow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/stupid-falcons-wash.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tall-elephants-drum.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wet-apricots-fix.md

This file was deleted.

29 changes: 0 additions & 29 deletions .changeset/wet-yaks-think.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wise-badgers-march.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/young-gifts-learn.md

This file was deleted.

4 changes: 2 additions & 2 deletions examples/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"@remix-run/react": "^2.9.2",
"@remix-run/server-runtime": "^2.9.2",
"@shopify/cli": "3.61.2",
"@shopify/cli-hydrogen": "^8.1.1",
"@shopify/hydrogen": "2024.4.7",
"@shopify/cli-hydrogen": "^8.1.2",
"@shopify/hydrogen": "2024.5.0",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"express": "^4.19.2",
Expand Down
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

## 8.1.2

### Patch Changes

- Fix CLI upgrade notification when running from a globlal process. ([#2184](https://github.com/Shopify/hydrogen/pull/2184)) by [@frandiox](https://github.com/frandiox)

- skeleton template was updated to do session commit in server call instead of routes ([#2137](https://github.com/Shopify/hydrogen/pull/2137)) by [@michenly](https://github.com/michenly)

- Remove `PUBLIC_STORE_DOMAIN` environment variable from `.env` when creating new projects with mock.shop. ([#2221](https://github.com/Shopify/hydrogen/pull/2221)) by [@frandiox](https://github.com/frandiox)

- Added an `--auth-bypass-token-duration` flag to the `deploy` command to allow for specified token duration between 1 to 12 hours. ([#2182](https://github.com/Shopify/hydrogen/pull/2182)) by [@NelsonLee-Code](https://github.com/NelsonLee-Code)

- Updated dependencies [[`0924410f`](https://github.com/Shopify/hydrogen/commit/0924410fa2a1d13d46f09ca42fb1f1de3e0a4f57)]:
- @shopify/mini-oxygen@3.0.4

## 8.1.0

### Minor 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 @@ -1680,5 +1680,5 @@
]
}
},
"version": "8.1.1"
"version": "8.1.2"
}
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": "8.1.1",
"version": "8.1.2",
"license": "MIT",
"type": "module",
"scripts": {
Expand Down Expand Up @@ -60,7 +60,7 @@
"@graphql-codegen/cli": "^5.0.2",
"@remix-run/dev": "^2.1.0",
"@shopify/hydrogen-codegen": "^0.3.1",
"@shopify/mini-oxygen": "^3.0.3",
"@shopify/mini-oxygen": "^3.0.4",
"graphql-config": "^5.0.3",
"vite": "^5.1.0"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/create-hydrogen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @shopify/create-hydrogen

## 5.0.0

### Major Changes

- The code is now bundled to enhance installation speed. ([#2184](https://github.com/Shopify/hydrogen/pull/2184)) by [@frandiox](https://github.com/frandiox)

## 4.3.10

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions 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": "4.3.14",
"version": "5.0.0",
"type": "module",
"scripts": {
"build": "tsup --clean",
Expand All @@ -17,7 +17,7 @@
"@ast-grep/napi": "0.11.0"
},
"devDependencies": {
"@shopify/cli-hydrogen": "^8.1.1",
"@shopify/cli-hydrogen": "^8.1.2",
"tempy": "3.0.0"
},
"bin": "dist/create-app.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/hydrogen-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @shopify/hydrogen-react

## 2024.5.0

### Minor Changes

- Add `sellingPlanId` support to `BuyNowButton`. ([#2254](https://github.com/Shopify/hydrogen/pull/2254)) by [@dvisockas](https://github.com/dvisockas)

## 2024.4.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/hydrogen-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/hydrogen-react",
"version": "2024.4.4",
"version": "2024.5.0",
"description": "React components, hooks, and utilities for creating custom Shopify storefronts",
"homepage": "https://github.com/Shopify/hydrogen/tree/main/packages/hydrogen-react",
"license": "MIT",
Expand Down
64 changes: 64 additions & 0 deletions packages/hydrogen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,69 @@
# @shopify/hydrogen

## 2024.5.0

### Minor Changes

- Add `sellingPlanId` support to `BuyNowButton`. ([#2254](https://github.com/Shopify/hydrogen/pull/2254)) by [@dvisockas](https://github.com/dvisockas)

### Patch Changes

- `customerAccount` no longer commit session automatically in any situation. ([#2137](https://github.com/Shopify/hydrogen/pull/2137)) by [@michenly](https://github.com/michenly)

- **Breaking change** ([#2113](https://github.com/Shopify/hydrogen/pull/2113)) by [@blittle](https://github.com/blittle)

Previously the `VariantSelector` component would filter out options that only had one value. This is undesireable for some apps. We've removed that filter, if you'd like to retain the existing functionality, simply filter the options prop before it is passed to the `VariantSelector` component:

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

Fixes [#1198](https://github.com/Shopify/hydrogen/discussions/1198)

- Fix the types for optimistic cart ([#2132](https://github.com/Shopify/hydrogen/pull/2132)) by [@blittle](https://github.com/blittle)

- Fix a small rounding issue when checking stale-while-revalidate timing. ([#2220](https://github.com/Shopify/hydrogen/pull/2220)) by [@frandiox](https://github.com/frandiox)

- Fix customData from Analytics.Provider not being passed to page view events ([#2224](https://github.com/Shopify/hydrogen/pull/2224)) by [@wizardlyhel](https://github.com/wizardlyhel)

- Auto cookie domain detection for customer privacy api and better error message for missing analytics fields ([#2256](https://github.com/Shopify/hydrogen/pull/2256)) by [@wizardlyhel](https://github.com/wizardlyhel)

- Add a `useOptimisticProduct` hook for optimistically rendering product variant changes. This makes switching product variants instantaneous. Example usage: ([#2183](https://github.com/Shopify/hydrogen/pull/2183)) by [@blittle](https://github.com/blittle)

```tsx
function Product() {
const {product: originalProduct, variants} = useLoaderData<typeof loader>();

// The product.selectedVariant optimistically changed during a page
// transition with one of the preloaded product variants
const product = useOptimisticProduct(originalProduct, variants);

return <ProductMain product={product} />;
}
```

This also introduces a small breaking change to the `VariantSelector` component, which now immediately updates which variant is active. If you'd like to retain the current functionality, and have the `VariantSelector` wait for the page navigation to complete before updating, use the `waitForNavigation` prop:

```tsx
<VariantSelector
handle={product.handle}
options={product.options}
waitForNavigation
>
...
</VariantSelector>
```

- Return `null` instead of empty object from `cart.get()` when the cart id is invalid. ([#2258](https://github.com/Shopify/hydrogen/pull/2258)) by [@frandiox](https://github.com/frandiox)

- Updated dependencies [[`54c2f7ad`](https://github.com/Shopify/hydrogen/commit/54c2f7ad3d0d52e6be10b2a54a1a4fd0cc107a35)]:
- @shopify/hydrogen-react@2024.5.0

## 2024.4.3

### Patch Changes
Expand Down
Loading

0 comments on commit ce0f8ed

Please sign in to comment.