Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 19 Oct 18:30
· 117 commits to v1.x-2022-07 since this release
c9d75c2

Minor Changes

  • Add Shopify analytics instrumentation for customer events. (#2238) by @wizardlyhel

    See the updated doc on <ShopifyAnalytics />.

  • Updates CartProvider to use the new CartProviderV2. No code changes are necessary. Docs for CartProvider can be found here. (#2182) by @lordofthecactus

    Also adds the following onComplete props callbacks:

    Name Type Description
    onCreateComplete? () => void Invoked when the process to create a cart completes successfully
    onLineAddComplete? () => void Invoked when the process to add a line item to the cart completes successfully
    onLineRemoveComplete? () => void Invoked when the process to remove a line item to the cart completes successfully
    onLineUpdateComplete? () => void Invoked when the process to update a line item in the cart completes successfully
    onNoteUpdateComplete? () => void Invoked when the process to add or update a note in the cart completes successfully
    onBuyerIdentityUpdateComplete? () => void Invoked when the process to update the buyer identity completes successfully
    onAttributesUpdateComplete? () => void Invoked when the process to update the cart attributes completes successfully
    onDiscountCodesUpdateComplete? () => void Invoked when the process to update the cart discount codes completes successfully
  • Added missing dependancy for faker to hydrogen package (#2234) by @Drew-Garratt

Patch Changes

  • Add more error catches on shopify analytics (#2256) by @wizardlyhel

  • Requests to SF API will now provide a Custom-Storefront-Group-ID header. (#2215) by @uri