- Bumps the SDK to use Storefront API version
2019-10
. For more information, see the Release Notes.
- Fixed error caused by getting additional images and variants information when product is null
- Update header configuration
- Add the following fields to the queries:
- VariantFrament:
priceV2
,compareAtPriceV2
- DiscountApplicationFragment:
value
- VariantFrament:
- Includes code changes missed in previous version (2.6.0) to send all requests to API version 2019-07.
- Introduces API Versioning! Starting with this release, each release will be tied to a new API version. Learn more about versioning here.
- Exposes the following information in the graphql schema:
- Queryroot field
publicApiVersions
- list of supported API versions - Checkout field
requiresShipping
- CheckoutErrorCode:
BAD_DOMAIN
,INVALID_FOR_COUNTRY
,GIFT_CARD_DEPLETED
,TOTAL_PRICE_MISMATCH
- Queryroot field
- Add the following fields to the queries:
- AppliedGiftCard:
presentmentAmountUsed
. - CheckoutFragment:
paymentDueV2
,totalTaxV2
,subtotalPriceV2
,totalPriceV2
. - order:
subtotalPriceV2
,totalShippingPriceV2
,totalTaxV2
,totalPriceV2
,totalRefundedV2
. - VariantFrament:
presentmentPrices
. - ShopQuery:
paymentSettings
(that includesenabledPresentmentCurrencies
)
- AppliedGiftCard:
- Bump the graphql schema to pull the latest fields:
- Applied Gift Card field
presentmentAmountUsed
- Payment field
amountV2
- Product field
presentmentPriceRanges
- Transaction field
amountV2
- Applied Gift Card field
- Duplicate of v2.4.0
- Bump the graphql schema to pull the latest fields into the unoptimized version:
- ProductVariant fields:
metafield
,metafields
- Product fields:
metafield
,metafields
- QueryRoot field:
productRecommendations
- ProductVariant fields:
- Add
handle
to checkout's line item's variant's product.
- Add support for the
checkoutGiftCardsAppend
andcheckoutGiftCardRemoveV2
mutations, which allows clients to add and remove gift cards from a checkout.
- Bump the graphql schema to pull the latest fields into the unoptimized version:
- Order fields:
subtotalPriceV2
,totalPriceV2
,totalRefundedV2
,totalShippingPriceV2
,totalTaxV2
- ProductVariant fields:
compareAtPriceV2
,priceV2
- Checkout fields:
paymentDueV2
,subtotalPriceV2
,totalPriceV2
,totalTaxV2
- AppliedGiftCard fields:
balanceV2
,amountUsedV2
- Shop field:
presentmentCurrencyCode
- ShippingRate field:
priceV2
- Order fields:
These fields are all of type MoneyV2
and contain both an amount and a currency.
- Bump the graphql-js-client package, which fixes support for IE browsers
- Add currency support for Bermudian Dollar
- Add seo field to article which exposes SEO title and description information
- Deprecate
status
field on transaction and replaces it withstatusV2
, which supports a null status. - Add
lineItemsSubtotalPrice
field to checkout. It contains the sum of all line items prices before any tax, shipping or discount applications.
- Bump the graphql-js-client package, which includes support for falling back when a GraphQL interface object can't be translated.
- Add support for the
checkoutShippingAddressUpdateV2
mutation, which allows clients to update the shipping address of a checkout. - Add the
checkoutUserErrors
field to all of the checkout mutation fragments that did not previously contain this.
- Build an unoptimized release version that contains all fields that are available in the Storefront API.
- Fetch
collections
,products
,collectionByHandle
andproductByHandle
from the QueryRoot instead of from the Shop object. - Return
checkoutUserErrors
instead ofuserErrors
when present. This will add an extra field called code. - Expose
checkoutLineItemsReplace
mutation (to replace deprecatedcheckoutLineItemsAdd
,checkoutLineItemsRemove
, andcheckoutLineItemsUpdate
mutations). - Remove unused fixtures
- Added availableForSale field to Product query fragment
- Removed tags field from Product query fragment
- Add field aliasing to deprecated fields in affected query fragments:
- availableForSale on VariantFragment
- countryCode on CheckoutFragment
- src on CollectionFragment and VariantFragment
- Updates deprecated Storefront API methods used for some checkout mutations.
- Specifies pageInfo for discountApplications connection
- Updates schema.json
- Support checkoutDiscountCodeRemove mutation
- Exposes discounts on the checkout Object
- Allows a null checkout response from CheckoutResource.fetch (#563)
- Support checkoutEmailUpdate mutation
- Adds IE9 support for
atob
andbtoa
using polyfills via #52 - Cleans up some deployment noise (#54). Thanks @tessalt