Skip to content

Commit

Permalink
[ci] release 2023-07 (#1212)
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 5fa660c commit 6e76f95
Show file tree
Hide file tree
Showing 27 changed files with 217 additions and 149 deletions.
5 changes: 0 additions & 5 deletions .changeset/brave-crabs-pump.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/forty-cycles-happen.md

This file was deleted.

69 changes: 0 additions & 69 deletions .changeset/heavy-rockets-poke.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/kind-plants-mate.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/old-frogs-drum.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/proud-pillows-rhyme.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rude-ladybugs-fly.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/smooth-needles-fail.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/spicy-shoes-look.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/two-eyes-perform.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/warm-onions-smile.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/wicked-wolves-camp.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/wild-brooms-raise.md

This file was deleted.

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

## 5.2.0

### Minor Changes

- Support Remix Hot Module Replacement (HMR) and Hot Data Revalidation (HDR). ([#1187](https://github.com/Shopify/hydrogen/pull/1187)) by [@frandiox](https://github.com/frandiox)

Start using it with the following changes to your project:

1. Upgrade to the latest Hydrogen version and Remix 1.19.1.

2. Enable the v2 dev server in `remix.config.js`:

```diff
// ...
future: {
+ v2_dev: true,
v2_meta: true,
v2_headers: true,
// ...
}
```

3. Add Remix' `<LiveReload />` component if you don't have it to your `root.jsx` or `root.tsx` file:

```diff
import {
Outlet,
Scripts,
+ LiveReload,
ScrollRestoration,
} from '@remix-run/react';

// ...

export default function App() {
// ...

return (
<html>
<head>
{/* ... */}
</head>
<body>
<Outlet />
<ScrollRestoration />
<Scripts />
+ <LiveReload />
</body>
</html>
);
}

export function ErrorBoundary() {
// ...

return (
<html>
<head>
{/* ... */}
</head>
<body>
Error!
<Scripts />
+ <LiveReload />
</body>
</html>
);
}
```

### Patch Changes

- Avoid development server crash on unhandled promise rejection. ([#1244](https://github.com/Shopify/hydrogen/pull/1244)) by [@frandiox](https://github.com/frandiox)

- Fix build command when `public` directory is missing. ([#1224](https://github.com/Shopify/hydrogen/pull/1224)) by [@frandiox](https://github.com/frandiox)

- Use nonce from CSP header in MiniOxygen's auto-reload script. ([#1251](https://github.com/Shopify/hydrogen/pull/1251)) by [@frandiox](https://github.com/frandiox)

- Add default exported route to enable the error to be caught in the root.tsx ErrorBoundary ([#1215](https://github.com/Shopify/hydrogen/pull/1215)) by [@josh-sanger](https://github.com/josh-sanger)

- Improve error handling when failing to get remote environment variables. ([#1225](https://github.com/Shopify/hydrogen/pull/1225)) by [@frandiox](https://github.com/frandiox)

- Fix GraphQL Codegen throwing error related to Git on Windows. ([#1253](https://github.com/Shopify/hydrogen/pull/1253)) by [@frandiox](https://github.com/frandiox)

- Add shouldRevalidate export to limit root loaders revalidation on mutations only ([#1237](https://github.com/Shopify/hydrogen/pull/1237)) by [@juanpprieto](https://github.com/juanpprieto)

- Removed quantityAvailable field from skeleton PDP graphql query so that it works with default Storefront API permissions. ([#1236](https://github.com/Shopify/hydrogen/pull/1236)) by [@abecciu](https://github.com/abecciu)

- Updated dependencies [[`e9e1736a`](https://github.com/Shopify/hydrogen/commit/e9e1736ace6bd981e8109e38402eb405f7c865c1), [`1a0e858d`](https://github.com/Shopify/hydrogen/commit/1a0e858d94ea7d14f3f37ca32d288b33436038b0)]:
- @shopify/hydrogen-react@2023.7.2

## 5.1.2

### 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
@@ -1,5 +1,5 @@
{
"version": "5.1.2",
"version": "5.2.0",
"commands": {
"hydrogen:build": {
"id": "hydrogen:build",
Expand Down
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": "5.1.2",
"version": "5.2.0",
"license": "MIT",
"type": "module",
"scripts": {
Expand All @@ -28,7 +28,7 @@
},
"peerDependencies": {
"@remix-run/react": "1.19.1",
"@shopify/hydrogen-react": "^2023.7.1",
"@shopify/hydrogen-react": "^2023.7.2",
"@shopify/remix-oxygen": "^1.1.3"
},
"dependencies": {
Expand Down
13 changes: 13 additions & 0 deletions packages/create-hydrogen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @shopify/create-hydrogen

## 4.2.2

### Patch Changes

- Add default exported route to enable the error to be caught in the root.tsx ErrorBoundary ([#1215](https://github.com/Shopify/hydrogen/pull/1215)) by [@josh-sanger](https://github.com/josh-sanger)

- Add shouldRevalidate export to limit root loaders revalidation on mutations only ([#1237](https://github.com/Shopify/hydrogen/pull/1237)) by [@juanpprieto](https://github.com/juanpprieto)

- Removed quantityAvailable field from skeleton PDP graphql query so that it works with default Storefront API permissions. ([#1236](https://github.com/Shopify/hydrogen/pull/1236)) by [@abecciu](https://github.com/abecciu)

- Updated dependencies [[`a06b5093`](https://github.com/Shopify/hydrogen/commit/a06b509339bb749a27f5dcf3555c7c2d6ebde3af), [`d053978d`](https://github.com/Shopify/hydrogen/commit/d053978dc49a12651a5c7c15efd543884b9f03db), [`9fcfc500`](https://github.com/Shopify/hydrogen/commit/9fcfc5000d4df6745ad4c0a05a4cb6d039feed71), [`ec21cfd6`](https://github.com/Shopify/hydrogen/commit/ec21cfd64d82d3d2d2ee2ee54cf93d372bc5d927), [`867866d1`](https://github.com/Shopify/hydrogen/commit/867866d18cba0324c240c15422c890ccb4fc1546), [`bdac4c22`](https://github.com/Shopify/hydrogen/commit/bdac4c2253c45772da0b6b475703c3d97e599cbb), [`46d5f8ff`](https://github.com/Shopify/hydrogen/commit/46d5f8ff279dd7e18fa817eeb04206e08122fced), [`632a7a38`](https://github.com/Shopify/hydrogen/commit/632a7a385f13a987990f554b907dfb6f421f1351), [`e536ae04`](https://github.com/Shopify/hydrogen/commit/e536ae04641c41b56580f69dab454c20f2931cbf)]:
- @shopify/cli-hydrogen@5.2.0

## 4.2.1

### 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,15 +5,15 @@
"@shopify:registry": "https://registry.npmjs.org"
},
"license": "MIT",
"version": "4.2.1",
"version": "4.2.2",
"type": "module",
"scripts": {
"build": "tsup --clean",
"dev": "tsup --watch",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@shopify/cli-hydrogen": "^5.1.2"
"@shopify/cli-hydrogen": "^5.2.0"
},
"bin": "dist/create-app.js",
"files": [
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

## 2023.7.2

### Patch Changes

- This change updates the implementation of the parseGid function so that it uses the builtin `URL` class to parse the gid. This enables the parts of the string, such as the search params, to be parsed as well ([#1185](https://github.com/Shopify/hydrogen/pull/1185)) by [@tatemz](https://github.com/tatemz)

- Image component docs typo - Contributed by @MilosMosovsky ([#1243](https://github.com/Shopify/hydrogen/pull/1243)) by [@wizardlyhel](https://github.com/wizardlyhel)

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

## 2023.7.3

### Patch Changes

- Exported the type `CookieOptions` from `cartSetIdDefault` ([#1153](https://github.com/Shopify/hydrogen/pull/1153)) by [@remcolakens](https://github.com/remcolakens)

- Updated dependencies [[`e9e1736a`](https://github.com/Shopify/hydrogen/commit/e9e1736ace6bd981e8109e38402eb405f7c865c1), [`1a0e858d`](https://github.com/Shopify/hydrogen/commit/1a0e858d94ea7d14f3f37ca32d288b33436038b0)]:
- @shopify/hydrogen-react@2023.7.2

## 2023.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": "2023.7.2",
"version": "2023.7.3",
"license": "MIT",
"main": "dist/index.cjs",
"module": "dist/production/index.js",
Expand Down Expand Up @@ -53,7 +53,7 @@
"dist"
],
"dependencies": {
"@shopify/hydrogen-react": "2023.7.1",
"@shopify/hydrogen-react": "2023.7.2",
"react": "^18.2.0"
},
"peerDependencies": {
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 = '2023.7.2';
export const LIB_VERSION = '2023.7.3';
Loading

0 comments on commit 6e76f95

Please sign in to comment.