Skip to content

Commit

Permalink
Merge pull request #390 from Adyen/release/4.0.0-beta03
Browse files Browse the repository at this point in the history
Release 4.0.0-beta03
  • Loading branch information
caiofaustino authored May 19, 2021
2 parents 96f6e42 + baef2f1 commit de38c23
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
25 changes: 20 additions & 5 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,33 @@
[//]: # (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.
- 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: `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.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit de38c23

Please sign in to comment.