Releases: Shopify/hydrogen
skeleton@2025.5.2
Patch Changes
- Fixing the skeleton's Vite Config (#2958) by @balazsbajorics
skeleton@2025.5.1
Patch Changes
- Bumping the cli to 3.80.4 (#2956) by @balazsbajorics
skeleton@2025.5.0
Patch Changes
-
Migrating to React Router 7 (#2866) by @balazsbajorics
-
Updated dependencies [
e9132d88
,e9132d88
]:- @shopify/remix-oxygen@3.0.0
- @Shopify/hydrogen@2025.5.0
@shopify/remix-oxygen@3.0.0
Major Changes
- Major version bumping libraries that now depend on react-router@7 (#2866) by @balazsbajorics
Patch Changes
- Migrating to React Router 7 (#2866) by @balazsbajorics
@shopify/hydrogen@2025.5.0
Patch Changes
-
Migrating to React Router 7 (#2866) by @balazsbajorics
-
Major version bumping libraries that now depend on react-router@7 (#2866) by @balazsbajorics
@shopify/hydrogen-react@2025.5.0
@shopify/hydrogen-react
2025.4.0
Patch Changes
- Update SFAPI and CAAPI versions to 2025.04 (#2886) by @juanpprieto
2025.1.3
Patch Changes
- Bump Remix to 2.16.1 and vite to 6.2.0 (#2784) by @wizardlyhel
2025.1.2
Patch Changes
- Update cli dependencies (#2766) by @juanpprieto
2025.1.1
Patch Changes
-
Update
getProductOptions
to handle divergent product options. (#2747) by @wizardlyhel -
Upgrade eslint to version 9 and unify eslint config across all packages (with the exception of the skeleton, which still keeps its own config) (#2716) by @liady
2025.1.0
Patch Changes
-
Bump vite, Remix versions and tailwind v4 alpha to beta (#2696) by @wizardlyhel
-
Fix
getProductOptions
crashing when one of variants returns a nullfirstSelectableVariant
. (#2704) by @wizardlyhel -
Update
decodeEncodedVariant
utility to fix bug if encoding ends with index. (#2721) by @lhoffbeck
2024.10.1
Patch Changes
- Introduce
getProductOptions
,getAdjacentAndFirstAvailableVariants
,useSelectedOptionInUrlParam
, andmapSelectedProductOptionToObject
to support combined listing products and products with 2000 variants limit. (#2659) by @wizardlyhel
2024.10.0
Patch Changes
-
Update
<ProductPrice>
to remove deprecated code usage forpriceV2
andcompareAtPriceV2
. Remove export forgetCustomerPrivacy
. (#2601) by @wizardlyhel -
Update to 2024-10 SFAPI (#2570) by @wizardlyhel
-
Add utility functions
decodeEncodedVariant
andisOptionValueCombinationInEncodedVariant
for parsingproduct.encodedVariantExistence
andproduct.encodedVariantAvailability
fields. (#2425) by @lhoffbeck
2024.7.6
Patch Changes
- Image component: support local assets in development (#2573) by @scottdixon
2024.7.5
Patch Changes
- Remove unstable re-exports from remix-oxygen package (#2551) by @wizardlyhel
2024.7.4
Patch Changes
- Emit a document event
shopifyCustomerPrivacyApiLoaded
when Customer Privacy API is ready and fix analytics events sending to Shopify. (#2528) by @wizardlyhel
2024.7.3
Patch Changes
-
Update ProductPrice to use price instead of priceV2, and hide compareAt price if less than regular price (#2461) by @andershagbard
-
Prevent Image component from generating srcset with higher dimensions than source image (#2469) by @andershagbard
2024.7.2
Patch Changes
-
Improve performance of currency formatting (#2372) by @blittle
-
Prevent sending analytics data to Shopify when Chrome-Lighthouse user agent is detected (#2401) by @wizardlyhel
2024.7.1
Patch Changes
- Add
sellingPlanId
support toBuyNowButton
. (#2254) by @dvisockas
2024.4.3
Patch Changes
-
Fix shopify cookie domain setting (#2142) by @wizardlyhel
-
Add a RichText component to easily render `rich_text_field` metafields. Thank you @bastienrobert for the original implementation. Example usage: (#2144) by @blittle
import {RichText} from '@shopify/hydrogen-react'; export function MainRichText({metaFieldData}: {metaFieldData: string}) { return ( <RichText data={metaFieldData} components={{ paragraph({node}) { return <p className="customClass">{node.children}</p>; }, }} /> ); }
2024.4.2
Patch Changes
- Ensure the
getShopifyDomain
method from theuseShop
hook always includes the HTTPS protocol. (#2079) by @michenly
2024.4.1
Patch Changes
2024.4.0
Patch Changes
-
Introducing
<UNSTABLE_Analytics.Provider>
that also includes Shopify analytics, Customer Privacy API and Privacy banner (#1789) by @wizardlyhel -
Fall back to "mock.shop" when no value is passed in
storeDomain
tocreateStorefrontClient
in development. (#1971) by @frandiox -
Expose
cartReady
state from the cart context. (#1885) by @celsowhite
2024.1.1
Patch Changes
- Fix
useLoadScript
to avoid infinite re-renders when using its second parameter. (#1775) by @frandiox
2024.1.0
Major Changes
- Upgrade to Storefront API v2024-01 (#1642) by @wizardlyhel
Patch Changes
-
Fix
<model-viewer>
'sonPause
event listener, with improved readability contributed by @sanjaiyan-dev (#1669) by @wizardlyhel -
Add
React.forwardRef
toVideo
andExternalVideo
components (#1415) by @andershagbard
2023.10.1
Patch Changes
-
Update all Node.js dependencies to version 18. (Not a breaking change, since Node.js 18 is already required by Remix v2.) (#1543) by @michenly
-
Skip private access token warning when using mock.shop. (#1538) by @frandiox
-
Add an optional
channel
prop to theShopPayButton
component, which adds order attribution support for either the Headless or Hydrogen sales channel. (#1447) by @QuintonC
2023.10.0
Major Changes
-
The Storefront API types included are now generated using
@graphql-codegen/typescript@4
(changelog). This results in a breaking change if you were importingScalars
directly from@shopify/hydrogen-react
or@shopify/hydrogen
: (#1108) by @frandioximport type {Scalars} from '@shopify/hydrogen/storefront-api-types'; type Props = { - id: Scalars['ID']; // This was a string + id: Scalars['ID']['input']; // Need to access 'input' or 'output' to get the string };
Patch Changes
-
Remove deprecated parameters and props (#1455 and #1435): (#1435) by @wizardlyhel
createStorefrontClient
parametersbuyerIp
andrequestGroupId
<Image>
propsloaderOptions
andwidths
2023.7.6
Patch Changes
- Fix template dist package due to CI error (#1451) by @wizardlyhel
2023.7.5
Patch Changes
-
Add attributes option to useLoadScript (#1442) by @wizardlyhel
-
Unlock
hydrogen-react
package.json exports to make it easier to use with NextJS and other frameworks. Note: Using Hydrogen internals is not officially supported, and those internal APIs could change at anytime outside our usual calendar versioning. (#994) by [@blittle](https://githu...
@shopify/create-hydrogen@5.0.24
Patch Changes
- Bumping the cli to 3.80.4 (#2956) by @balazsbajorics
@shopify/create-hydrogen@5.0.23
Patch Changes
- Migrating to React Router 7 (#2866) by @balazsbajorics
@shopify/cli-hydrogen@11.1.0
Minor Changes
- Fixing the CLI for Remix-based hydrogen projects (#2958) by @balazsbajorics
@shopify/cli-hydrogen@11.0.1
Patch Changes
- Bumping the cli to 3.80.4 (#2956) by @balazsbajorics