Releases: commercelayer/drop-in.js
Releases · commercelayer/drop-in.js
v2.15.0
What's Changed
🚀 Enhancement
- Add reset password URL support to
cl-identity-link
component by @marcomontalbano in #108
Full Changelog: v2.14.0...v2.15.0
v2.14.0
What's Changed
🚀 Enhancement
- Update order language when it is different from the drop-in language configuration by @marcomontalbano in #107
Full Changelog: v2.13.0...v2.14.0
v2.13.0
What's Changed
🚀 Enhancement
- Manage languages for identity and my-account by @marcomontalbano in #106
Full Changelog: v2.12.0...v2.13.0
v2.12.0
What's Changed
Other Changes
- Add support for private scopes by @marcomontalbano in #105
Full Changelog: v2.11.2...v2.12.0
v2.11.2
What's Changed
🆙 Dependencies
- Update all dependencies to the latest major by @marcomontalbano in #103
- Move to Biomejs by @marcomontalbano in #104
Full Changelog: v2.11.1...v2.11.2
v2.11.1
What's Changed
🐛 Bug Fix
- Update
cl-availability
when out-of-stock by @marcomontalbano in #102
Full Changelog: v2.11.0...v2.11.1
v2.11.0
What's Changed
🚀 Enhancement
- The availability now considers the line item quantity in the cart by @marcomontalbano in #98
- Add a feedback when adding an item to the cart by @marcomontalbano in #100
🆙 Dependencies
- Update all dependencies to the latest major by @marcomontalbano in #97
Full Changelog: v2.10.0...v2.11.0
v2.10.0
What's Changed
🚀 Enhancement
- Update all dependencies to the latest by @marcomontalbano in #94
- Add the new config option
storageOrderKeySuffix
by @marcomontalbano in #93
Full Changelog: v2.9.0...v2.10.0
v2.9.0
What's Changed
🚀 Enhancement
- Add the close button to the minicart by @marcomontalbano in #86
- Add ability to set custom name and image when creating the line item by @marcomontalbano in #87
- Update all dependencies to the latest major by @marcomontalbano in #88
- Mini-cart opens earlier to improve user feedback by @marcomontalbano in #90
- Ability to set custom order attributes when creating the order by @marcomontalbano in #91
⚠️ Deprecation notices
languageCode
is deprecated and it will be removed in the next major version (v3.0). UsedefaultAttributes.orders.language_code
instead.orderReturnUrl
is deprecated and it will be removed in the next major version (v3.0). UsedefaultAttributes.orders.return_url
instead.
We added the ability to set custom order attributes when creating the order (#91).
<script>
window.commercelayerConfig = {
. . .
- languageCode: 'en',
- orderReturnUrl: 'https://example.com'
+ defaultAttributes: {
+ orders: {
+ language_code: 'en',
+ return_url: 'https://example.com'
+ }
+ }
}
</script>
Full Changelog: v2.8.2...v2.9.0
v2.8.2
What's Changed
🐛 Bug Fix
- Fix minicart when open-on-add by @marcomontalbano in #83
Full Changelog: v2.8.1...v2.8.2