From 607d3b9b0c7f51c1b96d77e878bd73181a6d764f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 Jan 2025 08:44:11 +0000 Subject: [PATCH] [ci] release main --- .changeset/empty-files-cough.md | 5 - .changeset/fresh-lamps-raise.md | 9 -- .changeset/fresh-terms-love.md | 5 - .changeset/green-bobcats-act.md | 5 - .changeset/nice-bats-exist.md | 5 - .changeset/polite-ladybugs-count.md | 5 - .changeset/sharp-worms-rescue.md | 5 - .changeset/young-houses-grow.md | 5 - packages/lib/CHANGELOG.md | 201 ++++++++++++++++------------ packages/lib/package.json | 2 +- packages/playground/package.json | 2 +- 11 files changed, 116 insertions(+), 133 deletions(-) delete mode 100644 .changeset/empty-files-cough.md delete mode 100644 .changeset/fresh-lamps-raise.md delete mode 100644 .changeset/fresh-terms-love.md delete mode 100644 .changeset/green-bobcats-act.md delete mode 100644 .changeset/nice-bats-exist.md delete mode 100644 .changeset/polite-ladybugs-count.md delete mode 100644 .changeset/sharp-worms-rescue.md delete mode 100644 .changeset/young-houses-grow.md diff --git a/.changeset/empty-files-cough.md b/.changeset/empty-files-cough.md deleted file mode 100644 index 523f45d922..0000000000 --- a/.changeset/empty-files-cough.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@adyen/adyen-web': patch ---- - -Resolve the issue where `GooglePayButton` fails to pass `buttonRadius` to the `createButton` function when the value is 0. diff --git a/.changeset/fresh-lamps-raise.md b/.changeset/fresh-lamps-raise.md deleted file mode 100644 index 5c734e6d2c..0000000000 --- a/.changeset/fresh-lamps-raise.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@adyen/adyen-web': minor ---- - -Start tracking API errors for the following endpoints for analytics purposes: -- `/sessions/${session.id}/payments` -- `/sessions/${session.id}/orders` -- `/sessions/${session.id}/paymentDetails` -- `v1/submitThreeDS2Fingerprint` \ No newline at end of file diff --git a/.changeset/fresh-terms-love.md b/.changeset/fresh-terms-love.md deleted file mode 100644 index 4849b47d10..0000000000 --- a/.changeset/fresh-terms-love.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@adyen/adyen-web': patch ---- - -Klarna - Fix issue where Klarna as standalone component didn't initialize the Klarna Widget SDK accordingly diff --git a/.changeset/green-bobcats-act.md b/.changeset/green-bobcats-act.md deleted file mode 100644 index c7e786bb3d..0000000000 --- a/.changeset/green-bobcats-act.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@adyen/adyen-web': patch ---- - -Internal improvement to avoid unnecessary second call of sanitizeResponse during the payment response handling process diff --git a/.changeset/nice-bats-exist.md b/.changeset/nice-bats-exist.md deleted file mode 100644 index 0492deb784..0000000000 --- a/.changeset/nice-bats-exist.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@adyen/adyen-web': patch ---- - -Fixes Click to Pay link looking buttons into proper buttons diff --git a/.changeset/polite-ladybugs-count.md b/.changeset/polite-ladybugs-count.md deleted file mode 100644 index 5cc77b868e..0000000000 --- a/.changeset/polite-ladybugs-count.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@adyen/adyen-web': patch ---- - -Fix the styles for the remove stored card confirmation to ensure responsiveness on smaller devices. \ No newline at end of file diff --git a/.changeset/sharp-worms-rescue.md b/.changeset/sharp-worms-rescue.md deleted file mode 100644 index 39030fb69a..0000000000 --- a/.changeset/sharp-worms-rescue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@adyen/adyen-web': patch ---- - -Improve types for CustomCard diff --git a/.changeset/young-houses-grow.md b/.changeset/young-houses-grow.md deleted file mode 100644 index ff38d963f6..0000000000 --- a/.changeset/young-houses-grow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@adyen/adyen-web': patch ---- - -Adding missing Trustly translations diff --git a/packages/lib/CHANGELOG.md b/packages/lib/CHANGELOG.md index f7339149f3..a24d45bf96 100644 --- a/packages/lib/CHANGELOG.md +++ b/packages/lib/CHANGELOG.md @@ -1,148 +1,175 @@ # @adyen/adyen-web +## 6.7.0 + +### Minor Changes + +- Start tracking API errors for the following endpoints for analytics purposes: ([#3035](https://github.com/Adyen/adyen-web/pull/3035)) + + - `/sessions/${session.id}/payments` + - `/sessions/${session.id}/orders` + - `/sessions/${session.id}/paymentDetails` + - `v1/submitThreeDS2Fingerprint` + +### Patch Changes + +- Resolve the issue where `GooglePayButton` fails to pass `buttonRadius` to the `createButton` function when the value is 0. ([#3039](https://github.com/Adyen/adyen-web/pull/3039)) + +- Klarna - Fix issue where Klarna as standalone component didn't initialize the Klarna Widget SDK accordingly ([#3064](https://github.com/Adyen/adyen-web/pull/3064)) + +- Internal improvement to avoid unnecessary second call of sanitizeResponse during the payment response handling process ([#3015](https://github.com/Adyen/adyen-web/pull/3015)) + +- Fixes Click to Pay link looking buttons into proper buttons ([#3029](https://github.com/Adyen/adyen-web/pull/3029)) + +- Fix the styles for the remove stored card confirmation to ensure responsiveness on smaller devices. ([#3037](https://github.com/Adyen/adyen-web/pull/3037)) + +- Improve types for CustomCard ([#3068](https://github.com/Adyen/adyen-web/pull/3068)) + +- Adding missing Trustly translations ([#3055](https://github.com/Adyen/adyen-web/pull/3055)) + ## 6.6.0 ### Minor Changes -- Updated DonationComponent UI ([#2980](https://github.com/Adyen/adyen-web/pull/2980)) +- Updated DonationComponent UI ([#2980](https://github.com/Adyen/adyen-web/pull/2980)) -- Feat: enable logos for SK and CZ online banking ([#2939](https://github.com/Adyen/adyen-web/pull/2939)) +- Feat: enable logos for SK and CZ online banking ([#2939](https://github.com/Adyen/adyen-web/pull/2939)) ### Patch Changes -- A new barcode endpoint has been created on the backend. This PR generates barCode URLs against that endpoint. ([#2936](https://github.com/Adyen/adyen-web/pull/2936)) +- A new barcode endpoint has been created on the backend. This PR generates barCode URLs against that endpoint. ([#2936](https://github.com/Adyen/adyen-web/pull/2936)) -- Fix bug where Country field and State field where not showing the correct required attribute. ([#2944](https://github.com/Adyen/adyen-web/pull/2944)) +- Fix bug where Country field and State field where not showing the correct required attribute. ([#2944](https://github.com/Adyen/adyen-web/pull/2944)) -- Send redirection error events to analytics. ([#2973](https://github.com/Adyen/adyen-web/pull/2973)) +- Send redirection error events to analytics. ([#2973](https://github.com/Adyen/adyen-web/pull/2973)) -- Add fix to reshow card icon if previously it had failed to load ([#2955](https://github.com/Adyen/adyen-web/pull/2955)) +- Add fix to reshow card icon if previously it had failed to load ([#2955](https://github.com/Adyen/adyen-web/pull/2955)) -- Send `level` field to the analytic `setup` call. If analytics is `enabled`, we send `level` value `all`, otherwise we send `initial`. ([#2933](https://github.com/Adyen/adyen-web/pull/2933)) +- Send `level` field to the analytic `setup` call. If analytics is `enabled`, we send `level` value `all`, otherwise we send `initial`. ([#2933](https://github.com/Adyen/adyen-web/pull/2933)) -- Klarna - Fixed issue where PayLater/PayOverTime payments were not authorized accordingly depending on how the shopper interacted with the Drop-in/Component ([#3007](https://github.com/Adyen/adyen-web/pull/3007)) +- Klarna - Fixed issue where PayLater/PayOverTime payments were not authorized accordingly depending on how the shopper interacted with the Drop-in/Component ([#3007](https://github.com/Adyen/adyen-web/pull/3007)) -- Change WeChat Pay QR countdown translation. ([#3006](https://github.com/Adyen/adyen-web/pull/3006)) +- Change WeChat Pay QR countdown translation. ([#3006](https://github.com/Adyen/adyen-web/pull/3006)) -- Hide the default ACH holder name contextual text. ([#3008](https://github.com/Adyen/adyen-web/pull/3008)) +- Hide the default ACH holder name contextual text. ([#3008](https://github.com/Adyen/adyen-web/pull/3008)) ## 6.5.1 ### Patch Changes -- Fixed issue where onBlur validation didn't fire if year in expiryDate was just one digit ([#2945](https://github.com/Adyen/adyen-web/pull/2945)) +- Fixed issue where onBlur validation didn't fire if year in expiryDate was just one digit ([#2945](https://github.com/Adyen/adyen-web/pull/2945)) ## 6.5.0 ### Minor Changes -- PayMe - Improved instructions UI ([#2910](https://github.com/Adyen/adyen-web/pull/2910)) +- PayMe - Improved instructions UI ([#2910](https://github.com/Adyen/adyen-web/pull/2910)) -- PayNow - Adding instructions to scan QR code on mobile view ([#2910](https://github.com/Adyen/adyen-web/pull/2910)) +- PayNow - Adding instructions to scan QR code on mobile view ([#2910](https://github.com/Adyen/adyen-web/pull/2910)) ### Patch Changes -- Fix issue where 'auto' bundle was tree-shaken by bundlers in prod builds ([#2914](https://github.com/Adyen/adyen-web/pull/2914)) +- Fix issue where 'auto' bundle was tree-shaken by bundlers in prod builds ([#2914](https://github.com/Adyen/adyen-web/pull/2914)) -- Fix address lookup reseting state field after country change ([#2927](https://github.com/Adyen/adyen-web/pull/2927)) +- Fix address lookup reseting state field after country change ([#2927](https://github.com/Adyen/adyen-web/pull/2927)) -- Revert Icelandic Krona to be treated as a currency with minor units, in order to align with our documentation ([#2924](https://github.com/Adyen/adyen-web/pull/2924)) +- Revert Icelandic Krona to be treated as a currency with minor units, in order to align with our documentation ([#2924](https://github.com/Adyen/adyen-web/pull/2924)) -- Fix `UPIComponent` initial value for `isValid`. It should only be default to `true` for UPI QR. ([#2921](https://github.com/Adyen/adyen-web/pull/2921)) +- Fix `UPIComponent` initial value for `isValid`. It should only be default to `true` for UPI QR. ([#2921](https://github.com/Adyen/adyen-web/pull/2921)) -- Lowered ECMAScript version to 2020 in order to support older iOS versions ([#2917](https://github.com/Adyen/adyen-web/pull/2917)) +- Lowered ECMAScript version to 2020 in order to support older iOS versions ([#2917](https://github.com/Adyen/adyen-web/pull/2917)) -- Payconic - Adjusted QR code message and removed unused button label. ([#2910](https://github.com/Adyen/adyen-web/pull/2910)) +- Payconic - Adjusted QR code message and removed unused button label. ([#2910](https://github.com/Adyen/adyen-web/pull/2910)) ## 6.4.0 ### Minor Changes -- All actions lead to a call to the onActionHandled callback. With the exception of 3DS2 actions this callback is always passed the original action object. ([#2892](https://github.com/Adyen/adyen-web/pull/2892)) +- All actions lead to a call to the onActionHandled callback. With the exception of 3DS2 actions this callback is always passed the original action object. ([#2892](https://github.com/Adyen/adyen-web/pull/2892)) -- Adds selector for savings and checking accounts on ACH component ([#2898](https://github.com/Adyen/adyen-web/pull/2898)) +- Adds selector for savings and checking accounts on ACH component ([#2898](https://github.com/Adyen/adyen-web/pull/2898)) -- Export CustomTranslations type ([#2905](https://github.com/Adyen/adyen-web/pull/2905)) +- Export CustomTranslations type ([#2905](https://github.com/Adyen/adyen-web/pull/2905)) ### Patch Changes -- Calling actions.reject() in the beforeSubmit callback should leave the UI in the current state. Fixes situation where it leads to a call to handleFailedResult which ultimately leads to a call to the onPaymentFailed callback and sets the UI to an error state ([#2901](https://github.com/Adyen/adyen-web/pull/2901)) +- Calling actions.reject() in the beforeSubmit callback should leave the UI in the current state. Fixes situation where it leads to a call to handleFailedResult which ultimately leads to a call to the onPaymentFailed callback and sets the UI to an error state ([#2901](https://github.com/Adyen/adyen-web/pull/2901)) -- Small optimisation to only call document.querySelector once, rather than three times ([#2895](https://github.com/Adyen/adyen-web/pull/2895)) +- Small optimisation to only call document.querySelector once, rather than three times ([#2895](https://github.com/Adyen/adyen-web/pull/2895)) -- Added optional chaining operator to postMessage handler function. Fixes issue where 'get-process-message.handler.js' caused exceptions due to stray postMessages without properly formed events ([#2894](https://github.com/Adyen/adyen-web/pull/2894)) +- Added optional chaining operator to postMessage handler function. Fixes issue where 'get-process-message.handler.js' caused exceptions due to stray postMessages without properly formed events ([#2894](https://github.com/Adyen/adyen-web/pull/2894)) ## 6.3.0 ### Minor Changes -- Pay by Bank US now shows whitelabel branding ([#2861](https://github.com/Adyen/adyen-web/pull/2861)) +- Pay by Bank US now shows whitelabel branding ([#2861](https://github.com/Adyen/adyen-web/pull/2861)) ### Patch Changes -- Reporting custom Click to Pay Visa timeouts to Visa SDK ([#2869](https://github.com/Adyen/adyen-web/pull/2869)) +- Reporting custom Click to Pay Visa timeouts to Visa SDK ([#2869](https://github.com/Adyen/adyen-web/pull/2869)) -- Click to Pay - Fixed ENTER keypress behavior ([#2874](https://github.com/Adyen/adyen-web/pull/2874)) +- Click to Pay - Fixed ENTER keypress behavior ([#2874](https://github.com/Adyen/adyen-web/pull/2874)) ## 6.2.0 ### Minor Changes -- Always make call to analytics setup endpoint ([#2838](https://github.com/Adyen/adyen-web/pull/2838)) +- Always make call to analytics setup endpoint ([#2838](https://github.com/Adyen/adyen-web/pull/2838)) ### Patch Changes -- Fixes regression and allows Enter key to validate/submit ([#2837](https://github.com/Adyen/adyen-web/pull/2837)) +- Fixes regression and allows Enter key to validate/submit ([#2837](https://github.com/Adyen/adyen-web/pull/2837)) -- send browserInfo in setup call ([#2847](https://github.com/Adyen/adyen-web/pull/2847)) +- send browserInfo in setup call ([#2847](https://github.com/Adyen/adyen-web/pull/2847)) -- Dropin: Filtering out payment method type before creating the payment method element ([#2852](https://github.com/Adyen/adyen-web/pull/2852)) +- Dropin: Filtering out payment method type before creating the payment method element ([#2852](https://github.com/Adyen/adyen-web/pull/2852)) -- Fixing adyen.css file exposure for Webpack 4 projects ([#2855](https://github.com/Adyen/adyen-web/pull/2855)) +- Fixing adyen.css file exposure for Webpack 4 projects ([#2855](https://github.com/Adyen/adyen-web/pull/2855)) -- Change ApplePaySession type to optional in window interface ([#2836](https://github.com/Adyen/adyen-web/pull/2836)) +- Change ApplePaySession type to optional in window interface ([#2836](https://github.com/Adyen/adyen-web/pull/2836)) -- Fixing reliability Sonarcloud issues related to ApplePayService ([#2846](https://github.com/Adyen/adyen-web/pull/2846)) +- Fixing reliability Sonarcloud issues related to ApplePayService ([#2846](https://github.com/Adyen/adyen-web/pull/2846)) ## 6.1.1 ### Patch Changes -- Fixes Lithuanian postal code to support 4-5 digits and LT prefix ([#2822](https://github.com/Adyen/adyen-web/pull/2822)) +- Fixes Lithuanian postal code to support 4-5 digits and LT prefix ([#2822](https://github.com/Adyen/adyen-web/pull/2822)) -- Improves acessibility removing region on payment method item and button loading state ([#2816](https://github.com/Adyen/adyen-web/pull/2816)) +- Improves acessibility removing region on payment method item and button loading state ([#2816](https://github.com/Adyen/adyen-web/pull/2816)) ## 6.1.0 ### Minor Changes -- Display ANCV ID while displaying used payment methods on Dropin ([#2808](https://github.com/Adyen/adyen-web/pull/2808)) +- Display ANCV ID while displaying used payment methods on Dropin ([#2808](https://github.com/Adyen/adyen-web/pull/2808)) ### Patch Changes -- Adding missing currency information for Iceland and Bulgaria ([#2811](https://github.com/Adyen/adyen-web/pull/2811)) +- Adding missing currency information for Iceland and Bulgaria ([#2811](https://github.com/Adyen/adyen-web/pull/2811)) -- Send certain analytic config data for the `Dropin`. Modify some analytic config data for the `Card`. ([#2794](https://github.com/Adyen/adyen-web/pull/2794)) +- Send certain analytic config data for the `Dropin`. Modify some analytic config data for the `Card`. ([#2794](https://github.com/Adyen/adyen-web/pull/2794)) -- Fixes `props.holderName` not being used in stored cards as `paymetMethod.holderName`. ([#2813](https://github.com/Adyen/adyen-web/pull/2813)) +- Fixes `props.holderName` not being used in stored cards as `paymetMethod.holderName`. ([#2813](https://github.com/Adyen/adyen-web/pull/2813)) ## 6.0.3 ### Patch Changes -- adds privacy link to Riverty ([#2785](https://github.com/Adyen/adyen-web/pull/2785)) +- adds privacy link to Riverty ([#2785](https://github.com/Adyen/adyen-web/pull/2785)) ## 6.0.2 ### Patch Changes -- Fix TS error for UPI `formatProps` ([#2775](https://github.com/Adyen/adyen-web/pull/2775)) +- Fix TS error for UPI `formatProps` ([#2775](https://github.com/Adyen/adyen-web/pull/2775)) ## 6.0.1 ### Patch Changes -- PayPal - Fixed bug where payment wasnt being finalized once the PayPal lightbox closes ([#2771](https://github.com/Adyen/adyen-web/pull/2771)) +- PayPal - Fixed bug where payment wasnt being finalized once the PayPal lightbox closes ([#2771](https://github.com/Adyen/adyen-web/pull/2771)) ## 6.0.0 @@ -150,69 +177,69 @@ ### General -- Drop-in/Components is no longer supported on Internet Explorer 11. -- If you integrate with npm, we've changed how you import Drop-in/Components to reduce the bundle size. -- If you integrate with embedded scripts, we changed how we expose the AdyenCheckout and Drop-in/Components on the window object. -- We've changed how you create an instance of Drop-in or Component. -- For the `onSubmit()` event handler, you now need to resolve/reject an actions object to continue or halt the payment flow. -- For the `onAdditionalDetails()` event handler, you now need to resolve/reject an actions object to continue or halt the payment flow. -- The `onPaymentCompleted()` event is no longer triggered for failed payments, instead the `onPaymentFailed()` event is triggered. -- The `showPayButton` parameter now defaults to true. -- The `onValid()` event is removed. -- The `setStatusAutomatically` prop is no longer supported. If a payment is successful or if it fails, the component is kept in loading state and merchant must handle it accordingly. -- We've changed how you style Drop-in/Components to give you more fine-grained control by using custom CSS properties. Update your CSS styles accordingly. -- The `countryCode` property is now mandatory. It must be set directly in the `AdyenCheckout` configuration object, or in the /sessions request. -- The `showFormInstruction` property is no longer supported. -- When instantiating `AdyenCheckout`, you can no longer set the configuration property `installmentOptions`. It must be set in the Card Component configuration instead. -- You can no longer set the configuration property `paymentMethodsConfiguration` when initializing `AdyenCheckout. Instead, set it in the Drop-in configuration. -- TypeScript types are now imported directly from the root of the package, for example: `import type { CardConfiguration } from '@adyen/adyen-web';` +- Drop-in/Components is no longer supported on Internet Explorer 11. +- If you integrate with npm, we've changed how you import Drop-in/Components to reduce the bundle size. +- If you integrate with embedded scripts, we changed how we expose the AdyenCheckout and Drop-in/Components on the window object. +- We've changed how you create an instance of Drop-in or Component. +- For the `onSubmit()` event handler, you now need to resolve/reject an actions object to continue or halt the payment flow. +- For the `onAdditionalDetails()` event handler, you now need to resolve/reject an actions object to continue or halt the payment flow. +- The `onPaymentCompleted()` event is no longer triggered for failed payments, instead the `onPaymentFailed()` event is triggered. +- The `showPayButton` parameter now defaults to true. +- The `onValid()` event is removed. +- The `setStatusAutomatically` prop is no longer supported. If a payment is successful or if it fails, the component is kept in loading state and merchant must handle it accordingly. +- We've changed how you style Drop-in/Components to give you more fine-grained control by using custom CSS properties. Update your CSS styles accordingly. +- The `countryCode` property is now mandatory. It must be set directly in the `AdyenCheckout` configuration object, or in the /sessions request. +- The `showFormInstruction` property is no longer supported. +- When instantiating `AdyenCheckout`, you can no longer set the configuration property `installmentOptions`. It must be set in the Card Component configuration instead. +- You can no longer set the configuration property `paymentMethodsConfiguration` when initializing `AdyenCheckout. Instead, set it in the Drop-in configuration. +- TypeScript types are now imported directly from the root of the package, for example: `import type { CardConfiguration } from '@adyen/adyen-web';` ### Payment method specific #### Express payment methods -- For Google Pay express, the event handler `onPaymentDataChanged()` now works only when the Component configuration property `isExpress` is set to true. -- For Apple Pay express, the event handlers `onShippingContactSelected()` and `onShippingMethodSelected()` now work only when the Component configuration property `isExpress` is set to true. -- For Paypal Express, the `onShippingChange()` event handler is no longer supported. Migrate to the `onShippingAddressChange()` and `onShippingOptionsChange()` event handlers. -- The `onShopperDetails()` event for PayPal is renamed to `onAuthorized()` and it must be resolved or rejected to finalize the payment. -- For Google Pay, the `isAvailable()` method does not return a boolean flag anymore. Instead, the promise is resolved when the payment is available and rejected otherwise. +- For Google Pay express, the event handler `onPaymentDataChanged()` now works only when the Component configuration property `isExpress` is set to true. +- For Apple Pay express, the event handlers `onShippingContactSelected()` and `onShippingMethodSelected()` now work only when the Component configuration property `isExpress` is set to true. +- For Paypal Express, the `onShippingChange()` event handler is no longer supported. Migrate to the `onShippingAddressChange()` and `onShippingOptionsChange()` event handlers. +- The `onShopperDetails()` event for PayPal is renamed to `onAuthorized()` and it must be resolved or rejected to finalize the payment. +- For Google Pay, the `isAvailable()` method does not return a boolean flag anymore. Instead, the promise is resolved when the payment is available and rejected otherwise. #### Card payment methods -- The Card Component configuration property `showBrandsUnderCardNumber` is no longer supported. -- The `challengeWindowSize` configuration parameter can no longer be set inside a `threeDS2` object within `paymentMethodsConfiguration`. -- The Custom Card Component is renamed from `securedfields` to `CustomCard` and created as: `new CustomCard()` +- The Card Component configuration property `showBrandsUnderCardNumber` is no longer supported. +- The `challengeWindowSize` configuration parameter can no longer be set inside a `threeDS2` object within `paymentMethodsConfiguration`. +- The Custom Card Component is renamed from `securedfields` to `CustomCard` and created as: `new CustomCard()` #### Other payment methods -- For PayPal, the `onCancel()` event handler is no longer supported. To detect when the PayPal lightbox is closed, listen to the `onError()` event with error type `CANCEL`. -- For Klarna, the `token` property is replaced with the `authorization_token` from the `/payments/details` request. -- For Adyen Giving, you now need to integrate with the Giving Campaign Manager Component. -- We no longer support the payment method QiwiWallet. +- For PayPal, the `onCancel()` event handler is no longer supported. To detect when the PayPal lightbox is closed, listen to the `onError()` event with error type `CANCEL`. +- For Klarna, the `token` property is replaced with the `authorization_token` from the `/payments/details` request. +- For Adyen Giving, you now need to integrate with the Giving Campaign Manager Component. +- We no longer support the payment method QiwiWallet. #### Partial payments -- The `onOrderCreated()` event is renamed to `onOrderUpdated()`. +- The `onOrderCreated()` event is renamed to `onOrderUpdated()`. ## New -- `onPaymentMethodsRequest()` is a new event, which is triggered when a partial payment is made and the associated order isn't fully paid. Use the even handler to request payment methods for a new payment. -- `onPaymentFailed()` is a new event, which is triggered when a payment fails. Previously, this event was part of `onPaymentCompleted()`. -- You can now disable the final animation after a successful or failed payment in Drop-in, by setting `disableFinalAnimation` to true. -- Shoppers can now confirm the payment by pressing the Enter key. If the payment has a validation issue, an error is displayed in the Drop-in/Components interface. -- You can customize, or prevent, the Enter keypress behavior by implementing an `onEnterKeyPressed()` event handler on AdyenCheckout. -- We have added support for 6 more locales: Catalan (ca-ES), Icelandic (is-IS), Bulgarian (bg-BG), Estonian (et-EE), Latvian (lv-LV) and Lithuanian (lt-lT). -- We have added support for Apple Pay Order tracking. -- We have added support for tree shaking when integrating through npm. +- `onPaymentMethodsRequest()` is a new event, which is triggered when a partial payment is made and the associated order isn't fully paid. Use the even handler to request payment methods for a new payment. +- `onPaymentFailed()` is a new event, which is triggered when a payment fails. Previously, this event was part of `onPaymentCompleted()`. +- You can now disable the final animation after a successful or failed payment in Drop-in, by setting `disableFinalAnimation` to true. +- Shoppers can now confirm the payment by pressing the Enter key. If the payment has a validation issue, an error is displayed in the Drop-in/Components interface. +- You can customize, or prevent, the Enter keypress behavior by implementing an `onEnterKeyPressed()` event handler on AdyenCheckout. +- We have added support for 6 more locales: Catalan (ca-ES), Icelandic (is-IS), Bulgarian (bg-BG), Estonian (et-EE), Latvian (lv-LV) and Lithuanian (lt-lT). +- We have added support for Apple Pay Order tracking. +- We have added support for tree shaking when integrating through npm. ## Changed -- `onPaymentCompleted()` now works for both Sessions and Advanced flow. -- We have replaced input field placeholder texts with permanently visible contextual elements to enhance the accessibility and UX. You can still apply and customize placeholders. -- For Google Pay and Apple Pay, the `onAuthorized()` event is now triggered before the `onSubmit()` event. The `onAuthorized()` event must be resolved in order to proceed with the payment flow. -- We have improved AVS checks for GooglePay and ApplePay by adding the billing address to `state.data` if available during payment method authorization. -- Drop-in no longer uses radio buttons by default. -- The WeChatPay timer now defaults to 30 minutes. +- `onPaymentCompleted()` now works for both Sessions and Advanced flow. +- We have replaced input field placeholder texts with permanently visible contextual elements to enhance the accessibility and UX. You can still apply and customize placeholders. +- For Google Pay and Apple Pay, the `onAuthorized()` event is now triggered before the `onSubmit()` event. The `onAuthorized()` event must be resolved in order to proceed with the payment flow. +- We have improved AVS checks for GooglePay and ApplePay by adding the billing address to `state.data` if available during payment method authorization. +- Drop-in no longer uses radio buttons by default. +- The WeChatPay timer now defaults to 30 minutes. ## Updating to this version diff --git a/packages/lib/package.json b/packages/lib/package.json index df37c87d95..febae75617 100644 --- a/packages/lib/package.json +++ b/packages/lib/package.json @@ -1,6 +1,6 @@ { "name": "@adyen/adyen-web", - "version": "6.6.0", + "version": "6.7.0", "license": "MIT", "homepage": "https://docs.adyen.com/checkout", "type": "module", diff --git a/packages/playground/package.json b/packages/playground/package.json index 5a2e6e6db8..729ec15497 100644 --- a/packages/playground/package.json +++ b/packages/playground/package.json @@ -41,6 +41,6 @@ "whatwg-fetch": "^3.6.2" }, "dependencies": { - "@adyen/adyen-web": "6.6.0" + "@adyen/adyen-web": "6.7.0" } }