Skip to content

Releases: Shopify/hydrogen

skeleton@2025.5.2

21 May 19:25
3dbbb1e
Compare
Choose a tag to compare

Patch Changes

skeleton@2025.5.1

21 May 13:08
a37399a
Compare
Choose a tag to compare

Patch Changes

skeleton@2025.5.0

21 May 11:16
91d129a
Compare
Choose a tag to compare

Patch Changes

@shopify/remix-oxygen@3.0.0

21 May 11:16
91d129a
Compare
Choose a tag to compare

Major Changes

Patch Changes

@shopify/hydrogen@2025.5.0

21 May 11:16
91d129a
Compare
Choose a tag to compare

Patch Changes

@shopify/hydrogen-react@2025.5.0

21 May 11:16
91d129a
Compare
Choose a tag to compare

@shopify/hydrogen-react

2025.4.0

Patch Changes

2025.1.3

Patch Changes

2025.1.2

Patch Changes

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 null firstSelectableVariant. (#2704) by @wizardlyhel

  • Bump SFAPI to 2025-01 (#2715) by @rbshop

  • Update decodeEncodedVariant utility to fix bug if encoding ends with index. (#2721) by @lhoffbeck

2024.10.1

Patch Changes

  • Introduce getProductOptions, getAdjacentAndFirstAvailableVariants, useSelectedOptionInUrlParam, and mapSelectedProductOptionToObject 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 for priceV2 and compareAtPriceV2. Remove export for getCustomerPrivacy. (#2601) by @wizardlyhel

  • Update to 2024-10 SFAPI (#2570) by @wizardlyhel

  • Add utility functions decodeEncodedVariant and isOptionValueCombinationInEncodedVariant for parsing product.encodedVariantExistence and product.encodedVariantAvailability fields. (#2425) by @lhoffbeck

2024.7.6

Patch Changes

2024.7.5

Patch Changes

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

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

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 to createStorefrontClient 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

Patch Changes

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 the ShopPayButton 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 importing Scalars directly from @shopify/hydrogen-react or @shopify/hydrogen: (#1108) by @frandiox

     import 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 parameters buyerIp and requestGroupId
    • <Image> props loaderOptions and widths

2023.7.6

Patch Changes

2023.7.5

Patch Changes

  • Add Language to CartProvider (#1408) by @Qubica

  • 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...

Read more

@shopify/create-hydrogen@5.0.24

21 May 13:09
a37399a
Compare
Choose a tag to compare

Patch Changes

@shopify/create-hydrogen@5.0.23

21 May 11:16
91d129a
Compare
Choose a tag to compare

Patch Changes

@shopify/cli-hydrogen@11.1.0

21 May 19:25
3dbbb1e
Compare
Choose a tag to compare

Minor Changes

@shopify/cli-hydrogen@11.0.1

21 May 13:09
a37399a
Compare
Choose a tag to compare

Patch Changes