From a2130c7e0b9821d3830964177720a7574761d5ea Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 8 Feb 2023 22:05:31 +0000 Subject: [PATCH] [ci] release 2023-01 --- .changeset/big-planes-warn.md | 5 ---- .changeset/blue-shirts-hide.md | 5 ---- .changeset/bright-lemons-promise.md | 5 ---- .changeset/brown-spiders-tickle.md | 5 ---- .changeset/curvy-apes-yawn.md | 5 ---- .changeset/dull-windows-enjoy.md | 5 ---- .changeset/early-jobs-flow.md | 8 ------ .changeset/empty-seals-arrive.md | 5 ---- .changeset/fifty-cougars-walk.md | 5 ---- .changeset/four-snakes-provide.md | 5 ---- .changeset/fresh-crabs-knock.md | 5 ---- .changeset/fuzzy-crabs-call.md | 5 ---- .changeset/little-pigs-argue.md | 5 ---- .changeset/loud-birds-talk.md | 5 ---- .changeset/loud-hairs-promise.md | 5 ---- .changeset/loud-otters-act.md | 5 ---- .changeset/modern-trains-fry.md | 5 ---- .changeset/nervous-meals-nail.md | 5 ---- .changeset/odd-monkeys-doubt.md | 5 ---- .changeset/olive-apes-smash.md | 6 ---- .changeset/orange-students-lie.md | 5 ---- .changeset/pre.json | 40 --------------------------- .changeset/serious-radios-occur.md | 5 ---- .changeset/shaggy-turkeys-roll.md | 5 ---- .changeset/small-planes-sniff.md | 8 ------ .changeset/sour-cycles-think.md | 5 ---- .changeset/spotty-swans-unite.md | 5 ---- .changeset/twenty-cheetahs-return.md | 5 ---- .changeset/violet-doors-exist.md | 6 ---- packages/cli/CHANGELOG.md | 39 ++++++++++++++++++++++++++ packages/cli/package.json | 4 +-- packages/create-hydrogen/CHANGELOG.md | 11 ++++++++ packages/create-hydrogen/package.json | 4 +-- packages/hydrogen/CHANGELOG.md | 34 +++++++++++++++++++++++ packages/hydrogen/package.json | 2 +- packages/hydrogen/src/version.ts | 2 +- packages/remix-oxygen/CHANGELOG.md | 14 ++++++++++ packages/remix-oxygen/package.json | 2 +- templates/demo-store/package.json | 6 ++-- templates/hello-world/package.json | 6 ++-- 40 files changed, 111 insertions(+), 201 deletions(-) delete mode 100644 .changeset/big-planes-warn.md delete mode 100644 .changeset/blue-shirts-hide.md delete mode 100644 .changeset/bright-lemons-promise.md delete mode 100644 .changeset/brown-spiders-tickle.md delete mode 100644 .changeset/curvy-apes-yawn.md delete mode 100644 .changeset/dull-windows-enjoy.md delete mode 100644 .changeset/early-jobs-flow.md delete mode 100644 .changeset/empty-seals-arrive.md delete mode 100644 .changeset/fifty-cougars-walk.md delete mode 100644 .changeset/four-snakes-provide.md delete mode 100644 .changeset/fresh-crabs-knock.md delete mode 100644 .changeset/fuzzy-crabs-call.md delete mode 100644 .changeset/little-pigs-argue.md delete mode 100644 .changeset/loud-birds-talk.md delete mode 100644 .changeset/loud-hairs-promise.md delete mode 100644 .changeset/loud-otters-act.md delete mode 100644 .changeset/modern-trains-fry.md delete mode 100644 .changeset/nervous-meals-nail.md delete mode 100644 .changeset/odd-monkeys-doubt.md delete mode 100644 .changeset/olive-apes-smash.md delete mode 100644 .changeset/orange-students-lie.md delete mode 100644 .changeset/pre.json delete mode 100644 .changeset/serious-radios-occur.md delete mode 100644 .changeset/shaggy-turkeys-roll.md delete mode 100644 .changeset/small-planes-sniff.md delete mode 100644 .changeset/sour-cycles-think.md delete mode 100644 .changeset/spotty-swans-unite.md delete mode 100644 .changeset/twenty-cheetahs-return.md delete mode 100644 .changeset/violet-doors-exist.md diff --git a/.changeset/big-planes-warn.md b/.changeset/big-planes-warn.md deleted file mode 100644 index 2fa0c8ef0d..0000000000 --- a/.changeset/big-planes-warn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/hydrogen': patch ---- - -Refactor cart diff --git a/.changeset/blue-shirts-hide.md b/.changeset/blue-shirts-hide.md deleted file mode 100644 index 6d94e0d4e2..0000000000 --- a/.changeset/blue-shirts-hide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/hydrogen': patch ---- - -Update `storefront-kit-react` pacakge name to `hydrogen-react` diff --git a/.changeset/bright-lemons-promise.md b/.changeset/bright-lemons-promise.md deleted file mode 100644 index 75b24b874c..0000000000 --- a/.changeset/bright-lemons-promise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/remix-oxygen': patch ---- - -Initial release of @shopify/remix-oxygen diff --git a/.changeset/brown-spiders-tickle.md b/.changeset/brown-spiders-tickle.md deleted file mode 100644 index 5e1a6f114e..0000000000 --- a/.changeset/brown-spiders-tickle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/cli-hydrogen': patch ---- - -Change environment variable names to use what Oxygen will populate. diff --git a/.changeset/curvy-apes-yawn.md b/.changeset/curvy-apes-yawn.md deleted file mode 100644 index 827c248ee5..0000000000 --- a/.changeset/curvy-apes-yawn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/hydrogen': patch ---- - -Fix a pagination bug on country change diff --git a/.changeset/dull-windows-enjoy.md b/.changeset/dull-windows-enjoy.md deleted file mode 100644 index 4684f5750a..0000000000 --- a/.changeset/dull-windows-enjoy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/cli-hydrogen': patch ---- - -Defer CJS imports to improve CLI start up diff --git a/.changeset/early-jobs-flow.md b/.changeset/early-jobs-flow.md deleted file mode 100644 index 2bcedcb704..0000000000 --- a/.changeset/early-jobs-flow.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@shopify/hydrogen': patch -'@shopify/remix-oxygen': patch -'@shopify/cli-hydrogen': patch ---- - -- Upgrade to the latest Remix experimental defer release, 1.11.0 -- Replace redundant i18n routes with a single root optional route segment `($lang)` diff --git a/.changeset/empty-seals-arrive.md b/.changeset/empty-seals-arrive.md deleted file mode 100644 index b248f3ba8c..0000000000 --- a/.changeset/empty-seals-arrive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/cli-hydrogen': patch ---- - -Fix various issues scaffolding new apps diff --git a/.changeset/fifty-cougars-walk.md b/.changeset/fifty-cougars-walk.md deleted file mode 100644 index 5caff0a8f4..0000000000 --- a/.changeset/fifty-cougars-walk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/remix-oxygen': patch ---- - -Remove the local `/__health` route because it's not required in Oxygen anymore. diff --git a/.changeset/four-snakes-provide.md b/.changeset/four-snakes-provide.md deleted file mode 100644 index dce26232e9..0000000000 --- a/.changeset/four-snakes-provide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/cli-hydrogen': patch ---- - -Improve output of tmp CLI diff --git a/.changeset/fresh-crabs-knock.md b/.changeset/fresh-crabs-knock.md deleted file mode 100644 index 10d44b57e0..0000000000 --- a/.changeset/fresh-crabs-knock.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/remix-oxygen': patch ---- - -Remove deprecated `shouldProxyAsset` option. diff --git a/.changeset/fuzzy-crabs-call.md b/.changeset/fuzzy-crabs-call.md deleted file mode 100644 index ee7797e1fd..0000000000 --- a/.changeset/fuzzy-crabs-call.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/cli-hydrogen': patch ---- - -Create onboarding virtual route diff --git a/.changeset/little-pigs-argue.md b/.changeset/little-pigs-argue.md deleted file mode 100644 index 1b97572cc5..0000000000 --- a/.changeset/little-pigs-argue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/hydrogen': patch ---- - -Remove useDataFromMatches and useDataFromFetchers hook from hydrogen package diff --git a/.changeset/loud-birds-talk.md b/.changeset/loud-birds-talk.md deleted file mode 100644 index a908b16a87..0000000000 --- a/.changeset/loud-birds-talk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/cli-hydrogen': patch ---- - -Properly use JS if specified in the temp init script diff --git a/.changeset/loud-hairs-promise.md b/.changeset/loud-hairs-promise.md deleted file mode 100644 index 78ac10de97..0000000000 --- a/.changeset/loud-hairs-promise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/hydrogen': patch ---- - -Use the new version of GraphiQL instead of GraphQL Playground diff --git a/.changeset/loud-otters-act.md b/.changeset/loud-otters-act.md deleted file mode 100644 index 5e9f46b216..0000000000 --- a/.changeset/loud-otters-act.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/cli-hydrogen': patch ---- - -Fix remix.init in templates diff --git a/.changeset/modern-trains-fry.md b/.changeset/modern-trains-fry.md deleted file mode 100644 index 17afe4bb13..0000000000 --- a/.changeset/modern-trains-fry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/hydrogen': patch ---- - -Add a default value for `context.storefront.i18n` and improve types. diff --git a/.changeset/nervous-meals-nail.md b/.changeset/nervous-meals-nail.md deleted file mode 100644 index ef0c7aced2..0000000000 --- a/.changeset/nervous-meals-nail.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/hydrogen': patch ---- - -Fix `i18n` type passing to loader diff --git a/.changeset/odd-monkeys-doubt.md b/.changeset/odd-monkeys-doubt.md deleted file mode 100644 index 92b21cf22c..0000000000 --- a/.changeset/odd-monkeys-doubt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/cli-hydrogen': patch ---- - -Update demo-store template to remove `remix.config.js`, which fixes teh TS-JS conversion process diff --git a/.changeset/olive-apes-smash.md b/.changeset/olive-apes-smash.md deleted file mode 100644 index 77ded78881..0000000000 --- a/.changeset/olive-apes-smash.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@shopify/cli-hydrogen': patch -'@shopify/create-hydrogen': patch ---- - -Introduce create-app CLI package and refactor how new Hydrogen apps are initialized diff --git a/.changeset/orange-students-lie.md b/.changeset/orange-students-lie.md deleted file mode 100644 index 829837da0e..0000000000 --- a/.changeset/orange-students-lie.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/hydrogen': patch ---- - -Add Hydrogen utils function and update demo store to send shopify analytics diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index be9cb566f9..0000000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "mode": "exit", - "tag": "alpha", - "initialVersions": { - "@shopify/cli-hydrogen": "4.0.0-alpha.0", - "@shopify/hydrogen": "2023.1.0-alpha.0", - "@shopify/remix-oxygen": "1.0.0-alpha.0", - "demo-store": "0.0.0", - "hello-world": "0.0.0", - "@shopify/create-hydrogen": "4.0.0-alpha.1" - }, - "changesets": [ - "big-planes-warn", - "blue-shirts-hide", - "bright-lemons-promise", - "brown-spiders-tickle", - "curvy-apes-yawn", - "dull-windows-enjoy", - "early-jobs-flow", - "empty-seals-arrive", - "fifty-cougars-walk", - "four-snakes-provide", - "fresh-crabs-knock", - "loud-birds-talk", - "loud-hairs-promise", - "loud-otters-act", - "modern-trains-fry", - "nervous-meals-nail", - "odd-monkeys-doubt", - "olive-apes-smash", - "orange-students-lie", - "serious-radios-occur", - "shaggy-turkeys-roll", - "small-planes-sniff", - "sour-cycles-think", - "spotty-swans-unite", - "twenty-cheetahs-return", - "violet-doors-exist" - ] -} diff --git a/.changeset/serious-radios-occur.md b/.changeset/serious-radios-occur.md deleted file mode 100644 index 46d4eed4c1..0000000000 --- a/.changeset/serious-radios-occur.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/hydrogen': patch ---- - -Rename the `notFoundMaybeRedirect` utility to `storefrontRedirect` and call it only in the server entry file. diff --git a/.changeset/shaggy-turkeys-roll.md b/.changeset/shaggy-turkeys-roll.md deleted file mode 100644 index 1be170c2b1..0000000000 --- a/.changeset/shaggy-turkeys-roll.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/cli-hydrogen': patch ---- - -Defer and display the cart count on the hello-world template diff --git a/.changeset/small-planes-sniff.md b/.changeset/small-planes-sniff.md deleted file mode 100644 index 082aaca5e8..0000000000 --- a/.changeset/small-planes-sniff.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@shopify/cli-hydrogen': patch -'@shopify/hydrogen': patch ---- - -Removed magic routes and `.hydrogen` template routes. See `rfc/obsolete-routing.md` for details of what used to be in the package but has now been removed. - -`/__health` still exists for the moment, though at some point it will probably be removed as well. diff --git a/.changeset/sour-cycles-think.md b/.changeset/sour-cycles-think.md deleted file mode 100644 index d5ef350c96..0000000000 --- a/.changeset/sour-cycles-think.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/hydrogen': patch ---- - -Use new versioning schema diff --git a/.changeset/spotty-swans-unite.md b/.changeset/spotty-swans-unite.md deleted file mode 100644 index 960bbcf872..0000000000 --- a/.changeset/spotty-swans-unite.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/hydrogen': patch ---- - -Update RSK package diff --git a/.changeset/twenty-cheetahs-return.md b/.changeset/twenty-cheetahs-return.md deleted file mode 100644 index c714f0893f..0000000000 --- a/.changeset/twenty-cheetahs-return.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/cli-hydrogen': patch ---- - -Update CLI to be executable and bundle templates in dist folder diff --git a/.changeset/violet-doors-exist.md b/.changeset/violet-doors-exist.md deleted file mode 100644 index bb6d09ea80..0000000000 --- a/.changeset/violet-doors-exist.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@shopify/cli-hydrogen': patch -'@shopify/create-hydrogen': patch ---- - -Improve the onboarding experience for the CLI diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 18b00d1a37..79a6c2f970 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,44 @@ # @shopify/cli-hydrogen +## 4.0.0 + +### Patch Changes + +- Change environment variable names to use what Oxygen will populate. ([#354](https://github.com/Shopify/h2/pull/354)) by [@jplhomer](https://github.com/jplhomer) + +- Defer CJS imports to improve CLI start up ([#352](https://github.com/Shopify/h2/pull/352)) by [@frandiox](https://github.com/frandiox) + +- - Upgrade to the latest Remix experimental defer release, 1.11.0 ([#371](https://github.com/Shopify/h2/pull/371)) by [@blittle](https://github.com/blittle) + + - Replace redundant i18n routes with a single root optional route segment `($lang)` + +- Fix various issues scaffolding new apps ([#332](https://github.com/Shopify/h2/pull/332)) by [@jplhomer](https://github.com/jplhomer) + +- Improve output of tmp CLI ([#339](https://github.com/Shopify/h2/pull/339)) by [@jplhomer](https://github.com/jplhomer) + +- Create onboarding virtual route ([#414](https://github.com/Shopify/h2/pull/414)) by [@lordofthecactus](https://github.com/lordofthecactus) + +- Properly use JS if specified in the temp init script ([#342](https://github.com/Shopify/h2/pull/342)) by [@jplhomer](https://github.com/jplhomer) + +- Fix remix.init in templates ([#334](https://github.com/Shopify/h2/pull/334)) by [@jplhomer](https://github.com/jplhomer) + +- Update demo-store template to remove `remix.config.js`, which fixes teh TS-JS conversion process ([#347](https://github.com/Shopify/h2/pull/347)) by [@jplhomer](https://github.com/jplhomer) + +- Introduce create-app CLI package and refactor how new Hydrogen apps are initialized ([#397](https://github.com/Shopify/h2/pull/397)) by [@frandiox](https://github.com/frandiox) + +- Defer and display the cart count on the hello-world template ([#392](https://github.com/Shopify/h2/pull/392)) by [@juanpprieto](https://github.com/juanpprieto) + +- Removed magic routes and `.hydrogen` template routes. See `rfc/obsolete-routing.md` for details of what used to be in the package but has now been removed. ([#336](https://github.com/Shopify/h2/pull/336)) by [@frehner](https://github.com/frehner) + + `/__health` still exists for the moment, though at some point it will probably be removed as well. + +- Update CLI to be executable and bundle templates in dist folder ([#326](https://github.com/Shopify/h2/pull/326)) by [@jplhomer](https://github.com/jplhomer) + +- Improve the onboarding experience for the CLI by [@jplhomer](https://github.com/jplhomer) + +- Updated dependencies [[`0280c4b`](https://github.com/Shopify/h2/commit/0280c4b2a19543e4a49c6bfd1d88b5b3758bd6e9), [`523c321`](https://github.com/Shopify/h2/commit/523c3215ec829611e1e7faa467640ed1b98f7a95), [`16a4aea`](https://github.com/Shopify/h2/commit/16a4aea7a0d9a64d8b3ec921299c9d749facc912), [`284ed5b`](https://github.com/Shopify/h2/commit/284ed5bda0a3ed7c8ac08dec6932cd9ac4b10621)]: + - @shopify/remix-oxygen@1.0.0 + ## 4.0.0-alpha.12 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 025c4c5373..278012f068 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -4,7 +4,7 @@ "access": "public", "@shopify:registry": "https://registry.npmjs.org" }, - "version": "4.0.0-alpha.12", + "version": "4.0.0", "type": "module", "scripts": { "build": "tsup --clean --config ./tsup.config.ts && oclif manifest", @@ -27,7 +27,7 @@ "peerDependencies": { "@remix-run/react": "^1.12.0", "@shopify/hydrogen-react": "^2023.1.4", - "@shopify/remix-oxygen": "^1.0.0-alpha.3" + "@shopify/remix-oxygen": "^1.0.0" }, "dependencies": { "@oclif/core": "^1.20.4", diff --git a/packages/create-hydrogen/CHANGELOG.md b/packages/create-hydrogen/CHANGELOG.md index 0e5fdba799..a64efe61ea 100644 --- a/packages/create-hydrogen/CHANGELOG.md +++ b/packages/create-hydrogen/CHANGELOG.md @@ -1,5 +1,16 @@ # @shopify/create-hydrogen +## 4.0.0 + +### Patch Changes + +- Introduce create-app CLI package and refactor how new Hydrogen apps are initialized ([#397](https://github.com/Shopify/h2/pull/397)) by [@frandiox](https://github.com/frandiox) + +- Improve the onboarding experience for the CLI by [@jplhomer](https://github.com/jplhomer) + +- Updated dependencies [[`874c579`](https://github.com/Shopify/h2/commit/874c579a41de9797a937ca621adf3e39bb02d5bc), [`3c90f73`](https://github.com/Shopify/h2/commit/3c90f73479b5e77a5721899525079f995d19bf68), [`523c321`](https://github.com/Shopify/h2/commit/523c3215ec829611e1e7faa467640ed1b98f7a95), [`62f4274`](https://github.com/Shopify/h2/commit/62f4274f8917b2ef9405096d75755c3e98b5eb45), [`1b6a2c3`](https://github.com/Shopify/h2/commit/1b6a2c3696fc2f8c055327a9d7abe8711e09f4e3), [`9e87098`](https://github.com/Shopify/h2/commit/9e870986e646da3e1f9d8ec978f6b68b8b1529d0), [`8737c76`](https://github.com/Shopify/h2/commit/8737c7631d475cff9ff3eeaddf4e8730c22706bc), [`5a4fa78`](https://github.com/Shopify/h2/commit/5a4fa784218fd459eee56a6ca01bfa1537494f5c), [`35fa501`](https://github.com/Shopify/h2/commit/35fa501b0637c5670ea1c5555dbbedd64fa475e4), [`204e6b6`](https://github.com/Shopify/h2/commit/204e6b683ffb0114a5e30d49cd45b79ff26386f6), [`7851753`](https://github.com/Shopify/h2/commit/7851753a7eb3795f77f7d554cae9b3bcf7e069a3), [`3b5dd2a`](https://github.com/Shopify/h2/commit/3b5dd2a823d2ccaa4af3642a4f5d5dc0083e75bf), [`b047133`](https://github.com/Shopify/h2/commit/b04713302f594ccdb611daebb202a557c52668da), [`af37cf6`](https://github.com/Shopify/h2/commit/af37cf6771d503a424d2b4efc46fb99fc84a1db4)]: + - @shopify/cli-hydrogen@4.0.0 + ## 4.0.0-alpha.3 ### Patch Changes diff --git a/packages/create-hydrogen/package.json b/packages/create-hydrogen/package.json index ba1bc3d616..0fbc4f5808 100644 --- a/packages/create-hydrogen/package.json +++ b/packages/create-hydrogen/package.json @@ -4,7 +4,7 @@ "access": "public", "@shopify:registry": "https://registry.npmjs.org" }, - "version": "4.0.0-alpha.3", + "version": "4.0.0", "type": "module", "scripts": { "build": "tsup --clean --config ./tsup.config.ts", @@ -12,7 +12,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@shopify/cli-hydrogen": "^4.0.0-alpha.12" + "@shopify/cli-hydrogen": "^4.0.0" }, "bin": "dist/create-app.js", "files": [ diff --git a/packages/hydrogen/CHANGELOG.md b/packages/hydrogen/CHANGELOG.md index 1d7f8baec1..ec080742f9 100644 --- a/packages/hydrogen/CHANGELOG.md +++ b/packages/hydrogen/CHANGELOG.md @@ -1,5 +1,39 @@ # @shopify/hydrogen +## 2023.1.0 + +### Patch Changes + +- Refactor cart ([#311](https://github.com/Shopify/h2/pull/311)) by [@wizardlyhel](https://github.com/wizardlyhel) + +- Update `storefront-kit-react` pacakge name to `hydrogen-react` ([#433](https://github.com/Shopify/h2/pull/433)) by [@wizardlyhel](https://github.com/wizardlyhel) + +- Fix a pagination bug on country change ([#317](https://github.com/Shopify/h2/pull/317)) by [@wizardlyhel](https://github.com/wizardlyhel) + +- - Upgrade to the latest Remix experimental defer release, 1.11.0 ([#371](https://github.com/Shopify/h2/pull/371)) by [@blittle](https://github.com/blittle) + + - Replace redundant i18n routes with a single root optional route segment `($lang)` + +- Remove useDataFromMatches and useDataFromFetchers hook from hydrogen package ([#451](https://github.com/Shopify/h2/pull/451)) by [@wizardlyhel](https://github.com/wizardlyhel) + +- Use the new version of GraphiQL instead of GraphQL Playground ([#410](https://github.com/Shopify/h2/pull/410)) by [@jplhomer](https://github.com/jplhomer) + +- Add a default value for `context.storefront.i18n` and improve types. ([#330](https://github.com/Shopify/h2/pull/330)) by [@frandiox](https://github.com/frandiox) + +- Fix `i18n` type passing to loader ([#432](https://github.com/Shopify/h2/pull/432)) by [@wizardlyhel](https://github.com/wizardlyhel) + +- Add Hydrogen utils function and update demo store to send shopify analytics ([#376](https://github.com/Shopify/h2/pull/376)) by [@wizardlyhel](https://github.com/wizardlyhel) + +- Rename the `notFoundMaybeRedirect` utility to `storefrontRedirect` and call it only in the server entry file. ([#362](https://github.com/Shopify/h2/pull/362)) by [@frandiox](https://github.com/frandiox) + +- Removed magic routes and `.hydrogen` template routes. See `rfc/obsolete-routing.md` for details of what used to be in the package but has now been removed. ([#336](https://github.com/Shopify/h2/pull/336)) by [@frehner](https://github.com/frehner) + + `/__health` still exists for the moment, though at some point it will probably be removed as well. + +- Use new versioning schema by [@jplhomer](https://github.com/jplhomer) + +- Update RSK package ([#369](https://github.com/Shopify/h2/pull/369)) by [@wizardlyhel](https://github.com/wizardlyhel) + ## 2023.1.0-alpha.2 ### Patch Changes diff --git a/packages/hydrogen/package.json b/packages/hydrogen/package.json index bea3f85844..3f1fb755b8 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.1.0-alpha.2", + "version": "2023.1.0", "main": "dist/index.cjs", "module": "dist/production/index.js", "types": "dist/production/index.d.ts", diff --git a/packages/hydrogen/src/version.ts b/packages/hydrogen/src/version.ts index ab29b7c2b4..ba642e9862 100644 --- a/packages/hydrogen/src/version.ts +++ b/packages/hydrogen/src/version.ts @@ -1 +1 @@ -export const LIB_VERSION = '2023.1.0-alpha.2'; +export const LIB_VERSION = '2023.1.0'; diff --git a/packages/remix-oxygen/CHANGELOG.md b/packages/remix-oxygen/CHANGELOG.md index 0ecd013773..579a859666 100644 --- a/packages/remix-oxygen/CHANGELOG.md +++ b/packages/remix-oxygen/CHANGELOG.md @@ -1,5 +1,19 @@ # @shopify/remix-oxygen +## 1.0.0 + +### Patch Changes + +- Initial release of @shopify/remix-oxygen by [@jplhomer](https://github.com/jplhomer) + +- - Upgrade to the latest Remix experimental defer release, 1.11.0 ([#371](https://github.com/Shopify/h2/pull/371)) by [@blittle](https://github.com/blittle) + + - Replace redundant i18n routes with a single root optional route segment `($lang)` + +- Remove the local `/__health` route because it's not required in Oxygen anymore. ([#361](https://github.com/Shopify/h2/pull/361)) by [@frandiox](https://github.com/frandiox) + +- Remove deprecated `shouldProxyAsset` option. ([#436](https://github.com/Shopify/h2/pull/436)) by [@frandiox](https://github.com/frandiox) + ## 1.0.0-alpha.4 ### Patch Changes diff --git a/packages/remix-oxygen/package.json b/packages/remix-oxygen/package.json index 3d4ba93ae6..866788ff70 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": "1.0.0-alpha.4", + "version": "1.0.0", "main": "dist/index.cjs", "module": "dist/production/index.js", "types": "dist/production/index.d.ts", diff --git a/templates/demo-store/package.json b/templates/demo-store/package.json index 627ea9505f..7a43f9bb97 100644 --- a/templates/demo-store/package.json +++ b/templates/demo-store/package.json @@ -17,9 +17,9 @@ "@headlessui/react": "^1.7.2", "@remix-run/react": "1.12.0", "@shopify/cli": "3.29.0", - "@shopify/cli-hydrogen": "^4.0.0-alpha.12", - "@shopify/hydrogen": "^2023.1.0-alpha.2", - "@shopify/remix-oxygen": "^1.0.0-alpha.4", + "@shopify/cli-hydrogen": "^4.0.0", + "@shopify/hydrogen": "^2023.1.0", + "@shopify/remix-oxygen": "^1.0.0", "clsx": "^1.2.1", "concurrently": "^7.5.0", "cross-env": "^7.0.3", diff --git a/templates/hello-world/package.json b/templates/hello-world/package.json index 1749b7246a..31e28b3d7e 100644 --- a/templates/hello-world/package.json +++ b/templates/hello-world/package.json @@ -15,9 +15,9 @@ "dependencies": { "@remix-run/react": "1.12.0", "@shopify/cli": "3.29.0", - "@shopify/cli-hydrogen": "^4.0.0-alpha.12", - "@shopify/hydrogen": "^2023.1.0-alpha.2", - "@shopify/remix-oxygen": "^1.0.0-alpha.4", + "@shopify/cli-hydrogen": "^4.0.0", + "@shopify/hydrogen": "^2023.1.0", + "@shopify/remix-oxygen": "^1.0.0", "graphql": "^16.6.0", "graphql-tag": "^2.12.6", "react": "^18.2.0",