September 30, 2025
September 2025 release
Our latest release delivers major improvements to the Hydrogen toolkit, adding support for the Storefront API 2025-07 and updating key dependencies like React Router 7.9.2 and Miniflare v3.
With this release, we’re making sure it’s clear which configurations are supported out of the box by pinning to specific versions of dependencies by default in the provided package.json file. You can still update or enable different RR7 feature flags, but note that those paths might introduce breaking changes.
This release also makes vibe coding with Hydrogen even better, and includes 10 new ways to easily extend and customize your build. We’ve replaced the set of static feature templates with new additions to the Hydrogen Cookbook, adding new recipes for use cases like working with metaobjects, using infinite scroll for pagination, building for B2B, and more.
Here’s the full breakdown of everything included in this release:
React Router 7 updates
Hydrogen is now up to date with the latest version of React Router, which means developers can now get access to two big benefits:
- Route Module Type Safety: React Router now automatically generates route-specific types to power type inference for URL params, loader data, and more.
- Middleware: Middleware lets you run code before and after the Response generation for the matched path. This enables common patterns like authentication, logging, error handling, and data preprocessing in a reusable way.
To start using middleware and working with the new context object format in React Router, we’ve added a createHydrogenContext helper and a HydrogenRouterContextProvider type to make integrating with Hydrogen simple.
For full details on React Router, refer to the v7.9.2 changelog.
Miniflare v3
Local development has been upgraded to use Miniflare v3, based on workerd. Hydrogen’s CLI already used a workerd runtime (unlike Miniflare v2), so you won’t see any changes to your local development workflow—but if you had seen deprecation warnings about Miniflare v2, those are now gone.
Storefront API 2025-07 support
- USDC currency support: The Money component and useMoney hook have been updated, adding support for USDC.
- Hydrogen’s default scaffold now has improved order filtering support, letting customers filter their orders by fulfillmentStatus.
- For full changes to the GraphQL APIs, refer to the Customer Accounts API and Storefront API changelogs.
Hydrogen Cookbook updates
The --template flag has been removed from the init command, and our previous Example templates have now been replaced with individual recipes in the Hydrogen Cookbook.
We’ve added new Cookbook recipes for:
- B2B
- Customer cart methods
- Express
- GTM
- Infinite scroll
- Legacy customer account flow
- Markets (improved)
- Metaobjects
- Partytown
- Third-party APIs
Updates, optimizations, and fixes
As always, this release includes additional optimizations, bug fixes, and quality-of-life improvements.
Features
- Added @inContext language support to Customer Account API mutations
- Added the countryCode parameter to Customer Account API login for region-specific experiences
- Added cartGiftCardCodesRemove mutation support
- Improved Content Security Policy handling with NonceProvider
- Added the --force-client-sourcemap flag to the deploy command
- Added Vite v7 exports support
- Added TypeScript ESLint rules for promise handling
Fixes
- Fixed GraphQL client development warnings
- Fixed parseMetafield money type currency handling
- Fixed TypeScript enum compatibility between APIs
- Fixed defer/streaming in development and preview
- Fixed environment variable quoting in the env pull command
- Fixed and upgraded the GraphiQL route
- Fixed sourcemap warnings and improved Vite configuration
- Replaced the deprecated faker.internet.color() method
To take advantage of all the latest features and improvements in Hydrogen, run npx shopify hydrogen upgrade.