Skip to content

Commit

Permalink
[ci] release 2024-07 (#2378)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 7c4f67a commit 37ec3bd
Show file tree
Hide file tree
Showing 31 changed files with 240 additions and 237 deletions.
5 changes: 0 additions & 5 deletions .changeset/calm-schools-speak.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/eleven-wasps-mix.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/flat-melons-design.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/friendly-cheetahs-teach.md

This file was deleted.

112 changes: 0 additions & 112 deletions .changeset/healthy-rats-confess.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/kind-kids-chew.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lazy-seas-draw.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/light-boxes-smile.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nice-dragons-cry.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/quiet-falcons-draw.md

This file was deleted.

24 changes: 0 additions & 24 deletions .changeset/rich-falcons-remain.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/sharp-planes-judge.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/small-trees-juggle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sour-flowers-do.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tiny-gorillas-thank.md

This file was deleted.

21 changes: 0 additions & 21 deletions .changeset/witty-planes-tickle.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.10.1",
"@remix-run/react": "^2.10.1",
"@remix-run/server-runtime": "^2.10.1",
"@shopify/hydrogen": "2024.7.2",
"@shopify/hydrogen": "2024.7.3",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"express": "^4.19.2",
Expand Down
14 changes: 14 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @shopify/cli-hydrogen

## 8.4.0

### Minor Changes

- Support `--env-file` in env:pull, dev, and preview commands to specify custom `.env` files. ([#2392](https://github.com/Shopify/hydrogen/pull/2392)) by [@frandiox](https://github.com/frandiox)

### Patch Changes

- Allow passing `customLogger` in `vite.config.js`. ([#2341](https://github.com/Shopify/hydrogen/pull/2341)) by [@frandiox](https://github.com/frandiox)

- Ignore `remix.config.js` file when `vite.config.js` is present, and warn about it. ([#2379](https://github.com/Shopify/hydrogen/pull/2379)) by [@frandiox](https://github.com/frandiox)

- Support special versions like `next` or `experimental` in CLI. ([#2417](https://github.com/Shopify/hydrogen/pull/2417)) by [@frandiox](https://github.com/frandiox)

## 8.3.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 @@ -1751,5 +1751,5 @@
]
}
},
"version": "8.3.0"
"version": "8.4.0"
}
2 changes: 1 addition & 1 deletion 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.3.0",
"version": "8.4.0",
"license": "MIT",
"type": "module",
"scripts": {
Expand Down
23 changes: 23 additions & 0 deletions packages/create-hydrogen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# @shopify/create-hydrogen

## 5.0.3

### Patch Changes

- starter template updated ([#2333](https://github.com/Shopify/hydrogen/pull/2333)) by [@michenly](https://github.com/michenly)

- Add a hydration check for google web cache. This prevents an infinite redirect when viewing the cached version of a hydrogen site on Google. ([#2334](https://github.com/Shopify/hydrogen/pull/2334)) by [@blittle](https://github.com/blittle)

Update your entry.server.jsx file to include this check:

```diff
+ if (!window.location.origin.includes("webcache.googleusercontent.com")) {
startTransition(() => {
hydrateRoot(
document,
<StrictMode>
<RemixBrowser />
</StrictMode>
);
});
+ }
```

## 5.0.2

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

## 2024.7.2

### Patch Changes

- Improve performance of currency formatting ([#2372](https://github.com/Shopify/hydrogen/pull/2372)) by [@blittle](https://github.com/blittle)

- Prevent sending analytics data to Shopify when Chrome-Lighthouse user agent is detected ([#2401](https://github.com/Shopify/hydrogen/pull/2401)) by [@wizardlyhel](https://github.com/wizardlyhel)

## 2024.7.1

### 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.7.1",
"version": "2024.7.2",
"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
19 changes: 19 additions & 0 deletions packages/hydrogen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# @shopify/hydrogen

## 2024.7.3

### Patch Changes

- Prevent sending analytics data to Shopify when Chrome-Lighthouse user agent is detected ([#2401](https://github.com/Shopify/hydrogen/pull/2401)) by [@wizardlyhel](https://github.com/wizardlyhel)

- Create `createHydrogenContext` that combined `createStorefrontClient`, `createCustomerAccountClient` and `createCartHandler`. ([#2333](https://github.com/Shopify/hydrogen/pull/2333)) by [@michenly](https://github.com/michenly)

- Add a `waitForHydration` prop to the `Script` component to delay loading until after hydration. This fixes third-party scripts that modify the DOM and cause hydration errors. ([#2389](https://github.com/Shopify/hydrogen/pull/2389)) by [@blittle](https://github.com/blittle)

Note: For security, `nonce` is not supported when using `waitForHydration`. Instead you need to add the domain of the script directly to your [Content Securitiy Policy directives](https://shopify.dev/docs/storefronts/headless/hydrogen/content-security-policy#step-3-customize-the-content-security-policy).

- Fix the `OptimisticCart` type to properly retain the generic of line items. The `OptimisticCartLine` type now takes a cart or cart line item generic. ([#2327](https://github.com/Shopify/hydrogen/pull/2327)) by [@blittle](https://github.com/blittle)

- Export `ShopAnalytics` type ([#2384](https://github.com/Shopify/hydrogen/pull/2384)) by [@Braedencraig](https://github.com/Braedencraig)

- Updated dependencies [[`cfbfc827`](https://github.com/Shopify/hydrogen/commit/cfbfc827e40e7425cf213a099eafb7a581b2885f), [`b09e9a4c`](https://github.com/Shopify/hydrogen/commit/b09e9a4ca7b931e48462c2d174ca9f67c37f1da2)]:
- @shopify/hydrogen-react@2024.7.2

## 2024.7.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/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"
},
"type": "module",
"version": "2024.7.2",
"version": "2024.7.3",
"license": "MIT",
"main": "dist/index.cjs",
"module": "dist/production/index.js",
Expand Down Expand Up @@ -63,7 +63,7 @@
"dist"
],
"dependencies": {
"@shopify/hydrogen-react": "2024.7.1",
"@shopify/hydrogen-react": "2024.7.2",
"content-security-policy-builder": "^2.2.0",
"source-map-support": "^0.5.21",
"type-fest": "^4.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/hydrogen/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const LIB_VERSION = '2024.7.2';
export const LIB_VERSION = '2024.7.3';
Loading

0 comments on commit 37ec3bd

Please sign in to comment.