Skip to content

Releases: commercelayer/commercelayer-react-components

v3.14.1-alpha.1

01 Jul 18:11
Compare
Choose a tag to compare
v3.14.1-alpha.1 Pre-release
Pre-release

3.14.1-alpha.1 (2022-07-01)

Bug Fixes

  • Autoselect first shipping method if it is single. Resolve #234 (243d81d)
  • Remove line_item when adding a new one using buyNowMode (1ed1cf4)
  • Show formatted_price_amount_for_shipment by default (70bbeba)

Performance Improvements

  • Reduce network requests (db25e51)

v3.14.1-beta.2

17 Jun 15:38
Compare
Choose a tag to compare
v3.14.1-beta.2 Pre-release
Pre-release

3.14.1-beta.2 (2022-06-17)

Bug Fixes

  • Autoselect first shipping method if it is single. Resolve #234 (243d81d)

Performance Improvements

  • Reduce network requests (db25e51)

v3.14.1-beta.1

16 Jun 16:50
Compare
Choose a tag to compare
v3.14.1-beta.1 Pre-release
Pre-release

3.14.1-beta.1 (2022-06-16)

Bug Fixes

  • Remove line_item when adding a new one using buyNowMode (1ed1cf4)

v3.14.0

16 Jun 08:40
Compare
Choose a tag to compare

3.14.0 (2022-06-16)

Bug Fixes

  • Allow a React node as label on CartLink component (e67b999)
  • Disable AddToCartButton (08b7150)
  • Dispatch sku code properly between contexts (bab9957)
  • Get order for the thank you page (8602f12)
  • Infinite loop without an order (d23f0f2)
  • Line items counter, resolve #223 (f7570d7)
  • quantity prop on LineItemsEmpty component (e5e13eb)
  • Reload line_items when they are empty (2de5a91)
  • Rename and expose element prop to attributeValue prop on the generic field component (aa838e5)
  • Set default value to QuantitySelector (ae9b497)
  • Set default value to QuantitySelector (86a10bc)
  • Set default value to QuantitySelectory component (0a71b27)

Features

  • Add redirectToHostedCart and hostedCartUrl props to AddToCartButton component (2d1c2b1)
  • Create CartLink component (56a0603)

Performance Improvements

  • Allow the metadata updating on OrderContainer (388ae85)
  • Avoid duplicate requests from external re-rendering (c6b3458)
  • Clean line items on buy now mode (4ac0896)
  • Set undefined quantity when line_items have not loaded yet (83cbf2d)
  • Update metadata order by attributes prop on OrderContainer, resolve #214 (1989550)

v3.14.0-beta.4

13 Jun 15:13
73a04fb
Compare
Choose a tag to compare
v3.14.0-beta.4 Pre-release
Pre-release

3.14.0-beta.4 (2022-06-13)

Bug Fixes

  • Set default value to QuantitySelector (73a04fb)

v3.14.0-beta.3

13 Jun 14:52
Compare
Choose a tag to compare
v3.14.0-beta.3 Pre-release
Pre-release

3.14.0-beta.3 (2022-06-13)

Bug Fixes

  • Rename and expose element prop to attributeValue prop on the generic field component (5ec3815)

v3.14.0-beta.2

10 Jun 14:09
Compare
Choose a tag to compare
v3.14.0-beta.2 Pre-release
Pre-release

3.14.0-beta.2 (2022-06-10)

Bug Fixes

  • Allow a React node as label on CartLink component (b95d367)
  • Line items counter, resolve #223 (16dcc23)

Performance Improvements

  • Allow the metadata updating on OrderContainer (c42a8af)
  • Clean line items on buy now mode (c5eb540)
  • Update metadata order by attributes prop on OrderContainer, resolve #214 (8172ef8)

v3.14.0-beta.1

09 Jun 12:51
Compare
Choose a tag to compare
v3.14.0-beta.1 Pre-release
Pre-release

3.14.0-beta.1 (2022-06-09)

Bug Fixes

  • Disable AddToCartButton (e3d71ba)
  • Dispatch sku code properly between contexts (2579ec3)
  • Infinite loop without an order (9ec70b5)

Features

  • Add redirectToHostedCart and hostedCartUrl props to AddToCartButton component (ecc3f2c)
  • Create CartLink component (74ce903)

v3.13.1-beta.1

06 Jun 16:44
Compare
Choose a tag to compare
v3.13.1-beta.1 Pre-release
Pre-release

3.13.1-beta.1 (2022-06-06)

Bug Fixes

  • Get order for the thank you page (3e9f6c2)
  • quantity prop on LineItemsEmpty component (acb2724)
  • Reload line_items when they are empty (327d901)

Performance Improvements

  • Set undefined quantity when line_items have not loaded yet (9ad380d)

v3.13.0

31 May 08:30
Compare
Choose a tag to compare

3.13.0 (2022-05-31)

Bug Fixes

  • Expose parentRef for custom children function (436c9a4)
  • Free label on ShippingMethodPrice (d13a7eb)
  • List of stock transfers (7515ded)
  • Remove gift card from LineItem when it is a discount (2993627)
  • Remove glitch on auto-preselecting the shipping method (3709caf)
  • Remove types minimization (49112dc)
  • Reset shipping method selector when add or remove a coupon (a3880a7)
  • Shipping method price label (112804d)
  • Show free items (064d8f8)
  • Show right label for amount equal to zero and free over amount (7eb89b4)

Features

  • Add new fetchOrder prop to OrderContainer and improve network requests (eb3f19e)

Performance Improvements

  • autoSelectSingleShippingMethod accept even a function (5331274)
  • Add autoSelectSingleShippingMethod prop to Shipment component (d3e1d11)
  • Add await before dispatching the callback event (29469bf)