Skip to content

Commit

Permalink
[ci] release 2023-07 (#1263)
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 101ca87 commit b17f341
Show file tree
Hide file tree
Showing 23 changed files with 117 additions and 83 deletions.
5 changes: 0 additions & 5 deletions .changeset/mighty-schools-walk.md

This file was deleted.

19 changes: 0 additions & 19 deletions .changeset/purple-weeks-ring.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/quick-starfishes-repeat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/red-crabs-double.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shaggy-lobsters-hang.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/silent-apes-thank.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tall-lamps-confess.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tough-jars-walk.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/two-carrots-relax.md

This file was deleted.

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

## 5.2.1

### Patch Changes

- Fix the default page shown when the project has no routes. ([#1266](https://github.com/Shopify/hydrogen/pull/1266)) by [@frandiox](https://github.com/frandiox)

- Hydrogen is now compatible with TypeScript v5. ([#1240](https://github.com/Shopify/hydrogen/pull/1240)) by [@frandiox](https://github.com/frandiox)

If you have `typescript` as a dev dependency in your app, it is recommended to change its version as follows:

```diff
"devDependencies": {
...
- "typescript": "^4.9.5",
+ "typescript": "^5.2.2",
},
```

After installing the new version of TypeScript, you may need to update the version used in your IDE. For example, in VSCode, you can do this by clicking on the `{ }` icon in the bottom-right toolbar next to the language mode (generally, `{ } TypeScript JSX` when editing a `.tsx` file).

- Fix development server port in some situations where it was set to a random number instead of the default 3000 or the `--port` flag value. ([#1267](https://github.com/Shopify/hydrogen/pull/1267)) by [@frandiox](https://github.com/frandiox)

- Fix transpiling TS to JS when scaffolding routes. ([#1273](https://github.com/Shopify/hydrogen/pull/1273)) by [@frandiox](https://github.com/frandiox)

- Catch more errors during init while connecting to Shopify ([#1281](https://github.com/Shopify/hydrogen/pull/1281)) by [@graygilmore](https://github.com/graygilmore)

- Add functionality for creating a Content Security Policy. See the [guide on Content Security Policies](https://shopify.dev/docs/custom-storefronts/hydrogen/content-security-policy) for more details. ([#1235](https://github.com/Shopify/hydrogen/pull/1235)) by [@blittle](https://github.com/blittle)

- Updated dependencies [[`06516ee9`](https://github.com/Shopify/hydrogen/commit/06516ee91f20153902c2b8ef79c0f6690ba385bb), [`423acee2`](https://github.com/Shopify/hydrogen/commit/423acee243c62e49a865ff2cd82735991aca1d8f)]:
- @shopify/hydrogen-react@2023.7.3

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

## 4.2.3

### Patch Changes

- Add functionality for creating a Content Security Policy. See the [guide on Content Security Policies](https://shopify.dev/docs/custom-storefronts/hydrogen/content-security-policy) for more details. ([#1235](https://github.com/Shopify/hydrogen/pull/1235)) by [@blittle](https://github.com/blittle)

- Updated dependencies [[`3491fd5c`](https://github.com/Shopify/hydrogen/commit/3491fd5cef5586dbf7dc44243124649bfad4df5a), [`06516ee9`](https://github.com/Shopify/hydrogen/commit/06516ee91f20153902c2b8ef79c0f6690ba385bb), [`d67ce6aa`](https://github.com/Shopify/hydrogen/commit/d67ce6aaaa93791fee4b82e722bd2fad8dcefec0), [`ee6e2920`](https://github.com/Shopify/hydrogen/commit/ee6e2920389b6cc103642b43a17af2311d347e13), [`1a7762bc`](https://github.com/Shopify/hydrogen/commit/1a7762bc4c99ff35ee6392ab7627a0ef13f97e6f), [`1f8acd7b`](https://github.com/Shopify/hydrogen/commit/1f8acd7b6ab0aa78e2a882e59cf69887109504be)]:
- @shopify/cli-hydrogen@5.2.1

## 4.2.2

### 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.2",
"version": "4.2.3",
"type": "module",
"scripts": {
"build": "tsup --clean",
"dev": "tsup --watch",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@shopify/cli-hydrogen": "^5.2.0"
"@shopify/cli-hydrogen": "^5.2.1"
},
"bin": "dist/create-app.js",
"files": [
Expand Down
20 changes: 20 additions & 0 deletions packages/hydrogen-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# @shopify/hydrogen-react

## 2023.7.3

### Patch Changes

- Hydrogen is now compatible with TypeScript v5. ([#1240](https://github.com/Shopify/hydrogen/pull/1240)) by [@frandiox](https://github.com/frandiox)

If you have `typescript` as a dev dependency in your app, it is recommended to change its version as follows:

```diff
"devDependencies": {
...
- "typescript": "^4.9.5",
+ "typescript": "^5.2.2",
},
```

After installing the new version of TypeScript, you may need to update the version used in your IDE. For example, in VSCode, you can do this by clicking on the `{ }` icon in the bottom-right toolbar next to the language mode (generally, `{ } TypeScript JSX` when editing a `.tsx` file).

- Fix passing `ref` to the `<Image>` component. ([#1268](https://github.com/Shopify/hydrogen/pull/1268)) by [@frandiox](https://github.com/frandiox)

## 2023.7.2

### 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.2",
"version": "2023.7.3",
"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

## 2023.7.4

### Patch Changes

- Fix hydration errors and stale data within the Pagination component ([#1283](https://github.com/Shopify/hydrogen/pull/1283)) by [@blittle](https://github.com/blittle)

- Add custom product paths to the `VariantSelector` component: ([#1271](https://github.com/Shopify/hydrogen/pull/1271)) by [@blittle](https://github.com/blittle)

```tsx
<VariantSelector handle="snowboard" productPath="shop" options={options}>
{/* ... */}
</VariantSelector>
```

- Add functionality for creating a Content Security Policy. See the [guide on Content Security Policies](https://shopify.dev/docs/custom-storefronts/hydrogen/content-security-policy) for more details. ([#1235](https://github.com/Shopify/hydrogen/pull/1235)) by [@blittle](https://github.com/blittle)

- Updated dependencies [[`06516ee9`](https://github.com/Shopify/hydrogen/commit/06516ee91f20153902c2b8ef79c0f6690ba385bb), [`423acee2`](https://github.com/Shopify/hydrogen/commit/423acee243c62e49a865ff2cd82735991aca1d8f)]:
- @shopify/hydrogen-react@2023.7.3

## 2023.7.3

### 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.3",
"version": "2023.7.4",
"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.2",
"@shopify/hydrogen-react": "2023.7.3",
"react": "^18.2.0",
"content-security-policy-builder": "^2.1.1"
},
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.3';
export const LIB_VERSION = '2023.7.4';
22 changes: 22 additions & 0 deletions templates/demo-store/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# demo-store

## 2.1.1

### Patch Changes

- Hydrogen is now compatible with TypeScript v5. ([#1240](https://github.com/Shopify/hydrogen/pull/1240)) by [@frandiox](https://github.com/frandiox)

If you have `typescript` as a dev dependency in your app, it is recommended to change its version as follows:

```diff
"devDependencies": {
...
- "typescript": "^4.9.5",
+ "typescript": "^5.2.2",
},
```

After installing the new version of TypeScript, you may need to update the version used in your IDE. For example, in VSCode, you can do this by clicking on the `{ }` icon in the bottom-right toolbar next to the language mode (generally, `{ } TypeScript JSX` when editing a `.tsx` file).

- Updated dependencies [[`3491fd5c`](https://github.com/Shopify/hydrogen/commit/3491fd5cef5586dbf7dc44243124649bfad4df5a), [`06516ee9`](https://github.com/Shopify/hydrogen/commit/06516ee91f20153902c2b8ef79c0f6690ba385bb), [`d67ce6aa`](https://github.com/Shopify/hydrogen/commit/d67ce6aaaa93791fee4b82e722bd2fad8dcefec0), [`1b7e0016`](https://github.com/Shopify/hydrogen/commit/1b7e001647262630dfb66b85f596dd2d86dc12dd), [`ee6e2920`](https://github.com/Shopify/hydrogen/commit/ee6e2920389b6cc103642b43a17af2311d347e13), [`17892a72`](https://github.com/Shopify/hydrogen/commit/17892a72888bc976acc9f6764878253dab795629), [`1a7762bc`](https://github.com/Shopify/hydrogen/commit/1a7762bc4c99ff35ee6392ab7627a0ef13f97e6f), [`1f8acd7b`](https://github.com/Shopify/hydrogen/commit/1f8acd7b6ab0aa78e2a882e59cf69887109504be)]:
- @shopify/cli-hydrogen@5.2.1
- @shopify/hydrogen@2023.7.4

## 2.1.0

### Minor Changes
Expand Down
6 changes: 3 additions & 3 deletions templates/demo-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "demo-store",
"private": true,
"sideEffects": false,
"version": "2.1.0",
"version": "2.1.1",
"scripts": {
"dev": "shopify hydrogen dev --codegen-unstable",
"build": "shopify hydrogen build",
Expand All @@ -20,8 +20,8 @@
"@headlessui/react": "^1.7.2",
"@remix-run/react": "1.19.1",
"@shopify/cli": "3.48.0",
"@shopify/cli-hydrogen": "^5.2.0",
"@shopify/hydrogen": "^2023.7.3",
"@shopify/cli-hydrogen": "^5.2.1",
"@shopify/hydrogen": "^2023.7.4",
"@shopify/remix-oxygen": "^1.1.3",
"clsx": "^1.2.1",
"cross-env": "^7.0.3",
Expand Down
4 changes: 2 additions & 2 deletions templates/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"dependencies": {
"@remix-run/react": "1.19.1",
"@shopify/cli": "3.48.0",
"@shopify/cli-hydrogen": "^5.2.0",
"@shopify/hydrogen": "^2023.7.3",
"@shopify/cli-hydrogen": "^5.2.1",
"@shopify/hydrogen": "^2023.7.4",
"@shopify/remix-oxygen": "^1.1.3",
"@total-typescript/ts-reset": "^0.4.2",
"graphql": "^16.6.0",
Expand Down
4 changes: 2 additions & 2 deletions templates/skeleton/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"dependencies": {
"@remix-run/react": "1.19.1",
"@shopify/cli": "3.48.0",
"@shopify/cli-hydrogen": "^5.2.0",
"@shopify/hydrogen": "^2023.7.3",
"@shopify/cli-hydrogen": "^5.2.1",
"@shopify/hydrogen": "^2023.7.4",
"@shopify/remix-oxygen": "^1.1.3",
"graphql": "^16.6.0",
"graphql-tag": "^2.12.6",
Expand Down

0 comments on commit b17f341

Please sign in to comment.