Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

@shopify/hydrogen-react@2022.10.6

Compare
Choose a tag to compare
@github-actions github-actions released this 19 Dec 21:19
· 78 commits to 2023-01 since this release
d2e5d4e

Patch Changes

  • f570f72: Added the price and compareAtPrice fields to our defaultCartFragment, which is used to get the Cart fields in the <CartProvider /> component.

    The above fields should be identical to priceV2 and compareAtPriceV2, with the exception that these V2 fields are being deprecated in a future version of the Storefront API.

    We'll keep both for now, to help deveopers upgrade without issues, and then remove the V2 versions in a future breaking update.

  • 203abf9: Fix bad path for require() statements in non-Node environments.

  • de1429e: CartProvider small internal fix to the last valid card and previous stored cart.