Skip to content

Commit

Permalink
[ci] release 2024-04 (#1994)
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 4ce0450 commit ad0c5e3
Show file tree
Hide file tree
Showing 28 changed files with 114 additions and 117 deletions.
5 changes: 0 additions & 5 deletions .changeset/angry-planets-cover.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/breezy-jokes-pump.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/calm-ladybugs-destroy.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/curly-panthers-jam.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/dry-roses-wink.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dull-impalas-promise.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changeset/honest-cups-play.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/many-cycles-invite.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/slimy-pets-do.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/three-windows-cough.md

This file was deleted.

22 changes: 0 additions & 22 deletions .changeset/two-geckos-fry.md

This file was deleted.

4 changes: 2 additions & 2 deletions examples/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"@remix-run/react": "^2.8.0",
"@remix-run/server-runtime": "^2.8.0",
"@shopify/cli": "3.58.0",
"@shopify/cli-hydrogen": "^8.0.0",
"@shopify/hydrogen": "2024.4.0",
"@shopify/cli-hydrogen": "^8.0.1",
"@shopify/hydrogen": "2024.4.1",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"express": "^4.19.2",
Expand Down
6 changes: 3 additions & 3 deletions examples/multipass/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"dependencies": {
"@remix-run/react": "^2.8.0",
"@shopify/cli": "3.58.0",
"@shopify/cli-hydrogen": "^8.0.0",
"@shopify/hydrogen": "2024.4.0",
"@shopify/cli-hydrogen": "^8.0.1",
"@shopify/hydrogen": "2024.4.1",
"@shopify/remix-oxygen": "^2.0.4",
"crypto-js": "^4.2.0",
"graphql": "^16.6.0",
Expand All @@ -28,7 +28,7 @@
"devDependencies": {
"@remix-run/dev": "^2.8.0",
"@remix-run/eslint-config": "^2.8.0",
"@shopify/mini-oxygen": "^3.0.0",
"@shopify/mini-oxygen": "^3.0.1",
"@shopify/oxygen-workers-types": "^4.0.0",
"@shopify/prettier-config": "^1.1.2",
"@total-typescript/ts-reset": "^0.4.2",
Expand Down
6 changes: 3 additions & 3 deletions examples/partytown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"@builder.io/partytown": "^0.8.1",
"@remix-run/react": "^2.8.0",
"@shopify/cli": "3.58.0",
"@shopify/cli-hydrogen": "^8.0.0",
"@shopify/hydrogen": "2024.4.0",
"@shopify/cli-hydrogen": "^8.0.1",
"@shopify/hydrogen": "2024.4.1",
"@shopify/remix-oxygen": "^2.0.4",
"graphql": "^16.6.0",
"graphql-tag": "^2.12.6",
Expand All @@ -29,7 +29,7 @@
"devDependencies": {
"@remix-run/dev": "^2.8.0",
"@remix-run/eslint-config": "^2.8.0",
"@shopify/mini-oxygen": "^3.0.0",
"@shopify/mini-oxygen": "^3.0.1",
"@shopify/oxygen-workers-types": "^4.0.0",
"@shopify/prettier-config": "^1.1.2",
"@total-typescript/ts-reset": "^0.4.2",
Expand Down
6 changes: 3 additions & 3 deletions examples/subscriptions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"dependencies": {
"@remix-run/react": "^2.8.0",
"@shopify/cli": "3.58.0",
"@shopify/cli-hydrogen": "^8.0.0",
"@shopify/hydrogen": "2024.4.0",
"@shopify/cli-hydrogen": "^8.0.1",
"@shopify/hydrogen": "2024.4.1",
"@shopify/remix-oxygen": "^2.0.4",
"graphql": "^16.6.0",
"graphql-tag": "^2.12.6",
Expand All @@ -26,7 +26,7 @@
"devDependencies": {
"@remix-run/dev": "^2.8.0",
"@remix-run/eslint-config": "^2.8.0",
"@shopify/mini-oxygen": "^3.0.0",
"@shopify/mini-oxygen": "^3.0.1",
"@shopify/oxygen-workers-types": "^4.0.0",
"@shopify/prettier-config": "^1.1.2",
"@tailwindcss/forms": "^0.5.3",
Expand Down
23 changes: 23 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# @shopify/cli-hydrogen

## 8.0.1

### Patch Changes

- Clean up messaging around unlinked storefronts when running CLI commands ([#1937](https://github.com/Shopify/hydrogen/pull/1937)) by [@aswamy](https://github.com/aswamy)

- When you run `env list`, `env pull`, or `deploy` against a storefront that isn't linked, it will show a warning message instead of an error message.
- If you don't have a storefront to link to on Admin, we will just ask you to create a storefront instead of displaying an option list of size 1.
- If you deleted a storefront on Admin, we will try to relink your storefront when running `env list`, `env pull`, or `deploy`.

- Add `@return` JSDoc tag to functions in JavaScript projects. ([#2014](https://github.com/Shopify/hydrogen/pull/2014)) by [@frandiox](https://github.com/frandiox)

- Fix `--quickstart` flag to support overwritting it with other flags. Example: `h2 init --quickstart --no-install-deps`. ([#2023](https://github.com/Shopify/hydrogen/pull/2023)) by [@frandiox](https://github.com/frandiox)

Show error in `h2 debug cpu` command for Vite projects until we support it.

Remove deprecated `--styling` flag from the `h2 init` command.

- Fix a warning when combining mock.shop and customer-account-push ([#1992](https://github.com/Shopify/hydrogen/pull/1992)) by [@frandiox](https://github.com/frandiox)

- Updated dependencies [[`7e8cf055`](https://github.com/Shopify/hydrogen/commit/7e8cf0558248e3bfd0f8299994e3ed2b91ee3d3b), [`a335afc1`](https://github.com/Shopify/hydrogen/commit/a335afc1026164132a618e8bcbbbf5d0fe27ae4c)]:
- @shopify/mini-oxygen@3.0.1

## 8.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/oclif.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -1788,5 +1788,5 @@
]
}
},
"version": "8.0.0"
"version": "8.0.1"
}
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": "8.0.0",
"version": "8.0.1",
"license": "MIT",
"type": "module",
"scripts": {
Expand Down Expand Up @@ -60,7 +60,7 @@
"@graphql-codegen/cli": "^5.0.2",
"@remix-run/dev": "^2.1.0",
"@shopify/hydrogen-codegen": "^0.3.0",
"@shopify/mini-oxygen": "^3.0.0",
"@shopify/mini-oxygen": "^3.0.1",
"graphql-config": "^5.0.3",
"vite": "^5.1.0"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/hydrogen-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @shopify/hydrogen-react

## 2024.4.1

### Patch Changes

- Fix noteUpdate scalar to be required ([#2008](https://github.com/Shopify/hydrogen/pull/2008)) by [@blittle](https://github.com/blittle)

## 2024.4.0

### 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": "2024.4.0",
"version": "2024.4.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",
Expand Down
11 changes: 11 additions & 0 deletions packages/hydrogen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @shopify/hydrogen

## 2024.4.1

### Patch Changes

- Warn when using the deprecated Seo component ([#1983](https://github.com/Shopify/hydrogen/pull/1983)) by [@blittle](https://github.com/blittle)

- Fix names and URLs shown for HIT/STALE items in the Subrequest Profiler. ([#2021](https://github.com/Shopify/hydrogen/pull/2021)) by [@frandiox](https://github.com/frandiox)

- Updated dependencies [[`0f5cab00`](https://github.com/Shopify/hydrogen/commit/0f5cab00d7fbac313c0f3e9affb915638db8d5d9)]:
- @shopify/[email protected]

## 2024.4.0

### Minor 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": "2024.4.0",
"version": "2024.4.1",
"license": "MIT",
"main": "dist/index.cjs",
"module": "dist/production/index.js",
Expand Down Expand Up @@ -63,7 +63,7 @@
"dist"
],
"dependencies": {
"@shopify/hydrogen-react": "2024.4.0",
"@shopify/hydrogen-react": "2024.4.1",
"content-security-policy-builder": "^2.1.1",
"type-fest": "^4.5.0",
"source-map-support": "^0.5.21",
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 = '2024.4.0';
export const LIB_VERSION = '2024.4.1';
8 changes: 8 additions & 0 deletions packages/mini-oxygen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @shopify/mini-oxygen

## 3.0.1

### Patch Changes

- Fixed compatibility with Node 21. ([#2003](https://github.com/Shopify/hydrogen/pull/2003)) by [@frandiox](https://github.com/frandiox)

- Fix an SSR HMR issue related to hanging promises during development. ([#2019](https://github.com/Shopify/hydrogen/pull/2019)) by [@frandiox](https://github.com/frandiox)

## 3.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/mini-oxygen/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": "3.0.0",
"version": "3.0.1",
"license": "MIT",
"type": "module",
"description": "Development assistant for custom Shopify Oxygen hosted storefronts",
Expand Down
6 changes: 3 additions & 3 deletions templates/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"@remix-run/react": "^2.8.0",
"@remix-run/server-runtime": "^2.8.0",
"@shopify/cli": "3.58.0",
"@shopify/cli-hydrogen": "^8.0.0",
"@shopify/hydrogen": "2024.4.0",
"@shopify/cli-hydrogen": "^8.0.1",
"@shopify/hydrogen": "2024.4.1",
"@shopify/remix-oxygen": "^2.0.4",
"@total-typescript/ts-reset": "^0.4.2",
"graphql": "^16.6.0",
Expand All @@ -27,7 +27,7 @@
},
"devDependencies": {
"@remix-run/dev": "^2.8.0",
"@shopify/mini-oxygen": "^3.0.0",
"@shopify/mini-oxygen": "^3.0.1",
"@shopify/oxygen-workers-types": "^4.0.0",
"@shopify/prettier-config": "^1.1.2",
"@types/eslint": "^8.4.10",
Expand Down
40 changes: 40 additions & 0 deletions templates/skeleton/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
# skeleton

## 1.0.8

### Patch Changes

- Stop inlining the favicon in base64 to avoid issues with the Content-Security-Policy. In `vite.config.js`: ([#2006](https://github.com/Shopify/hydrogen/pull/2006)) by [@frandiox](https://github.com/frandiox)

```diff
export default defineConfig({
plugins: [
...
],
+ build: {
+ assetsInlineLimit: 0,
+ },
});
```

- To improve HMR in Vite, move the `useRootLoaderData` function from `app/root.tsx` to a separate file like `app/lib/root-data.ts`. This change avoids circular imports: ([#2014](https://github.com/Shopify/hydrogen/pull/2014)) by [@frandiox](https://github.com/frandiox)

```tsx
// app/lib/root-data.ts
import {useMatches} from '@remix-run/react';
import type {SerializeFrom} from '@shopify/remix-oxygen';
import type {loader} from '~/root';

/**
* Access the result of the root loader from a React component.
*/
export const useRootLoaderData = () => {
const [root] = useMatches();
return root?.data as SerializeFrom<typeof loader>;
};
```

Import this hook from `~/lib/root-data` instead of `~/root` in your components.

- Updated dependencies [[`b4dfda32`](https://github.com/Shopify/hydrogen/commit/b4dfda320ca52855b2d4493a4306d15a883ca843), [`ffa57bdb`](https://github.com/Shopify/hydrogen/commit/ffa57bdbcdf51e03d565736f9388b5bb4f46292c), [`ac4e1670`](https://github.com/Shopify/hydrogen/commit/ac4e1670f0361a2cd2c6827e4162bbbee0ca37f3), [`0af624d5`](https://github.com/Shopify/hydrogen/commit/0af624d51afc7250db889ba5e736c85a6070c8b2), [`9723eaf3`](https://github.com/Shopify/hydrogen/commit/9723eaf3e5a42c30e657d1cadb123ed775d620e4), [`e842f68c`](https://github.com/Shopify/hydrogen/commit/e842f68c8e879d4c54e0730f3cb55214a760d7f5)]:
- @shopify/[email protected]
- @shopify/[email protected]

## 1.0.7

### Patch Changes
Expand Down
Loading

0 comments on commit ad0c5e3

Please sign in to comment.