Skip to content

[ci] preview release (preview) - #3915

Open
shopify-github-actions-access[bot] wants to merge 1 commit into
previewfrom
changeset-release/preview
Open

[ci] preview release (preview)#3915
shopify-github-actions-access[bot] wants to merge 1 commit into
previewfrom
changeset-release/preview

Conversation

@shopify-github-actions-access

@shopify-github-actions-access shopify-github-actions-access Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to preview, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

preview is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on preview.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@shopify/hydrogen@2026.10.0-preview.1

Minor Changes

  • cc362b7: Return null synchronously from handleShopifyRoutes() when no Shopify route matches, allowing framework routing to continue without an unnecessary async hop. Matched routes continue to return a Promise<Response>.

  • b70a016: Emit shopify:page:view from ShopifyScripts on the initial page and SPA navigations, and synchronize the page template with PerfKit.

    Optionally load the standard events inspector in development builds.

  • 9771020: Add configureLogging / HydrogenLogger logging contract.

    Default console log prefixes are standardized to [hydrogen:<level>:<scope>] via a central logging module; ad-hoc console.* call sites are migrated to scoped loggers. Apps can configure a HydrogenLogger-compatible sink once with configureLogging({logger, level}); the logger receives (message, context?) for trace, debug, info, warn, error, and fatal. The built-in console sink remains the default, and serialized inline-script import chains continue to write to the console because they run outside the app bundle. no-console lint now enforces the policy across packages/hydrogen/src.

Patch Changes

  • 45a9463: Fix editor autocomplete on createStorefrontClient: the type discriminant now suggests all client types and config completions narrow to the selected type, instead of resolving against the first overload only.
  • 629abfa: Source private Storefront API buyer IP exclusively from requestContext. Remove buyerIp from private client config and require a buyer-bearing context created with createShopifyRequestContext({buyerIp}).
  • ec9ea1a: Enable Shopify runtime modules initialized by ShopifyScripts to send same-origin API requests through handleShopifyRoutes, forwarding them to the Shopify's backend while filtering hop-by-hop request headers.
  • 94c4df5: Replace cart optimistic update internals with keyed transaction and error projections, including reliable cancellation, request settlement, pending state updates, accurate partial-connection quantities, and coalesced authoritative reconciliation after overlapping mutations. Add CartState.revalidating, CartState.pending.cost, and default cart line identity fields for selling plans and attributes so totals, analytics, and optimistic add reconciliation remain accurate while cost-affecting mutations settle.
  • f216581: Expose package metadata listing the Hydrogen classic CLI commands disabled for this package.
  • dcb87dd: Update the Next.js markets skill to explain how proxy.ts forwards Hydrogen request context to Server Components.
  • 08e935d: Fix the Vue ShopifyScripts component to match core and the React binding: the routes prop is now optional at runtime (previously Vue logged a missing-prop warning when it was omitted) and is included in the exported ShopifyScriptsProps type.
  • 543b3bf: Fix the Vue ShopifyScripts component to declare and forward all core script options, including shopifyAnalytics, and align Inbox runtime prop validation with its boolean API.
  • 08e935d: Add a useCartAnalytics() composable to the Vue binding (@shopify/hydrogen/vue), mirroring the React binding's hook. Call it in a component inside CartProvider to subscribe the cart store to analytics tracking on mount and unsubscribe on dispose.

@shopify-github-actions-access
shopify-github-actions-access Bot requested a review from a team as a code owner August 5, 2026 01:52

@graygilmore graygilmore left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#3890 should be merged before we do the next release

@github-actions
github-actions Bot force-pushed the changeset-release/preview branch 8 times, most recently from 070c825 to d699148 Compare August 7, 2026 14:44
@github-actions
github-actions Bot force-pushed the changeset-release/preview branch from d699148 to 94ee672 Compare August 7, 2026 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant