Releases: Shopify/js-buy-sdk
Releases · Shopify/js-buy-sdk
v2.22.0
v2.21.1
- Bumps the SDK to use Storefront API version 2023-10. For more information, see the Release Notes.
v2.20.0
- Bumps the SDK to use Storefront API version 2023-07. For more information, see the Release Notes.
v2.19.0
- Bumps the SDK to use Storefront API version
2023-04
. For more information, see the Release Notes. - Security patch handlebars version vulnerability
v2.18.0
- Bumps the SDK to use Storefront API version
2023-01
. For more information, see the Release Notes.
v2.17.1
- Removed the common
MoneyFragment
and replaced all usage of the fragment with the correspondingMoneyV2
fields. This fixes an error that was occurring when theclient.fetchNextPage()
is called
v2.17.0
- Bumps the SDK to use Storefront API version
2022-10
. For more information, see the Release Notes. - NOTABLE API DATA CHANGE: Storefront API version
2022-10
includes the removal of theMoney
scalar and all fields that had previously returned a Money scalar will now return a MoneyV2 object. Affected fields include:- AppliedGiftCard fields:
amountUsed
,balance
- Checkout fields:
paymentDue
,totalTax
,subtotalPrice
,totalPrice
- ShippingRate fields:
price
- Order fields:
subtotalPrice
,totalShippingPrice
,totalTax
,totalPrice
,totalRefunded
- ProductVariant fields:
price
,compareAtPrice
- AppliedGiftCard fields:
v2.16.1
- Bumps the SDK to use Storefront API version
2022-07
. For more information, see the Release Notes. - Alias all instances of
Image.src
to useImage.url
.
v2.15.1
- Bumps the SDK to use Storefront API version
2022-04
. For more information, see the Release Notes. - Add product.fetchRecommendations function that allows for fetching recommended products for a product.
v2.12.0
- Bumps the SDK to use Storefront API version
2021-07
. For more information, see the Release Notes.