Skip to content

Commit

Permalink
[ci] release v1.x-2022-07 (#2045)
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
github-actions[bot] and github-actions[bot] committed Aug 30, 2022
1 parent 1155b02 commit 1da7601
Show file tree
Hide file tree
Showing 14 changed files with 52 additions and 50 deletions.
5 changes: 0 additions & 5 deletions .changeset/flat-dryers-mix.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/orange-toes-invite.md

This file was deleted.

29 changes: 0 additions & 29 deletions .changeset/tame-peaches-joke.md

This file was deleted.

2 changes: 2 additions & 0 deletions packages/create-hydrogen-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Changelog

## 1.3.1

## 1.3.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/create-hydrogen-app/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": "1.3.0",
"version": "1.3.1",
"main": "index.js",
"license": "MIT",
"bin": {
Expand Down
7 changes: 7 additions & 0 deletions packages/hydrogen-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @shopify/hydrogen-ui-alpha

## 2022.7.1

### Patch Changes

- Initial release ([#2064](https://github.com/Shopify/hydrogen/pull/2064)) by [@frehner](https://github.com/frehner)
2 changes: 1 addition & 1 deletion packages/hydrogen-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/hydrogen-ui-alpha",
"version": "2022.7.0",
"version": "2022.7.1",
"description": "Components for modern custom Shopify storefronts",
"homepage": "https://github.com/Shopify/hydrogen#readme",
"license": "MIT",
Expand Down
36 changes: 35 additions & 1 deletion packages/hydrogen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# Changelog

## 1.3.1

### Patch Changes

- `<ExternalVideo/>` now has a default prop of `loading="lazy"` to improve performance of the rendered `<iframe>`. ([#2044](https://github.com/Shopify/hydrogen/pull/2044)) by [@frehner](https://github.com/frehner)

If you're using `<ExternalVideo/>` above the fold, then we recommend setting this prop to `eager`.

* Improve error handling: ([#2049](https://github.com/Shopify/hydrogen/pull/2049)) by [@blittle](https://github.com/blittle)

1. Improve how errors are default presented in the logs.
1. Make sure that when useShopQuery fails, that an Error object is propagated.

If you have implemented your own logging handler, it is recommended that you only print strings, as printing objects (including Error objects) will result in unhelpful logs in many runtimes (Oxygen included):

```js
// Example custom logging for errors
export default defineConfig({
logger: {
error: (context, error) => {
const url = context ? ` ${context.url}` : '';

if (error instanceof Error) {
// Do NOT directly just print the error, instead
// print the error.messag or error.stack
console.error(`Error:${url}\n${error.stack}`);
} else {
console.error(`Error:${url} ${error}`);
}
},
},
});
```

## 1.3.0

### Minor Changes
Expand Down Expand Up @@ -199,7 +233,7 @@ If your Store is based on the "Demo Store" tempate, and you are using the `test:
} from '@shopify/hydrogen/platforms';

// Platform entry handler
export default function (request) {
export default function(request) {
if (isAsset(new URL(request.url).pathname)) {
return platformAssetHandler(request);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/hydrogen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"engines": {
"node": ">=14"
},
"version": "1.3.0",
"version": "1.3.1",
"description": "Modern custom Shopify storefronts",
"license": "MIT",
"main": "dist/esnext/index.js",
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 = '1.3.0';
export const LIB_VERSION = '1.3.1';
2 changes: 1 addition & 1 deletion packages/playground/async-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"dependencies": {
"@cloudflare/kv-asset-handler": "*",
"@shopify/hydrogen": "^1.3.0",
"@shopify/hydrogen": "^1.3.1",
"miniflare": "^1.3.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/server-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"dependencies": {
"@cloudflare/kv-asset-handler": "*",
"@shopify/hydrogen": "^1.3.0",
"@shopify/hydrogen": "^1.3.1",
"miniflare": "^1.3.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
2 changes: 1 addition & 1 deletion templates/demo-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"prettier": "@shopify/prettier-config",
"dependencies": {
"@headlessui/react": "^1.6.4",
"@shopify/hydrogen": "^1.3.0",
"@shopify/hydrogen": "^1.3.1",
"clsx": "^1.1.1",
"graphql-tag": "^2.12.6",
"react": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion templates/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"vite": "^2.9.0"
},
"dependencies": {
"@shopify/hydrogen": "^1.3.0",
"@shopify/hydrogen": "^1.3.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
Expand Down

0 comments on commit 1da7601

Please sign in to comment.