diff --git a/.changeset/bright-cameras-do.md b/.changeset/bright-cameras-do.md deleted file mode 100644 index 0c9bfb4f59..0000000000 --- a/.changeset/bright-cameras-do.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/remix-oxygen': patch ---- - -Change peer dependency of `@shopify/oxygen-workers-types` to allow for `^4.0.0` versions. diff --git a/.changeset/bright-steaks-talk.md b/.changeset/bright-steaks-talk.md deleted file mode 100644 index 9d314f72ef..0000000000 --- a/.changeset/bright-steaks-talk.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@shopify/cli-hydrogen': patch -'@shopify/create-hydrogen': patch ---- - -Remove error boundary from robots.txt in hydrogen template diff --git a/.changeset/eighty-kangaroos-repeat.md b/.changeset/eighty-kangaroos-repeat.md deleted file mode 100644 index 937ed53966..0000000000 --- a/.changeset/eighty-kangaroos-repeat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/hydrogen': patch ---- - -Fix the Pagination component to always restore scroll correctly on back/forth navigation. This has the side effect of causing a hydration error _only_ when the user refreshes an already paginated page. This is because during refresh the Paginated list is rendered with navigation state, _not_ the state returned by the server. Navigation state might contain many pages of data, so all of it is necessary to properly render the page height and restore scroll. The side effect of this is the hydration mismatch. We feel it isn't often the user would hard refresh the page, and when doing so, a hydration mismatch and flash of rendered content is an acceptable downside to accurately maintaining scroll location. diff --git a/.changeset/eleven-rivers-check.md b/.changeset/eleven-rivers-check.md deleted file mode 100644 index d38ae7d9f9..0000000000 --- a/.changeset/eleven-rivers-check.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -'skeleton': patch ---- - -In TypeScript projects, when updating to the latest `@shopify/remix-oxygen` adapter release, please update also to the latest version of `@shopify/oxygen-workers-types`: - -```diff -"devDependencies": { - "@remix-run/dev": "2.1.0", - "@remix-run/eslint-config": "2.1.0", -- "@shopify/oxygen-workers-types": "^3.17.3", -+ "@shopify/oxygen-workers-types": "^4.0.0", - "@shopify/prettier-config": "^1.1.2", - ... -}, -``` diff --git a/.changeset/good-plums-remember.md b/.changeset/good-plums-remember.md deleted file mode 100644 index 06d6c8e57a..0000000000 --- a/.changeset/good-plums-remember.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/hydrogen': patch ---- - -Export caching types to make creating custom clients easier in typescript diff --git a/.changeset/happy-eagles-attack.md b/.changeset/happy-eagles-attack.md deleted file mode 100644 index a4c2126fc3..0000000000 --- a/.changeset/happy-eagles-attack.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'skeleton': patch ---- - -Updated internal dependencies for bug resolution. -Please update the `@shopify/cli` dependency in your app to avoid duplicated subdependencies: - -```diff - "dependencies": { -- "@shopify/cli": "3.50.2", -+ "@shopify/cli": "3.51.0", - } -``` diff --git a/.changeset/honest-apricots-fail.md b/.changeset/honest-apricots-fail.md deleted file mode 100644 index 73d2cf6be9..0000000000 --- a/.changeset/honest-apricots-fail.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -'@shopify/cli-hydrogen': patch ---- - -New `h2 upgrade` command - -We are introducing a new hydrogen cli `upgrade` command that: - -- Makes upgrading hydrogen as easy as typing `h2 upgrade` in your terminal -- Provides a quick summary of the key `features` and `fixes` of any available - hydrogen version(s) -- Generates a `TODO` instructions file detailing all cumulative code changes required - to adopt a given hydrogen version -- Provides a gentle notice during development detailing when a hydrogen is outdated, as well as a quick glance into the number of hydrogen version available - -## Basic use - -```bash -# from the base of the project run -h2 upgrade -``` - -### `--version` flag - -The version flag let's you upgrade to a specific release version without any further -prompts. If an invalid version is provided you will be prompted to choose a hydrogen -version via a CLI prompt - -```bash -h2 upgrade --version 2023.10.0 -``` - -### `--dry-run` flag - -If your are unsure about upgrading or just want to preview the TODO list of -changes to a given hydrogen version you can run - -```bash -h2 upgrade --dry-run - -# this will output a new .md file inside the .hydrogen/ folder for a given upgrade -``` diff --git a/.changeset/silver-sheep-melt.md b/.changeset/silver-sheep-melt.md deleted file mode 100644 index e5916b3532..0000000000 --- a/.changeset/silver-sheep-melt.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -'@shopify/cli-hydrogen': minor ---- - -Enable debugger connections by passing `--debug` flag to the `h2 dev` command: - -- Current default runtime (Node.js sandbox): `h2 dev --debug`. -- New Worker runtime: `h2 dev --debug --worker-unstable`. - -You can then connect to the port `9229` (configurable with the new `--inspector-port` flag) to start step debugging. - -When using `--worker-unstable`, an improved version of the DevTools will be available in `localhost:9229`. Otherwise, in Chrome you can go to `chrome://inspect` to open the DevTools -- make sure the inspector port is added to the network targets. - -Alternatively, in VSCode, you can add the following to your `.vscode/launch.json`: - -``` -{ - "version": "0.2.0", - "configurations": [ - { - "name": "Hydrogen", - "type": "node", - "request": "attach", - "port": 9229, - "cwd": "/", - "resolveSourceMapLocations": null, - "attachExistingChildren": false, - "autoAttachChildProcesses": false, - "restart": true - } - ] -} -``` diff --git a/.changeset/small-zoos-grab.md b/.changeset/small-zoos-grab.md deleted file mode 100644 index e6353730b3..0000000000 --- a/.changeset/small-zoos-grab.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/hydrogen-react': patch ---- - -This change adds an optional prop to the `ShopPayButton` that adds order attribution support for either the Headless or Hydrogen sales channel. diff --git a/.changeset/spicy-cobras-sniff.md b/.changeset/spicy-cobras-sniff.md deleted file mode 100644 index 3649afb271..0000000000 --- a/.changeset/spicy-cobras-sniff.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@shopify/remix-oxygen': patch -'@shopify/mini-oxygen': patch -'@shopify/hydrogen': patch -'@shopify/cli-hydrogen': patch ---- - -Fix peer dependencies across packages. diff --git a/.changeset/thick-feet-behave.md b/.changeset/thick-feet-behave.md deleted file mode 100644 index 3e91354629..0000000000 --- a/.changeset/thick-feet-behave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/cli-hydrogen': patch ---- - -Resolves an issue with the verification check in the "deploy" command. diff --git a/.changeset/tiny-donkeys-suffer.md b/.changeset/tiny-donkeys-suffer.md deleted file mode 100644 index b83236fbec..0000000000 --- a/.changeset/tiny-donkeys-suffer.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'skeleton': patch ---- - -Since Remix is now a peer dependency of `@shopify/remix-oxygen`, you need to add `@remix-run/server-runtime` to your dependencies with the same version you have for the rest of Remix dependencies. - -```diff -"dependencies": { - "@remix-run/react": "2.1.0" -+ "@remix-run/server-runtime": "2.1.0" - ... -} -``` diff --git a/.changeset/witty-lamps-fly.md b/.changeset/witty-lamps-fly.md deleted file mode 100644 index bf45c9c2ec..0000000000 --- a/.changeset/witty-lamps-fly.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/hydrogen': patch ---- - -Adds default channel value of "hydrogen" to the ShopPayButton component exported out of the @shopify/hydrogen package. diff --git a/examples/express/CHANGELOG.md b/examples/express/CHANGELOG.md index 21331a3c46..7f6f7702ab 100644 --- a/examples/express/CHANGELOG.md +++ b/examples/express/CHANGELOG.md @@ -4,6 +4,13 @@ ### Patch Changes +- Updated dependencies [[`74ea1dba`](https://github.com/Shopify/hydrogen/commit/74ea1dba9af37a146882df7ed9674be5659862b5), [`a9b8bcde`](https://github.com/Shopify/hydrogen/commit/a9b8bcde96c22cedef7d87631d429199810b4a7a), [`8fce70de`](https://github.com/Shopify/hydrogen/commit/8fce70de32bd61ee86a6d895ac43cc1f78f1bf49), [`e8cc49fe`](https://github.com/Shopify/hydrogen/commit/e8cc49feff18f5ee72d5f6965ff2094addc23466)]: + - @shopify/hydrogen@2023.10.3 + +## null + +### Patch Changes + - Updated dependencies [[`69624b32`](https://github.com/Shopify/hydrogen/commit/69624b3276fa18a654e222db226c7403ebdc8ead)]: - @shopify/hydrogen@2023.10.2 diff --git a/examples/express/package.json b/examples/express/package.json index ab44dc2ca8..69e794848e 100644 --- a/examples/express/package.json +++ b/examples/express/package.json @@ -16,7 +16,7 @@ "@remix-run/node": "2.1.0", "@remix-run/react": "2.1.0", "@remix-run/server-runtime": "2.1.0", - "@shopify/hydrogen": "2023.10.2", + "@shopify/hydrogen": "2023.10.3", "compression": "^1.7.4", "cross-env": "^7.0.3", "express": "^4.18.2", @@ -29,7 +29,7 @@ "@remix-run/dev": "2.1.0", "@remix-run/eslint-config": "2.1.0", "@shopify/cli": "3.51.0", - "@shopify/cli-hydrogen": "^6.0.2", + "@shopify/cli-hydrogen": "^6.1.0", "@types/compression": "^1.7.2", "@types/express": "^4.17.17", "@types/morgan": "^1.9.4", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index ae2c320a12..474e5d56a8 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,89 @@ # @shopify/cli-hydrogen +## 6.1.0 + +### Minor Changes + +- Enable debugger connections by passing `--debug` flag to the `h2 dev` command: ([#1480](https://github.com/Shopify/hydrogen/pull/1480)) by [@frandiox](https://github.com/frandiox) + + - Current default runtime (Node.js sandbox): `h2 dev --debug`. + - New Worker runtime: `h2 dev --debug --worker-unstable`. + + You can then connect to the port `9229` (configurable with the new `--inspector-port` flag) to start step debugging. + + When using `--worker-unstable`, an improved version of the DevTools will be available in `localhost:9229`. Otherwise, in Chrome you can go to `chrome://inspect` to open the DevTools -- make sure the inspector port is added to the network targets. + + Alternatively, in VSCode, you can add the following to your `.vscode/launch.json`: + + ``` + { + "version": "0.2.0", + "configurations": [ + { + "name": "Hydrogen", + "type": "node", + "request": "attach", + "port": 9229, + "cwd": "/", + "resolveSourceMapLocations": null, + "attachExistingChildren": false, + "autoAttachChildProcesses": false, + "restart": true + } + ] + } + ``` + +### Patch Changes + +- Remove error boundary from robots.txt in hydrogen template ([#1492](https://github.com/Shopify/hydrogen/pull/1492)) by [@andrewcohen](https://github.com/andrewcohen) + +- New `h2 upgrade` command ([#1458](https://github.com/Shopify/hydrogen/pull/1458)) by [@juanpprieto](https://github.com/juanpprieto) + + We are introducing a new hydrogen cli `upgrade` command that: + + - Makes upgrading hydrogen as easy as typing `h2 upgrade` in your terminal + - Provides a quick summary of the key `features` and `fixes` of any available + hydrogen version(s) + - Generates a `TODO` instructions file detailing all cumulative code changes required + to adopt a given hydrogen version + - Provides a gentle notice during development detailing when a hydrogen is outdated, as well as a quick glance into the number of hydrogen version available + + ## Basic use + + ```bash + # from the base of the project run + h2 upgrade + ``` + + ### `--version` flag + + The version flag let's you upgrade to a specific release version without any further + prompts. If an invalid version is provided you will be prompted to choose a hydrogen + version via a CLI prompt + + ```bash + h2 upgrade --version 2023.10.0 + ``` + + ### `--dry-run` flag + + If your are unsure about upgrading or just want to preview the TODO list of + changes to a given hydrogen version you can run + + ```bash + h2 upgrade --dry-run + + # this will output a new .md file inside the .hydrogen/ folder for a given upgrade + ``` + +- Fix peer dependencies across packages. ([#1489](https://github.com/Shopify/hydrogen/pull/1489)) by [@frandiox](https://github.com/frandiox) + +- Resolves an issue with the verification check in the "deploy" command. ([#1504](https://github.com/Shopify/hydrogen/pull/1504)) by [@vincentezw](https://github.com/vincentezw) + +- Updated dependencies [[`8fce70de`](https://github.com/Shopify/hydrogen/commit/8fce70de32bd61ee86a6d895ac43cc1f78f1bf49)]: + - @shopify/mini-oxygen@2.2.4 + ## 6.0.2 ### Patch Changes diff --git a/packages/cli/oclif.manifest.json b/packages/cli/oclif.manifest.json index 847e202006..edd7a63312 100644 --- a/packages/cli/oclif.manifest.json +++ b/packages/cli/oclif.manifest.json @@ -1,5 +1,5 @@ { - "version": "6.0.2", + "version": "6.1.0", "commands": { "hydrogen:build": { "id": "hydrogen:build", diff --git a/packages/cli/package.json b/packages/cli/package.json index 2bf7120381..0909ed5bbd 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -4,7 +4,7 @@ "access": "public", "@shopify:registry": "https://registry.npmjs.org" }, - "version": "6.0.2", + "version": "6.1.0", "license": "MIT", "type": "module", "scripts": { @@ -37,7 +37,7 @@ "@oclif/core": "2.11.7", "@shopify/cli-kit": "^3.51.0", "@shopify/hydrogen-codegen": "^0.1.0", - "@shopify/mini-oxygen": "^2.2.3", + "@shopify/mini-oxygen": "^2.2.4", "@shopify/oxygen-cli": "2.6.2", "ansi-escapes": "^6.2.0", "cli-truncate": "^4.0.0", diff --git a/packages/create-hydrogen/CHANGELOG.md b/packages/create-hydrogen/CHANGELOG.md index 04eac90b8d..bad765c5db 100644 --- a/packages/create-hydrogen/CHANGELOG.md +++ b/packages/create-hydrogen/CHANGELOG.md @@ -1,5 +1,14 @@ # @shopify/create-hydrogen +## 4.3.4 + +### Patch Changes + +- Remove error boundary from robots.txt in hydrogen template ([#1492](https://github.com/Shopify/hydrogen/pull/1492)) by [@andrewcohen](https://github.com/andrewcohen) + +- Updated dependencies [[`26c969bb`](https://github.com/Shopify/hydrogen/commit/26c969bb10166c87c95184ab60188ada9ad2c780), [`bca112ed`](https://github.com/Shopify/hydrogen/commit/bca112ed7db49e533fe49898b663fa0dd318e6ba), [`2bff9fc7`](https://github.com/Shopify/hydrogen/commit/2bff9fc75916fa95f9a9279d069408fb7a33755c), [`8fce70de`](https://github.com/Shopify/hydrogen/commit/8fce70de32bd61ee86a6d895ac43cc1f78f1bf49), [`f90e4d47`](https://github.com/Shopify/hydrogen/commit/f90e4d4713c6c1fc1e921a7ecd08e95fe5da1744)]: + - @shopify/cli-hydrogen@6.1.0 + ## 4.3.3 ### Patch Changes diff --git a/packages/create-hydrogen/package.json b/packages/create-hydrogen/package.json index f2fe001afc..527437c544 100644 --- a/packages/create-hydrogen/package.json +++ b/packages/create-hydrogen/package.json @@ -5,7 +5,7 @@ "@shopify:registry": "https://registry.npmjs.org" }, "license": "MIT", - "version": "4.3.3", + "version": "4.3.4", "type": "module", "scripts": { "build": "tsup --clean", @@ -13,7 +13,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@shopify/cli-hydrogen": "^6.0.1" + "@shopify/cli-hydrogen": "^6.1.0" }, "bin": "dist/create-app.js", "files": [ diff --git a/packages/hydrogen-react/CHANGELOG.md b/packages/hydrogen-react/CHANGELOG.md index 43e8d9741e..b234a11af9 100644 --- a/packages/hydrogen-react/CHANGELOG.md +++ b/packages/hydrogen-react/CHANGELOG.md @@ -1,5 +1,11 @@ # @shopify/hydrogen-react +## 2023.10.1 + +### Patch Changes + +- This change adds an optional prop to the `ShopPayButton` that adds order attribution support for either the Headless or Hydrogen sales channel. ([#1447](https://github.com/Shopify/hydrogen/pull/1447)) by [@QuintonC](https://github.com/QuintonC) + ## 2023.10.0 ### Major Changes diff --git a/packages/hydrogen-react/package.json b/packages/hydrogen-react/package.json index c04b73f02c..b4004f948f 100644 --- a/packages/hydrogen-react/package.json +++ b/packages/hydrogen-react/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/hydrogen-react", - "version": "2023.10.0", + "version": "2023.10.1", "description": "React components, hooks, and utilities for creating custom Shopify storefronts", "homepage": "https://github.com/Shopify/hydrogen/tree/main/packages/hydrogen-react", "license": "MIT", diff --git a/packages/hydrogen/CHANGELOG.md b/packages/hydrogen/CHANGELOG.md index de7bed474b..a5ed45031d 100644 --- a/packages/hydrogen/CHANGELOG.md +++ b/packages/hydrogen/CHANGELOG.md @@ -1,5 +1,20 @@ # @shopify/hydrogen +## 2023.10.3 + +### Patch Changes + +- Fix the Pagination component to always restore scroll correctly on back/forth navigation. This has the side effect of causing a hydration error _only_ when the user refreshes an already paginated page. This is because during refresh the Paginated list is rendered with navigation state, _not_ the state returned by the server. Navigation state might contain many pages of data, so all of it is necessary to properly render the page height and restore scroll. The side effect of this is the hydration mismatch. We feel it isn't often the user would hard refresh the page, and when doing so, a hydration mismatch and flash of rendered content is an acceptable downside to accurately maintaining scroll location. ([#1508](https://github.com/Shopify/hydrogen/pull/1508)) by [@blittle](https://github.com/blittle) + +- Export caching types to make creating custom clients easier in typescript ([#1507](https://github.com/Shopify/hydrogen/pull/1507)) by [@juanpprieto](https://github.com/juanpprieto) + +- Fix peer dependencies across packages. ([#1489](https://github.com/Shopify/hydrogen/pull/1489)) by [@frandiox](https://github.com/frandiox) + +- Adds default channel value of "hydrogen" to the ShopPayButton component exported out of the @shopify/hydrogen package. ([#1447](https://github.com/Shopify/hydrogen/pull/1447)) by [@QuintonC](https://github.com/QuintonC) + +- Updated dependencies [[`e8cc49fe`](https://github.com/Shopify/hydrogen/commit/e8cc49feff18f5ee72d5f6965ff2094addc23466)]: + - @shopify/hydrogen-react@2023.10.1 + ## 2023.10.2 ### Patch Changes diff --git a/packages/hydrogen/package.json b/packages/hydrogen/package.json index ff7ec1ec94..b198414c0d 100644 --- a/packages/hydrogen/package.json +++ b/packages/hydrogen/package.json @@ -5,7 +5,7 @@ "@shopify:registry": "https://registry.npmjs.org" }, "type": "module", - "version": "2023.10.2", + "version": "2023.10.3", "license": "MIT", "main": "dist/index.cjs", "module": "dist/production/index.js", @@ -54,7 +54,7 @@ "dist" ], "dependencies": { - "@shopify/hydrogen-react": "2023.10.0", + "@shopify/hydrogen-react": "2023.10.1", "content-security-policy-builder": "^2.1.1", "type-fest": "^4.5.0" }, diff --git a/packages/hydrogen/src/version.ts b/packages/hydrogen/src/version.ts index 2e4f880f5f..7285fc95a3 100644 --- a/packages/hydrogen/src/version.ts +++ b/packages/hydrogen/src/version.ts @@ -1 +1 @@ -export const LIB_VERSION = '2023.10.2'; +export const LIB_VERSION = '2023.10.3'; diff --git a/packages/mini-oxygen/CHANGELOG.md b/packages/mini-oxygen/CHANGELOG.md index 59ec3ef5c4..8067f1e02c 100644 --- a/packages/mini-oxygen/CHANGELOG.md +++ b/packages/mini-oxygen/CHANGELOG.md @@ -1,5 +1,11 @@ # @shopify/mini-oxygen +## 2.2.4 + +### Patch Changes + +- Fix peer dependencies across packages. ([#1489](https://github.com/Shopify/hydrogen/pull/1489)) by [@frandiox](https://github.com/frandiox) + ## 2.2.3 ### Patch Changes diff --git a/packages/mini-oxygen/package.json b/packages/mini-oxygen/package.json index 255448abe0..ee9f87c843 100644 --- a/packages/mini-oxygen/package.json +++ b/packages/mini-oxygen/package.json @@ -4,7 +4,7 @@ "access": "public", "@shopify:registry": "https://registry.npmjs.org" }, - "version": "2.2.3", + "version": "2.2.4", "license": "MIT", "type": "module", "description": "Development assistant for custom Shopify Oxygen hosted storefronts", diff --git a/packages/remix-oxygen/CHANGELOG.md b/packages/remix-oxygen/CHANGELOG.md index 24d6c95b28..970dddb587 100644 --- a/packages/remix-oxygen/CHANGELOG.md +++ b/packages/remix-oxygen/CHANGELOG.md @@ -1,5 +1,13 @@ # @shopify/remix-oxygen +## 2.0.2 + +### Patch Changes + +- Change peer dependency of `@shopify/oxygen-workers-types` to allow for `^4.0.0` versions. ([#1494](https://github.com/Shopify/hydrogen/pull/1494)) by [@frandiox](https://github.com/frandiox) + +- Fix peer dependencies across packages. ([#1489](https://github.com/Shopify/hydrogen/pull/1489)) by [@frandiox](https://github.com/frandiox) + ## 2.0.1 ### Patch Changes diff --git a/packages/remix-oxygen/package.json b/packages/remix-oxygen/package.json index 84ea5b054b..881e37d9ef 100644 --- a/packages/remix-oxygen/package.json +++ b/packages/remix-oxygen/package.json @@ -5,7 +5,7 @@ "@shopify:registry": "https://registry.npmjs.org" }, "type": "module", - "version": "2.0.1", + "version": "2.0.2", "license": "MIT", "main": "dist/index.cjs", "module": "dist/production/index.js", diff --git a/templates/demo-store/package.json b/templates/demo-store/package.json index f314f0821f..70f67ec434 100644 --- a/templates/demo-store/package.json +++ b/templates/demo-store/package.json @@ -21,9 +21,9 @@ "@remix-run/react": "2.1.0", "@remix-run/server-runtime": "2.1.0", "@shopify/cli": "3.51.0", - "@shopify/cli-hydrogen": "^6.0.2", - "@shopify/hydrogen": "~2023.10.2", - "@shopify/remix-oxygen": "^2.0.1", + "@shopify/cli-hydrogen": "^6.1.0", + "@shopify/hydrogen": "~2023.10.3", + "@shopify/remix-oxygen": "^2.0.2", "clsx": "^1.2.1", "cross-env": "^7.0.3", "graphql": "^16.6.0", diff --git a/templates/hello-world/package.json b/templates/hello-world/package.json index a5c001085d..2d21ded022 100644 --- a/templates/hello-world/package.json +++ b/templates/hello-world/package.json @@ -16,9 +16,9 @@ "@remix-run/react": "2.1.0", "@remix-run/server-runtime": "2.1.0", "@shopify/cli": "3.51.0", - "@shopify/cli-hydrogen": "^6.0.2", - "@shopify/hydrogen": "~2023.10.2", - "@shopify/remix-oxygen": "^2.0.1", + "@shopify/cli-hydrogen": "^6.1.0", + "@shopify/hydrogen": "~2023.10.3", + "@shopify/remix-oxygen": "^2.0.2", "@total-typescript/ts-reset": "^0.4.2", "graphql": "^16.6.0", "graphql-tag": "^2.12.6", diff --git a/templates/skeleton/CHANGELOG.md b/templates/skeleton/CHANGELOG.md index ede2e9b8f9..1b13bdc23a 100644 --- a/templates/skeleton/CHANGELOG.md +++ b/templates/skeleton/CHANGELOG.md @@ -1,5 +1,48 @@ # skeleton +## 1.0.1 + +### Patch Changes + +- In TypeScript projects, when updating to the latest `@shopify/remix-oxygen` adapter release, please update also to the latest version of `@shopify/oxygen-workers-types`: ([#1494](https://github.com/Shopify/hydrogen/pull/1494)) by [@frandiox](https://github.com/frandiox) + + ```diff + "devDependencies": { + "@remix-run/dev": "2.1.0", + "@remix-run/eslint-config": "2.1.0", + - "@shopify/oxygen-workers-types": "^3.17.3", + + "@shopify/oxygen-workers-types": "^4.0.0", + "@shopify/prettier-config": "^1.1.2", + ... + }, + ``` + +- Updated internal dependencies for bug resolution. ([#1496](https://github.com/Shopify/hydrogen/pull/1496)) by [@vincentezw](https://github.com/vincentezw) + + Please update the `@shopify/cli` dependency in your app to avoid duplicated subdependencies: + + ```diff + "dependencies": { + - "@shopify/cli": "3.50.2", + + "@shopify/cli": "3.51.0", + } + ``` + +- Since Remix is now a peer dependency of `@shopify/remix-oxygen`, you need to add `@remix-run/server-runtime` to your dependencies with the same version you have for the rest of Remix dependencies. ([#1489](https://github.com/Shopify/hydrogen/pull/1489)) by [@frandiox](https://github.com/frandiox) + + ```diff + "dependencies": { + "@remix-run/react": "2.1.0" + + "@remix-run/server-runtime": "2.1.0" + ... + } + ``` + +- Updated dependencies [[`9b4f4534`](https://github.com/Shopify/hydrogen/commit/9b4f453407338874bd8f1a1f619b607670e021d0), [`26c969bb`](https://github.com/Shopify/hydrogen/commit/26c969bb10166c87c95184ab60188ada9ad2c780), [`74ea1dba`](https://github.com/Shopify/hydrogen/commit/74ea1dba9af37a146882df7ed9674be5659862b5), [`a9b8bcde`](https://github.com/Shopify/hydrogen/commit/a9b8bcde96c22cedef7d87631d429199810b4a7a), [`bca112ed`](https://github.com/Shopify/hydrogen/commit/bca112ed7db49e533fe49898b663fa0dd318e6ba), [`2bff9fc7`](https://github.com/Shopify/hydrogen/commit/2bff9fc75916fa95f9a9279d069408fb7a33755c), [`8fce70de`](https://github.com/Shopify/hydrogen/commit/8fce70de32bd61ee86a6d895ac43cc1f78f1bf49), [`f90e4d47`](https://github.com/Shopify/hydrogen/commit/f90e4d4713c6c1fc1e921a7ecd08e95fe5da1744), [`e8cc49fe`](https://github.com/Shopify/hydrogen/commit/e8cc49feff18f5ee72d5f6965ff2094addc23466)]: + - @shopify/remix-oxygen@2.0.2 + - @shopify/cli-hydrogen@6.1.0 + - @shopify/hydrogen@2023.10.3 + ## 1.0.0 ### Major Changes diff --git a/templates/skeleton/package.json b/templates/skeleton/package.json index ea7099cf11..6340ddf26a 100644 --- a/templates/skeleton/package.json +++ b/templates/skeleton/package.json @@ -2,7 +2,7 @@ "name": "skeleton", "private": true, "sideEffects": false, - "version": "1.0.0", + "version": "1.0.1", "scripts": { "build": "shopify hydrogen build", "dev": "shopify hydrogen dev --codegen", @@ -16,9 +16,9 @@ "@remix-run/react": "2.1.0", "@remix-run/server-runtime": "2.1.0", "@shopify/cli": "3.51.0", - "@shopify/cli-hydrogen": "^6.0.0", - "@shopify/hydrogen": "~2023.10.2", - "@shopify/remix-oxygen": "^2.0.1", + "@shopify/cli-hydrogen": "^6.1.0", + "@shopify/hydrogen": "~2023.10.3", + "@shopify/remix-oxygen": "^2.0.2", "graphql": "^16.6.0", "graphql-tag": "^2.12.6", "isbot": "^3.6.6",