From 000fe0d1b6b05b9cf6bf99e8440aec9748ed74d5 Mon Sep 17 00:00:00 2001 From: Caio Faustino Date: Wed, 12 May 2021 14:37:04 +0200 Subject: [PATCH 1/2] Release 4.0.0-beta03 --- RELEASE_NOTES.md | 23 ++++++++++++++++++----- build.gradle | 2 +- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 45f6837cef..eb72af874b 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,18 +1,31 @@ [//]: # (This file will be used for the release notes on GitHub when publishing.) [//]: # (Types of changes: `Added` `Changed` `Deprecated` `Removed` `Fixed` `Security`) [//]: # (Example:) -[//]: # (### Added) +[//]: # (## Added) [//]: # ( - New payment method) -[//]: # ( ### Changed) +[//]: # (## Changed) [//]: # ( - DropIn service's package changed from `com.adyen.dropin` to `com.adyen.dropin.services`) -[//]: # ( ### Deprecated) +[//]: # ( # Deprecated) [//]: # ( - Configurations public constructor are deprecated, please use each Configuration's builder to make a Configuration object) ## Added -- Return `returnUrlQueryString` from redirect URL for some redirect payment methods like Swish. +- Support for Pix payment method. +- `QRCodeComponent` to handle action type `qrCode` from payment method `pix`. + - Support for other payment methods with a qrCode action will be added in the future. +- Support for returning `returnUrlQueryString` from redirect URL for some redirect payment methods like Swish. ## Changed -- Updated Material Components dependency to 1.3.0. +- New releases are now published to [Maven Central](https://repo1.maven.org/maven2/com/adyen/checkout/) +- A `Configuration` object is now required when initializing any component. Action Components did not require it previously. - Provided default `GooglePayConfiguration` and `CardConfiguration` in Drop-in. It's not required to manually set these configurations in `DropInConfiguration.Builder` anymore. - The default Google Pay environment will automatically follow the Adyen environment. It will be initialized as `ENVIRONMENT_TEST` when using Adyen's `TEST` environment, otherwise it will be set to `ENVIRONMENT_PRODUCTION`. - The `merchantAccount` parameter in `GooglePayConfiguration.Builder` is now optional. You can remove it from the builder constructor, or use `GooglePayConfiguration.Builder.setMerchantAccount` if you need to pass it manually. +- Updated 3DS2 SDK to version 2.2.2 +- Updated Material Components dependency to 1.3.0. + +## Fixed +- Passing `threeDSRequestorAppURL` to the SDK in the 3DS2 Component only when protocol version is 2.2.0 or higher since this is not expected in 2.1.0 +- Style in TextInputLayout where in some scenarios text color would be too light and hard to see. + +## Removed +- `WeChatPayComponent` since it didn't have any function. Instead you can simply check if the App is available by calling: `WeChatPayUtils.isAvailable(applicationContext)` \ No newline at end of file diff --git a/build.gradle b/build.gradle index d15ab79fdc..7f9e7ef830 100644 --- a/build.gradle +++ b/build.gradle @@ -43,7 +43,7 @@ allprojects { // just for example app, don't need to increment ext.version_code = 1 // The version_name format is "major.minor.patch(-(alpha|beta|rc)[0-9]{2}){0,1}" (e.g. 3.0.0, 3.1.1-alpha04 or 3.1.4-rc01 etc). - ext.version_name = "4.0.0-beta02" + ext.version_name = "4.0.0-beta03" // Code quality ext.ktlint_version = '0.40.0' From baef2f1434e9529b0a7440e72b0994bd5c34c05c Mon Sep 17 00:00:00 2001 From: jreij Date: Tue, 18 May 2021 17:12:44 +0200 Subject: [PATCH 2/2] Update release notes --- RELEASE_NOTES.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index eb72af874b..3470bb0cbe 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -22,10 +22,12 @@ - The `merchantAccount` parameter in `GooglePayConfiguration.Builder` is now optional. You can remove it from the builder constructor, or use `GooglePayConfiguration.Builder.setMerchantAccount` if you need to pass it manually. - Updated 3DS2 SDK to version 2.2.2 - Updated Material Components dependency to 1.3.0. +- Screenshots are now allowed in Debug builds, when the Card component is displayed. ## Fixed - Passing `threeDSRequestorAppURL` to the SDK in the 3DS2 Component only when protocol version is 2.2.0 or higher since this is not expected in 2.1.0 - Style in TextInputLayout where in some scenarios text color would be too light and hard to see. ## Removed -- `WeChatPayComponent` since it didn't have any function. Instead you can simply check if the App is available by calling: `WeChatPayUtils.isAvailable(applicationContext)` \ No newline at end of file +- `WeChatPayComponent` since it didn't have any function. Instead you can simply check if the App is available by calling: `WeChatPayProvider.isAvailable`. +- `PaymentComponentProvider.isAvailable` since most payment methods are always available. Replaced it with `PaymentMethodAvailabilityCheck`, only implemented for methods that need to check for availability. \ No newline at end of file