Skip to content

Commit

Permalink
[ci] release 2023-10
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 21, 2023
1 parent ee513e1 commit c3b0ec0
Show file tree
Hide file tree
Showing 33 changed files with 201 additions and 184 deletions.
5 changes: 0 additions & 5 deletions .changeset/bright-cameras-do.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/bright-steaks-talk.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/eighty-kangaroos-repeat.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changeset/eleven-rivers-check.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/good-plums-remember.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/happy-eagles-attack.md

This file was deleted.

42 changes: 0 additions & 42 deletions .changeset/honest-apricots-fail.md

This file was deleted.

33 changes: 0 additions & 33 deletions .changeset/silver-sheep-melt.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/small-zoos-grab.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/spicy-cobras-sniff.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thick-feet-behave.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/tiny-donkeys-suffer.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/witty-lamps-fly.md

This file was deleted.

7 changes: 7 additions & 0 deletions examples/express/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@

### Patch Changes

- Updated dependencies [[`74ea1dba`](https://github.com/Shopify/hydrogen/commit/74ea1dba9af37a146882df7ed9674be5659862b5), [`a9b8bcde`](https://github.com/Shopify/hydrogen/commit/a9b8bcde96c22cedef7d87631d429199810b4a7a), [`8fce70de`](https://github.com/Shopify/hydrogen/commit/8fce70de32bd61ee86a6d895ac43cc1f78f1bf49), [`e8cc49fe`](https://github.com/Shopify/hydrogen/commit/e8cc49feff18f5ee72d5f6965ff2094addc23466)]:
- @shopify/hydrogen@2023.10.3

## null

### Patch Changes

- Updated dependencies [[`69624b32`](https://github.com/Shopify/hydrogen/commit/69624b3276fa18a654e222db226c7403ebdc8ead)]:
- @shopify/hydrogen@2023.10.2

Expand Down
4 changes: 2 additions & 2 deletions examples/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@remix-run/node": "2.1.0",
"@remix-run/react": "2.1.0",
"@remix-run/server-runtime": "2.1.0",
"@shopify/hydrogen": "2023.10.2",
"@shopify/hydrogen": "2023.10.3",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"express": "^4.18.2",
Expand All @@ -29,7 +29,7 @@
"@remix-run/dev": "2.1.0",
"@remix-run/eslint-config": "2.1.0",
"@shopify/cli": "3.51.0",
"@shopify/cli-hydrogen": "^6.0.2",
"@shopify/cli-hydrogen": "^6.1.0",
"@types/compression": "^1.7.2",
"@types/express": "^4.17.17",
"@types/morgan": "^1.9.4",
Expand Down
84 changes: 84 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,89 @@
# @shopify/cli-hydrogen

## 6.1.0

### Minor Changes

- Enable debugger connections by passing `--debug` flag to the `h2 dev` command: ([#1480](https://github.com/Shopify/hydrogen/pull/1480)) by [@frandiox](https://github.com/frandiox)

- Current default runtime (Node.js sandbox): `h2 dev --debug`.
- New Worker runtime: `h2 dev --debug --worker-unstable`.

You can then connect to the port `9229` (configurable with the new `--inspector-port` flag) to start step debugging.

When using `--worker-unstable`, an improved version of the DevTools will be available in `localhost:9229`. Otherwise, in Chrome you can go to `chrome://inspect` to open the DevTools -- make sure the inspector port is added to the network targets.

Alternatively, in VSCode, you can add the following to your `.vscode/launch.json`:

```
{
"version": "0.2.0",
"configurations": [
{
"name": "Hydrogen",
"type": "node",
"request": "attach",
"port": 9229,
"cwd": "/",
"resolveSourceMapLocations": null,
"attachExistingChildren": false,
"autoAttachChildProcesses": false,
"restart": true
}
]
}
```

### Patch Changes

- Remove error boundary from robots.txt in hydrogen template ([#1492](https://github.com/Shopify/hydrogen/pull/1492)) by [@andrewcohen](https://github.com/andrewcohen)

- New `h2 upgrade` command ([#1458](https://github.com/Shopify/hydrogen/pull/1458)) by [@juanpprieto](https://github.com/juanpprieto)

We are introducing a new hydrogen cli `upgrade` command that:

- Makes upgrading hydrogen as easy as typing `h2 upgrade` in your terminal
- Provides a quick summary of the key `features` and `fixes` of any available
hydrogen version(s)
- Generates a `TODO` instructions file detailing all cumulative code changes required
to adopt a given hydrogen version
- Provides a gentle notice during development detailing when a hydrogen is outdated, as well as a quick glance into the number of hydrogen version available

## Basic use

```bash
# from the base of the project run
h2 upgrade
```

### `--version` flag

The version flag let's you upgrade to a specific release version without any further
prompts. If an invalid version is provided you will be prompted to choose a hydrogen
version via a CLI prompt

```bash
h2 upgrade --version 2023.10.0
```

### `--dry-run` flag

If your are unsure about upgrading or just want to preview the TODO list of
changes to a given hydrogen version you can run

```bash
h2 upgrade --dry-run

# this will output a new .md file inside the .hydrogen/ folder for a given upgrade
```

- Fix peer dependencies across packages. ([#1489](https://github.com/Shopify/hydrogen/pull/1489)) by [@frandiox](https://github.com/frandiox)

- Resolves an issue with the verification check in the "deploy" command. ([#1504](https://github.com/Shopify/hydrogen/pull/1504)) by [@vincentezw](https://github.com/vincentezw)

- Updated dependencies [[`8fce70de`](https://github.com/Shopify/hydrogen/commit/8fce70de32bd61ee86a6d895ac43cc1f78f1bf49)]:
- @shopify/mini-oxygen@2.2.4

## 6.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/oclif.manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "6.0.2",
"version": "6.1.0",
"commands": {
"hydrogen:build": {
"id": "hydrogen:build",
Expand Down
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": "6.0.2",
"version": "6.1.0",
"license": "MIT",
"type": "module",
"scripts": {
Expand Down Expand Up @@ -37,7 +37,7 @@
"@oclif/core": "2.11.7",
"@shopify/cli-kit": "3.51.0",
"@shopify/hydrogen-codegen": "^0.1.0",
"@shopify/mini-oxygen": "^2.2.3",
"@shopify/mini-oxygen": "^2.2.4",
"@shopify/oxygen-cli": "2.6.2",
"ansi-escapes": "^6.2.0",
"cli-truncate": "^4.0.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/create-hydrogen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @shopify/create-hydrogen

## 4.3.4

### Patch Changes

- Remove error boundary from robots.txt in hydrogen template ([#1492](https://github.com/Shopify/hydrogen/pull/1492)) by [@andrewcohen](https://github.com/andrewcohen)

- Updated dependencies [[`26c969bb`](https://github.com/Shopify/hydrogen/commit/26c969bb10166c87c95184ab60188ada9ad2c780), [`bca112ed`](https://github.com/Shopify/hydrogen/commit/bca112ed7db49e533fe49898b663fa0dd318e6ba), [`2bff9fc7`](https://github.com/Shopify/hydrogen/commit/2bff9fc75916fa95f9a9279d069408fb7a33755c), [`8fce70de`](https://github.com/Shopify/hydrogen/commit/8fce70de32bd61ee86a6d895ac43cc1f78f1bf49), [`f90e4d47`](https://github.com/Shopify/hydrogen/commit/f90e4d4713c6c1fc1e921a7ecd08e95fe5da1744)]:
- @shopify/cli-hydrogen@6.1.0

## 4.3.3

### 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.3.3",
"version": "4.3.4",
"type": "module",
"scripts": {
"build": "tsup --clean",
"dev": "tsup --watch",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@shopify/cli-hydrogen": "^6.0.1"
"@shopify/cli-hydrogen": "^6.1.0"
},
"bin": "dist/create-app.js",
"files": [
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

## 2023.10.1

### Patch Changes

- This change adds an optional prop to the `ShopPayButton` that adds order attribution support for either the Headless or Hydrogen sales channel. ([#1447](https://github.com/Shopify/hydrogen/pull/1447)) by [@QuintonC](https://github.com/QuintonC)

## 2023.10.0

### Major 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.10.0",
"version": "2023.10.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
15 changes: 15 additions & 0 deletions packages/hydrogen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @shopify/hydrogen

## 2023.10.3

### Patch Changes

- Fix the Pagination component to always restore scroll correctly on back/forth navigation. This has the side effect of causing a hydration error _only_ when the user refreshes an already paginated page. This is because during refresh the Paginated list is rendered with navigation state, _not_ the state returned by the server. Navigation state might contain many pages of data, so all of it is necessary to properly render the page height and restore scroll. The side effect of this is the hydration mismatch. We feel it isn't often the user would hard refresh the page, and when doing so, a hydration mismatch and flash of rendered content is an acceptable downside to accurately maintaining scroll location. ([#1508](https://github.com/Shopify/hydrogen/pull/1508)) by [@blittle](https://github.com/blittle)

- Export caching types to make creating custom clients easier in typescript ([#1507](https://github.com/Shopify/hydrogen/pull/1507)) by [@juanpprieto](https://github.com/juanpprieto)

- Fix peer dependencies across packages. ([#1489](https://github.com/Shopify/hydrogen/pull/1489)) by [@frandiox](https://github.com/frandiox)

- Adds default channel value of "hydrogen" to the ShopPayButton component exported out of the @shopify/hydrogen package. ([#1447](https://github.com/Shopify/hydrogen/pull/1447)) by [@QuintonC](https://github.com/QuintonC)

- Updated dependencies [[`e8cc49fe`](https://github.com/Shopify/hydrogen/commit/e8cc49feff18f5ee72d5f6965ff2094addc23466)]:
- @shopify/hydrogen-react@2023.10.1

## 2023.10.2

### Patch Changes
Expand Down
Loading

0 comments on commit c3b0ec0

Please sign in to comment.