Releases: commercelayer/drop-in.js
v2.5.0
What's Changed
💥 Breaking Change
- Drop support to Node 18 and update all dependencies to the latest major by @marcomontalbano in #73
Full Changelog: v2.4.4...v2.5.0
v2.4.4
What's Changed
🐛 Bug Fix
- Add
availability-with-info
type to thecl-availability-status
component by @marcomontalbano in #72
Full Changelog: v2.4.3...v2.4.4
v2.4.3
What's Changed
🚀 Enhancement
- Add triple-slash directive for Astro and React by @marcomontalbano in #70
Full Changelog: v2.4.2...v2.4.3
v2.4.2
What's Changed
🐛 Bug Fix
- Relax domain, it is just a string by @marcomontalbano in #69
Full Changelog: v2.4.1...v2.4.2
v2.4.1
What's Changed
🚀 Enhancement
- Update all dependencies to the latest minor by @marcomontalbano in #68
📝 Documentation
- Suggesting major version instead of freezing the version by @marcomontalbano in #67
Full Changelog: v2.4.0...v2.4.1
v2.4.0
What's Changed
🚀 Enhancement
- Update dependencies by @marcomontalbano in #65
- Add support to "bundles" by @marcomontalbano in #64
Bundle support
We added a new kind
attribute to the cl-add-to-cart
, cl-price
, and cl-availability
components.
This new attribute indicates whether the code
attribute refers to an sku
(default) or a bundle
.
Important
This feature is not fully implement on the cl-availability
component. When kind
is equal to bundle
no information will be displayed and the component will be rendered as an empty box without any size.
cl-price
<cl-price kind="bundle" code="CLGETTINGSTARTED">
<cl-price-amount type="compare-at"></cl-price-amount>
<cl-price-amount type="price"></cl-price-amount>
</cl-price>
cl-add-to-cart
<cl-add-to-cart kind="bundle" code="CLGETTINGSTARTED" quantity="2">
Add to cart
</cl-add-to-cart>
Full Changelog: v2.3.0...v2.4.0
v2.3.0
What's Changed
🚀 Enhancement
- Migrate to the new authentication endpoint by introducing the auth.js package by @marcomontalbano in #62
- Add support to "subscriptions" by @marcomontalbano in #63
Full Changelog: v2.2.0...v2.3.0
v2.2.0
What's Changed
🚀 Enhancement
- Update dependencies + Storybook v8 + Stencil v4.13 by @marcomontalbano in #61
Full Changelog: v2.1.0...v2.2.0
v2.1.0
What's Changed
🚀 Enhancement
- Update all dependencies to the latest by @marcomontalbano in #47
- The
cl-cart
component now supports express payments (Apple Pay e Google Pay) by @marcomontalbano in #54 - Add
rule
prop to thecl-availability
component by @marcomontalbano in #57
🐛 Bug Fix
- Empty fields when there are no results by @marcomontalbano in #53
📝 Documentation
- Add link to the repository by @marcomontalbano in #45
- Update log messages to improve understandability by @marcomontalbano in #52
- Add scope selector to the documentation by @marcomontalbano in #55
Express checkout
cl-cart
component now supports express checkout buttons for both Apple Pay and Google Pay via Stripe. To enable this feature, you need to activate the auto_payments
option on your Commerce Layer Stripe gateway and configure the necessary settings in your Stripe dashboard.
Full Changelog: v2.0.2...v2.1.0
v2.0.2
What's Changed
🚀 Enhancement
- Update all dependencies to latest by @marcomontalbano in #43
Full Changelog: v2.0.1...v2.0.2