Overview of Hydrogen v2023.10
We are excited to announce the release of Hydrogen v2023.10. This update introduces new features and improvements alongside some breaking changes aimed at enhancing performance and flexibility.
Breaking Changes
There are several critical updates that developers should be aware of:
- Remix 2.0 Integration: Hydrogen v2023.10 now uses Remix 2.0 as a peer dependency, allowing you to update the Remix package independently of Hydrogen.
- Updated Caching Strategy: The default caching strategy has been adjusted to include a longer stale-while-revalidate period for improved efficiency.
- Dependency Update for @graphql-codegen/typescript: Version 4 introduces changes that require updates to Scalar types if they are directly imported from Hydrogen or Hydrogen React.
Enhancements and New Features
Hydrogen v2023.10 includes several improvements designed to streamline development:
- API Upgrades: All packages and examples now query v2023-10 API versions for consistency.
- Customer Account API Client: Hydrogen now comes with an API client for simplified interaction with Customer Account APIs.
- Stable Custom Cart Methods: Custom cart methods have been marked as stable and ready for production use.
- GraphiQL Explorer Plugin: The local development server now integrates the GraphiQL Explorer plugin for easier browsing of GraphQL resources.
- Removal of Deprecated Features: Props and parameters that were deprecated in the v2023.07 release have been cleaned up to reduce technical clutter.
- Dependency Updates: Additional dependency bumps, patches, and fixes for better performance and reliability.
Getting Started with Hydrogen v2023.10
We recommend reviewing the full changelog to understand all updates in detail and ensure a smooth transition. Whether you're adopting the new APIs or adjusting to breaking changes, Hydrogen v2023.10 provides tools to enhance custom storefront development.