Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] release 2023-04 #947

Merged
merged 1 commit into from
Jun 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/breezy-dolphins-juggle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/calm-pears-lick.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/clean-experts-relax.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/curly-adults-develop.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/dull-stingrays-shop.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fast-cycles-hug.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/fuzzy-eels-smell.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gentle-singers-tell.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hip-gorillas-yell.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/kind-dingos-teach.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/mean-balloons-lick.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/mighty-foxes-prove.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/modern-rats-dance.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/old-masks-shave.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/olive-adults-eat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shiny-days-search.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/silver-buckets-obey.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changeset/spicy-mayflies-own.md

This file was deleted.

15 changes: 0 additions & 15 deletions .changeset/strong-otters-design.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 @@ -15,7 +15,7 @@
"@remix-run/express": "1.15.0",
"@remix-run/node": "1.15.0",
"@remix-run/react": "1.15.0",
"@shopify/hydrogen": "^2023.4.3",
"@shopify/hydrogen": "^2023.4.4",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"express": "^4.18.2",
Expand All @@ -28,7 +28,7 @@
"@remix-run/dev": "1.15.0",
"@remix-run/eslint-config": "1.15.0",
"@shopify/cli": "^3.46.2",
"@shopify/cli-hydrogen": "^4.2.1",
"@shopify/cli-hydrogen": "^5.0.0",
"@types/compression": "^1.7.2",
"@types/express": "^4.17.17",
"@types/morgan": "^1.9.4",
Expand Down
19 changes: 19 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# @shopify/cli-hydrogen

## 5.0.0

### Patch Changes

- Remove `--codegen-unstable` flag from scripts when transpiling projects from TypeScript to JavaScript. ([#937](https://github.com/Shopify/hydrogen/pull/937)) by [@frandiox](https://github.com/frandiox)

- Allow disabling sourcemaps with `shopify hydrogen build --no-sourcemap` ([#975](https://github.com/Shopify/hydrogen/pull/975)) by [@blittle](https://github.com/blittle)

- Allow the CLI route generate to work in non-oxygen deploys ([#976](https://github.com/Shopify/hydrogen/pull/976)) by [@blittle](https://github.com/blittle)

- Hidden flag removed from new CLI commands ([#995](https://github.com/Shopify/hydrogen/pull/995)) by [@graygilmore](https://github.com/graygilmore)

You can now link your local Hydrogen storefront to a storefront you have created in the Shopify admin. This allows you to pull your environment variables into your local environment or have them be automatically injected into your runtime when you run `dev`.

- Updated dependencies [[`7b4afea2`](https://github.com/Shopify/hydrogen/commit/7b4afea29a050f9c77482540e321d9bc60351b2e), [`32515232`](https://github.com/Shopify/hydrogen/commit/32515232aa03077b542f5fcf95f38a715af09327), [`7d6a1a7c`](https://github.com/Shopify/hydrogen/commit/7d6a1a7cd3adb6ee0cf4cf242b72d5650509639b), [`442f602a`](https://github.com/Shopify/hydrogen/commit/442f602a45902beeb188575a85151f45b8be23ca), [`be912b2f`](https://github.com/Shopify/hydrogen/commit/be912b2ff7f4bc7a45688ff96d76f482b164efe5), [`b9ab8eb7`](https://github.com/Shopify/hydrogen/commit/b9ab8eb70f1506ab7516804ea69ecb9a693c420a), [`d3817b9c`](https://github.com/Shopify/hydrogen/commit/d3817b9c5e15db0c997089387fd9d43ab0fae027), [`93a7c3c6`](https://github.com/Shopify/hydrogen/commit/93a7c3c65fc10c8b1a16cee5fa57ad932d278dc8), [`6b8537ba`](https://github.com/Shopify/hydrogen/commit/6b8537ba1b4ce320a6b59a398ca12df731f97483)]:
- @shopify/hydrogen-react@2023.4.4
- @shopify/remix-oxygen@1.1.0
- @shopify/hydrogen-codegen@0.0.2

## 4.2.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/oclif.manifest.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 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": "4.2.1",
"version": "5.0.0",
"license": "MIT",
"type": "module",
"scripts": {
Expand All @@ -28,15 +28,15 @@
},
"peerDependencies": {
"@remix-run/react": "^1.15.0",
"@shopify/hydrogen-react": "^2023.4.3",
"@shopify/remix-oxygen": "^1.0.7"
"@shopify/hydrogen-react": "^2023.4.4",
"@shopify/remix-oxygen": "^1.1.0"
},
"dependencies": {
"@graphql-codegen/cli": "3.3.1",
"@oclif/core": "2.1.4",
"@remix-run/dev": "1.15.0",
"@shopify/cli-kit": "3.46.3",
"@shopify/hydrogen-codegen": "^0.0.1",
"@shopify/hydrogen-codegen": "^0.0.2",
"@shopify/mini-oxygen": "^1.6.0",
"diff": "^5.1.0",
"fast-glob": "^3.2.12",
Expand Down
7 changes: 7 additions & 0 deletions packages/create-hydrogen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @shopify/create-hydrogen

## 4.1.3

### Patch Changes

- Updated dependencies [[`b2195520`](https://github.com/Shopify/hydrogen/commit/b219552030ed9cdb3fcd3343deaf5c502d12411b), [`42683d0a`](https://github.com/Shopify/hydrogen/commit/42683d0a1b6288d8f6a6e58bfbf2e2650f0d82d2), [`808ceb51`](https://github.com/Shopify/hydrogen/commit/808ceb518a30389d0df4226bed23aead65ccd11f), [`428c78dc`](https://github.com/Shopify/hydrogen/commit/428c78dcb6005c369c0c60e4c4cffb869afa7eb1)]:
- @shopify/cli-hydrogen@5.0.0

## 4.1.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/create-hydrogen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"@shopify:registry": "https://registry.npmjs.org"
},
"license": "MIT",
"version": "4.1.2",
"version": "4.1.3",
"type": "module",
"scripts": {
"build": "tsup --clean --config ./tsup.config.ts",
"dev": "tsup --watch --config ./tsup.config.ts",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@shopify/cli-hydrogen": "^4.2.1"
"@shopify/cli-hydrogen": "^5.0.0"
},
"bin": "dist/create-app.js",
"files": [
Expand Down
18 changes: 18 additions & 0 deletions packages/hydrogen-codegen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @shopify/hydrogen-codegen

## 0.0.2

### Patch Changes

- Merge equal fragment interfaces in one to avoid adding `| {}` to the Metaobject types. ([#978](https://github.com/Shopify/hydrogen/pull/978)) by [@frandiox](https://github.com/frandiox)

- The preset now accepts options to modify the default behavior. ([#970](https://github.com/Shopify/hydrogen/pull/970)) by [@frandiox](https://github.com/frandiox)

```ts
type HydrogenPresetConfig = {
namespacedImportName?: string;
importTypesFrom?: string;
importTypes?: boolean;
skipTypenameInOperations?: boolean;
interfaceExtension?: (options) => string;
};
```

## 0.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/hydrogen-codegen/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": "0.0.1",
"version": "0.0.2",
"license": "MIT",
"type": "module",
"main": "dist/cjs/index.cjs",
Expand Down
16 changes: 16 additions & 0 deletions packages/hydrogen-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @shopify/hydrogen-react

## 2023.4.4

### Patch Changes

- A default `https://` protocol is now added automatically to `storeDomain` if missing. ([#985](https://github.com/Shopify/hydrogen/pull/985)) by [@frandiox](https://github.com/frandiox)

- Add support for [`mock.shop`](https://mock.shop/) as a `storeDomain`. ([#986](https://github.com/Shopify/hydrogen/pull/986)) by [@frandiox](https://github.com/frandiox)

- Fix `flattenConnection()`'s TypeScript types when working with `edges.node` ([#945](https://github.com/Shopify/hydrogen/pull/945)) by [@frehner](https://github.com/frehner)

- Make `storefrontApiVersion` parameter optional. By default, it will use the current version of Hydrogen as the Storefront API version. ([#984](https://github.com/Shopify/hydrogen/pull/984)) by [@frandiox](https://github.com/frandiox)

- Fix the `<CartProvider>` to by default pull localization from `<ShopifyProvider>`. You can still override the countryCode by passing a prop directly to `<CartProvider>`. Resovles https://github.com/Shopify/hydrogen/issues/622 ([#980](https://github.com/Shopify/hydrogen/pull/980)) by [@blittle](https://github.com/blittle)

- Fix `<ModelViewer>` to properly set className ([#966](https://github.com/Shopify/hydrogen/pull/966)) by [@blittle](https://github.com/blittle)

## 2023.4.3

### 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": "2023.4.3",
"version": "2023.4.4",
"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
30 changes: 30 additions & 0 deletions packages/hydrogen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# @shopify/hydrogen

## 2023.4.4

### Patch Changes

- Fix redirects to respond with a 301 ([#946](https://github.com/Shopify/hydrogen/pull/946)) by [@blittle](https://github.com/blittle)

- A default `https://` protocol is now added automatically to `storeDomain` if missing. ([#985](https://github.com/Shopify/hydrogen/pull/985)) by [@frandiox](https://github.com/frandiox)

- Fix `flattenConnection()`'s TypeScript types when working with `edges.node` ([#945](https://github.com/Shopify/hydrogen/pull/945)) by [@frehner](https://github.com/frehner)

- Make `storefrontApiVersion` parameter optional. By default, it will use the current version of Hydrogen as the Storefront API version. ([#984](https://github.com/Shopify/hydrogen/pull/984)) by [@frandiox](https://github.com/frandiox)

- Skip reading and writing cache in sub-requests when the strategy is CacheNone. ([#964](https://github.com/Shopify/hydrogen/pull/964)) by [@frandiox](https://github.com/frandiox)

- Fix `<ModelViewer>` to properly set className ([#966](https://github.com/Shopify/hydrogen/pull/966)) by [@blittle](https://github.com/blittle)

- Add a `/admin` route that redirects to the Shopify admin. This redirect can be disabled by passing `noAdminRedirect: true` to `storefrontRedirect`: ([#989](https://github.com/Shopify/hydrogen/pull/989)) by [@blittle](https://github.com/blittle)

```ts
storefrontRedirect({
redirect,
response,
storefront,
noAdminRedirect: true,
});
```

- Updated dependencies [[`7b4afea2`](https://github.com/Shopify/hydrogen/commit/7b4afea29a050f9c77482540e321d9bc60351b2e), [`32515232`](https://github.com/Shopify/hydrogen/commit/32515232aa03077b542f5fcf95f38a715af09327), [`7d6a1a7c`](https://github.com/Shopify/hydrogen/commit/7d6a1a7cd3adb6ee0cf4cf242b72d5650509639b), [`442f602a`](https://github.com/Shopify/hydrogen/commit/442f602a45902beeb188575a85151f45b8be23ca), [`b9ab8eb7`](https://github.com/Shopify/hydrogen/commit/b9ab8eb70f1506ab7516804ea69ecb9a693c420a), [`93a7c3c6`](https://github.com/Shopify/hydrogen/commit/93a7c3c65fc10c8b1a16cee5fa57ad932d278dc8)]:
- @shopify/hydrogen-react@2023.4.4

## 2023.4.3

### Patch 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": "2023.4.3",
"version": "2023.4.4",
"license": "MIT",
"main": "dist/index.cjs",
"module": "dist/production/index.js",
Expand Down Expand Up @@ -54,7 +54,7 @@
"dist"
],
"dependencies": {
"@shopify/hydrogen-react": "2023.4.3",
"@shopify/hydrogen-react": "2023.4.4",
"react": "^18.2.0"
},
"peerDependencies": {
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 = '2023.4.3';
export const LIB_VERSION = '2023.4.4';
6 changes: 6 additions & 0 deletions packages/remix-oxygen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @shopify/remix-oxygen

## 1.1.0

### Minor Changes

- Updates default `powered-by` header to `Shopify, Hydrogen` ([#961](https://github.com/Shopify/hydrogen/pull/961)) by [@benjaminsehl](https://github.com/benjaminsehl)

## 1.0.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/remix-oxygen/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": "1.0.7",
"version": "1.1.0",
"license": "MIT",
"main": "dist/index.cjs",
"module": "dist/production/index.js",
Expand Down
Loading