The Hydrogen developer preview adds new capabilities to the toolkit and extends the ways developers can build Shopify storefronts:
- Cart session attribution: Carts and Customer Account sessions stay in step, so signed-in shoppers reach checkout with their saved details instead of a guest flow.
- Cart attributes: Attach order-wide data like gift messages to the cart, and per-line data like engraving text to the lines it belongs to.
- Standard page view events: Hydrogen storefronts used to report only the first page load, leaving client-side navigations invisible to analytics and performance tooling. Every navigation now emits a page view, matching how liquid themes report events.
- Shop Pay button without shop-js: The button used to render blank until Shopify's hosted script loaded. Hydrogen now renders it directly, so it shows up styled and clickable right away, before any JavaScript runs.
- Local HTTPS for Customer Account development: Test login flows on a trusted local hostname, without a tunnel or hand-rolled certificates.
- Pluggable logging: Set how much Hydrogen logs and forward warnings and errors to your own observability tooling.
To get started, visit the Hydrogen developer preview documentation. For a detailed breakdown of this release, read the full release notes.
Was this page helpful?