hydrogen
hydrogen copied to clipboard
[2025-10 SFAPI/CAAPI] Update API version to 2025-10
Overview
Update Storefront API and Customer Account API from version 2025-07 to 2025-10 across the Hydrogen monorepo.
API Version
- Version: 2025-10
- Previous Version: 2025-07
- APIs: Storefront GraphQL API + Customer Account API
- Type: Version Update
- Action Required: Yes
Changes Made
Version constants updated
packages/hydrogen-react/src/storefront-api-constants.ts- SFAPI_VERSIONpackages/hydrogen/src/customer/constants.ts- DEFAULT_CUSTOMER_API_VERSIONpackages/hydrogen-react/codegen.ts- SF_API_VERSION and CA_API_VERSION
Types regenerated
- Generated new GraphQL types from 2025-10 schemas
- Updated
storefront-api-types.d.ts - Updated
customer-account-api-types.d.ts - Updated schema JSON files
Documentation updated
- Rebuilt documentation with new API version
- Regenerated skeleton template types
- Updated all hardcoded API version references in docs, examples, and tests
Packages built
- Built hydrogen-react package
- Built all packages in monorepo
- Verified type resolution
Changeset created
Version bumps:
- @shopify/hydrogen: major
- @shopify/hydrogen-react: major
- @shopify/cli-hydrogen: patch
- skeleton: major
Related API Changes
This update enables support for new 2025-10 features tracked in separate issues:
- #3271 - Gift card addition
- #3272 - Delivery addresses replace
- #3273 - Delivery addresses breaking change (P0)
- #3274 - Visitor consent
- #3275 - Nested cart lines
- #3276 - Selling plan warning
- #3277 - Merchandise error
- #3278 - Image alt translation
- #3279 - Store credit
- #3280 - Payment schedule fields
Validation Required
Run validation suite
npm run typecheck- verify no type errorsnpm test- verify all tests passnpm run lint- verify no lint issues
Verify skeleton builds
cd templates/skeleton && npm run build- Check for any codegen or build errors
Priority
P0 - Foundation for all other 2025-10 features