Skip to content

hydrogen/Bump cli-hydrogen to 12.0.1 (main)#7767

Open
fredericoo wants to merge 1 commit into
mainfrom
fb-update-cli-hydrogen-12.0.1
Open

hydrogen/Bump cli-hydrogen to 12.0.1 (main)#7767
fredericoo wants to merge 1 commit into
mainfrom
fb-update-cli-hydrogen-12.0.1

Conversation

@fredericoo

Copy link
Copy Markdown

WHY are these changes introduced?

The latest Hydrogen release published @shopify/cli-hydrogen@12.0.1. Shopify CLI needs to bundle that version so shopify hydrogen commands pick up the latest Hydrogen CLI release.

Hydrogen release notes: https://github.com/Shopify/hydrogen/releases/tag/%40shopify/cli-hydrogen%4012.0.1

WHAT is this pull request doing?

  • Bumps @shopify/cli-hydrogen from 11.1.10 to 12.0.1.
  • Regenerates the CLI manifest, README, and shopify.dev generated docs from the updated Hydrogen command metadata.
  • Adds a patch changeset for @shopify/cli.

Release notes included in this Hydrogen CLI release:

  • Include line item children recursively in cart.
  • Add generic cart result typing to createCartHandler so custom cart fragments can use their generated fragment types.
  • Widen React Router peer dependency ranges so Hydrogen packages accept compatible React Router 7.16 patch versions without npm peer dependency conflicts. New Hydrogen projects now default to React Router 7.16.0.

How to test your changes?

  • npm view @shopify/cli-hydrogen@latest version
  • npm install --dry-run --prefix <tmp> @shopify/cli-hydrogen@12.0.1
  • shadowenv exec pnpm -- i --frozen-lockfile
  • shadowenv exec pnpm -- graphql-codegen
  • shadowenv exec pnpm -- refresh-manifests
  • shadowenv exec pnpm -- test:regenerate-snapshots
  • shadowenv exec pnpm -- build-api-docs
  • shadowenv exec pnpm -- build-dev-docs

Post-release steps

No stable patch PR for this bump because this is a major @shopify/cli-hydrogen version bump.

After the Shopify CLI release that includes this PR, Hydrogen should follow up by updating the skeleton template's @shopify/cli version if this Hydrogen CLI release contained actual CLI code changes.

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes
  • I've considered analytics changes to measure impact
  • The change is user-facing — I've identified the correct bump type and added a changeset

Bundle the Hydrogen CLI release in Shopify CLI so main picks up the latest Hydrogen command metadata and dependency updates.

Regenerate the CLI manifest, README, and Shopify dev docs data from the new plugin output.
@github-actions github-actions Bot added the Area: @shopify/cli @shopify/cli package issues label Jun 9, 2026
@fredericoo fredericoo marked this pull request as ready for review June 9, 2026 16:58
@fredericoo fredericoo requested review from a team as code owners June 9, 2026 16:58
@fredericoo fredericoo enabled auto-merge June 10, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: @shopify/cli @shopify/cli package issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants