github Shopify/buy-button-js v2.4.1

latest release: v2.4.2
4 days ago

Changelog

v2.4.0 (July 6, 2023)

  • Updated JS Buy SDK to v2.20.0, which uses Storefront API version 2023-07 (#846)

v2.3.0 (June 20, 2023)

  • Updated JS Buy SDK to v2.19.0, which uses Storefront API version 2023-04 (#844)

v2.2.1 (August 12, 2022)

  • Removed base64 encoding and decoding of ids during config normalization because Storefront API does not return encoded ids anymore (#821)

v2.2.0 (August 10, 2022)

  • Updated JS Buy SDK to v2.16.1, which uses Storefront API version 2022-07 (#816)
  • Replaced node-sass with sass and updated node to v16.16.0 (#816)

v2.1.8 (October 22, 2021)

  • Updated JS Buy SDK to v2.12.0, which uses Storefront API version 2021-07 (#785)
  • Use list markup for cart line items (#720)
  • Update line item quantity accessibility labels (#717)
  • Connect variant label to select (#718)
  • Increase opacity of compare at price to improve contrast (#716)
  • Connect the cart note label to the textarea (#715)
  • Update cart close accessibility label (#714)
  • Fix select focus state visibility in firefox (#713)
  • Toggle cart when space key is pressed (#712)
  • Prevent focus on cart elements when closed (#710)
  • Return focus to the right element when the cart is closed (#709)
  • Add price and compare at price accessibility labels (#708)
  • Add focus trap when cart or modal are open (#707)

v2.1.7 (July 13, 2020)

  • Update product set component to use the correct container node when in non-iFrame mode #680

v2.1.6 (July 8, 2020)

  • Fixed disabled button css class #681
  • Show discount code within the cart when discount title is unavailable #686
  • Prevent adding multiple close modal event listeners #692

v2.1.5 (July 7, 2020)

  • Updated JS Buy SDK to v2.11.0, which uses Storefront API version 2020-07 (#699)

v2.1.4 (July 7, 2020)

  • Updated changelog for v2.1.3

v2.1.3 (May 12, 2020)

  • Updated JS Buy SDK to v2.10.0, which uses Storefront API version 2020-04 (#684)

v2.1.2 (April 6, 2020)

  • Updated code of conduct report link (#678)

v2.1.1 (March 23, 2020)

  • Updated JS Buy SDK to v2.9.2 (#674)
    • This update ensures that checkouts and content returned from Storefront API/JS Buy SDK will be in the store's primary language.

v2.1.0 (January 9, 2020)

  • Add unit pricing to the product component (#671)

v2.0.0 (November 19, 2019)

  • Defer creation of checkout until a variant is added to cart (#657)
    • The cart component's model will now be null until a variant has been added to the cart

v1.0.4 (October 9, 2019)

  • Changed text-rendering to auto for select elements to prevent Safari 13 from crashing (#653)

v1.0.3 (October 8, 2019)

  • Fix product set's trackingInfo to return tracking information for each product in set (#651)

v1.0.2 (September 24, 2019)

  • Add openCheckout user event (#647)
  • Fixed pagination error for product set buy buttons (#645)
  • Tracker related updates:
    • Add 2 new events (Open cart checkout and Open modal) (#648)
    • Standardized tracking info's id value to be the storefrontId (#645)
    • Updated tracking info values and added addtional properties (#645)

v1.0.1 (September 10, 2019)

  • Fix how ShopifyBuy.UI is set (#643)

v1.0.0 (September 5, 2019)

  • Add support for automatic discounts in the lineItem component (#640)
    • Add priceWithDiscounts contents option and enable by default
    • Disable price contents option by default
    • Add priceWithDiscounts to the order array
    • Add priceWithDiscounts, fullPrice, discount, and discountIcon styles
    • Update default price styles to account for its position inside the priceWithDiscounts container
  • Add support for automatic discounts in the cart component (#640)
    • Add discounts contents option and enable by default
    • Add discount, discountText, discountIcon, discountAmount, and cartScrollWithDiscounts styles
  • Update layout of lineItem component to position variant title below product title (#640)
    • Update default position of variantTitle in the lineItem component's order array
    • Update default variantTitle styles
  • Update browser support (#641)
    • Internet Explorer: 11+
    • Safari: 8+
    • Chrome, Firefox, Opera, Edge: last 2 versions
    • iOS: 8+
    • Android: 4.4+

v0.12.0 (August 15, 2019)

  • Bump various npm dependencies, notably the following major updates: (#633)
    • babel/core | babel/cli | babel/runtime : v7.x
    • core-js: v3.1.4
    • node-sass: v4.12.0
    • mustache: v3.0.1
    • morphdom: v2.5.5
    • browserify: v13.3.0
    • postcss: v7.1.17
  • Bump shopify-buy dependency to v2.7.0 (#635)
  • Fix missing double quotes around classes in options template (#636)

v0.11.0 (March 29, 2019)

  • Bump shopify-buy dependency to v2.2.0.
  • Asserts lineItemsSubtotalPrice is exposed.
  • Add a formattedLineItemsSubtotal field to cart view model. The new field consists in a sum of all line items prices without any discount, taxes or shipping rates applications.

Don't miss a new buy-button-js release

NewReleases is sending notifications on new releases.