Releases: commercelayer/drop-in.js
Releases · commercelayer/drop-in.js
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
v2.0.1
What's Changed
🐛 Bug Fix
- Add expires to customer cookie and revoke token when logout by @marcomontalbano in #42
Full Changelog: v2.0.0...v2.0.1
v2.0.0
What's Changed
💥 Breaking Change
- Rename
returnUrl
toorderReturnUrl
by @marcomontalbano in #39
🚀 Enhancement
- Integrate with Commerce Layer's Identity and My Account by @marcomontalbano in #35
- Add comments to
@Prop
and generate docs based on them by @marcomontalbano in #37 - Update all dependencies to the latest by @marcomontalbano in #40
📝 Documentation
- Update documentation for Identity and My account by @sfiorucci in #38
Full Changelog: v1.4.0...v2.0.0-beta.0
Breaking Changes
Rename returnUrl
to orderReturnUrl
<script>
(function() {
window.commercelayerConfig = {
clientId: 'kuSKPbeKbU9LG9LjndzieKWRcfiXFuEfO0OYHXKH9J8',
slug: 'drop-in-js',
scope: 'market:11709',
- returnUrl: 'https://example.com'
+ orderReturnUrl: 'https://example.com'
}
}());
</script>
The accessToken
stored in the cookie has changed
If you were using the accessToken
stored in the cookie, you need to know that the cookie value is now a JSON.stringified object.
Below is an example:
{
"type": "guest",
"accessToken": "eyJhbGciOiJIUzUxMiJ9...",
"scope": "market:11709"
}
v2.0.0-beta.0
What's Changed
💥 Breaking Change
- Rename
returnUrl
toorderReturnUrl
by @marcomontalbano in #39
🚀 Enhancement
- Integrate with Commerce Layer's Identity by @marcomontalbano in #35
- Add comments to
@Prop
and generate docs based on them by @marcomontalbano in #37 - Update all dependencies to the latest by @marcomontalbano in #40
📝 Documentation
- Update documentation for Identity and My account by @sfiorucci in #38
Full Changelog: v1.4.0...v2.0.0-beta.0
v1.4.0
What's Changed
🚀 Enhancement
- Update all dependencies to the latest by @marcomontalbano in #31
- Reduce cart requests by @marcomontalbano in #33
📝 Documentation
- Move the minicart to a dedicated page by @marcomontalbano in #32
Full Changelog: v1.3.2...v1.4.0
v1.3.2
What's Changed
🚀 Enhancement
- Update
cart_url
only when different by @malessani in #30
New Contributors
- @malessani made their first contribution in #30
Full Changelog: v1.3.1...v1.3.2
v1.3.1
What's Changed
🚀 Enhancement
- Update the URL of the hosted checkout by @marcomontalbano in #27
Full Changelog: v1.3.0...v1.3.1