Releases: commercelayer/drop-in.js
Releases · commercelayer/drop-in.js
v2.8.1
What's Changed
🐛 Bug Fix
- Avoid flashing when mini-cart opens by @marcomontalbano in #82
Full Changelog: v2.8.0...v2.8.1
v2.8.0
What's Changed
🚀 Enhancement
- Custom app url can accept
:slug
by @marcomontalbano in #81
Full Changelog: v2.7.0...v2.8.0
v2.7.0
What's Changed
🚀 Enhancement
- Read slug from the access token by @marcomontalbano in #80
Full Changelog: v2.6.0...v2.7.0
v2.6.0
What's Changed
🚀 Enhancement
- Customize MFE links by @marcomontalbano in #75
- Update all dependencies to the latest major by @marcomontalbano in #78
🐛 Bug Fix
- Find the first available inventory level instead of always using the first one by @marcomontalbano in #76
- Add
available-with-info
to the typeList by @marcomontalbano in #77 - Filter customer cart by the market in scope by @marcomontalbano in #79
Full Changelog: v2.5.0...v2.6.0
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