Hydrogen v2023.10 has been released

Published

This summary was written by ShopDigest AI from Shopify Changelog’s report. Read the full story ↗

Hydrogen v2023.10 is now available. This release includes a number of new features and breaking changes. Remix 2.0 (breaking change) Hydrogen 20…

Overview

Hydrogen v2023.10 is now available, introducing Remix 2.0 as a breaking change and making Remix a peer dependency. The release also updates default caching strategies, adds a Customer Account API client, and stabilizes custom cart methods.

Key Details

  • Remix 2.0 is now used, with Remix as a peer dependency for independent updates.
  • Default caching strategy now has a longer stale-while-revalidate period.
  • All packages and examples query v2023-10 API versions.
  • New API client for the Customer Account API is included.
  • GraphiQL Explorer plugin added to the local development server.

Frequently asked questions

What is new in Hydrogen v2023.10?

Hydrogen v2023.10 includes new features and breaking changes. It upgrades to Remix 2.0, makes Remix a peer dependency, and adds an API client for the Customer Account API. Custom cart methods are now stable, and the GraphiQL client includes the Explorer plugin.

What are the breaking changes in Hydrogen v2023.10?

Breaking changes include the upgrade to Remix 2.0 and a dependency bump for @graphql-codegen/typescript to v4, which requires updates to Scalar types if imported directly. The default caching strategy has also changed to have a longer stale-while-revalidate period.

Does Hydrogen v2023.10 support Remix 2.0?

Yes, Hydrogen v2023.10 now uses Remix 2.0. Remix has been made a peer dependency, so you can update your Remix package independently of Hydrogen.

What API versions does Hydrogen v2023.10 use?

All packages and examples in Hydrogen v2023.10 now query v2023-10 API versions. This ensures compatibility with the latest Shopify API features.

About this story

Topics covered
Published
31 Oct 2023
Originally published at