Skip to content

Commit

Permalink
Fix release notes (#2144)
Browse files Browse the repository at this point in the history
  • Loading branch information
blittle authored Sep 15, 2022
1 parent 7f97229 commit ccf86fa
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
1 change: 0 additions & 1 deletion .changeset/empty-rocks-lick.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
'@shopify/hydrogen': patch
'create-hydrogen-app': patch
---

We've exposed the private server-to-server Storefront API token in the Hydrogen config file. This private token is required when deploying to production, otherwise the requests to the storefront API will be rate-limited. This change will make it easier to configure Hydrogen when deploying to non-Oxygen environments. We'll also display a warning in production mode if this token is not defined.
Expand Down
24 changes: 24 additions & 0 deletions .changeset/mighty-apples-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
'create-hydrogen-app': patch
---

If the demo store e2e tests are sometimes failing, update your `vite.config.js` to make sure that tests only execute on one thread:

```diff
export default defineConfig({
plugins: [hydrogen()],
resolve: {
alias: [{find: /^~\/(.*)/, replacement: '/src/$1'}],
},
optimizeDeps: {
include: ['@headlessui/react', 'clsx', 'react-use', 'typographic-base'],
},
test: {
globals: true,
testTimeout: 10000,
hookTimeout: 10000,
+ maxThreads: 1,
+ minThreads: 1,
},
});
```
5 changes: 5 additions & 0 deletions .changeset/old-tips-act.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/hydrogen': patch
---

An issue with previewing hydrogen in production has been fixed. Make sure that you upgrade both `@shopify/cli` and `@shopify/cli-hydrogen` to 3.12.0.

0 comments on commit ccf86fa

Please sign in to comment.