Skip to content

Commit

Permalink
Merge pull request #1048 from Adyen/release/4.10.0
Browse files Browse the repository at this point in the history
Release 4.10.0 🎉
  • Loading branch information
etman55 authored Feb 7, 2023
2 parents d38c967 + 70e5415 commit 6ced10d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ If you are upgrading from 3.x.x to a current release, check out our [migration g
Import the Component module for the Payment Method you want to use by adding it to your `build.gradle` file.
For example, for the Drop-in solution you should add:
```groovy
implementation "com.adyen.checkout:drop-in:4.9.1"
implementation "com.adyen.checkout:drop-in:4.10.0"
```
For a Credit Card component you should add:
```groovy
implementation "com.adyen.checkout:card:4.9.1"
implementation "com.adyen.checkout:card:4.10.0"
```

### Client Key
Expand Down
25 changes: 17 additions & 8 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,31 @@
[//]: # ( # Deprecated)
[//]: # ( - Configurations public constructor are deprecated, please use each Configuration's builder to make a Configuration object)

# New
* We added `CardBrand`, along with `CardType`, to use when adding new card brands through `CardConfiguration`.
* In `CardConfiguration` when adding supported card types you can now add new supported card types which are not part of `CardType`.
example:
## New
* The `CardComponentState.binValue` now reports 8 digit bins in case of card numbers with 16 or more digits.
* The new `CardBrand` class can be used to define unknown card brands. This can be used along with `CardType`.
* When adding new card brands through `CardConfiguration`, you can now use the new `CardBrand`to add brands that are not already defined in `CardType`.
For example:

```kotlin
CardConfiguration.Builder([SHOPPER_LOCALE], [ENVIRONMENT], [CLIENT_KEY])
.setSupportedCardTypes(CardBrand(txVariant = "[CARD_BRAND1]"), CardBrand(txVariant = "[CARD_BRAND2]"))
.build()
```

## Changed
* Upgraded the 3D Secure 2 SDK version to v2.2.11.
* Upgraded `compileSdkVersion` and `targetSdkVersion` to 32.
* Upgraded Kotlin version to 1.6.21.
* Upgraded Kotlin coroutines version to 1.6.1.
* Upgraded Fragment version to 1.5.5.
* Upgraded AppCompat version to 1.5.1.

## Fixed
* Undefined supported card types now works correctly for card component/drop-in.
`CardType.UNKNOWN` was not working correctly when there were supported card brands coming from `/paymentMethods`, under `scheme` payment method,
which are not part of `CardType` predefined brands, so we had to add `CardBrand` to make these undefined supported card types work.
* For cards, you can now add unknown card types that aren't defined in `CardType`. Previously,
`CardType.UNKNOWN` was not working correctly.
* There is no longer a conflict with the 3D Secure 2 SDK that causes a runtime exception. This fixes the [known issue in v4.9.0.](https://github.com/Adyen/adyen-android/releases/tag/4.9.0)

## Deprecated
* The `CardType.UNKNOWN` property. Use `CardBrand(txVariant = "[CARD_BRAND]")` instead.
* The `CardType.setTxVariant()` method. No longer needed as it was used with `CardType.UNKNOWN`
* The `CardType.setTxVariant()` method. No longer needed as it was used with `CardType.UNKNOWN`.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,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.9.1"
ext.version_name = "4.10.0"

// Code quality
ext.ktlint_version = '0.40.0'
Expand Down
2 changes: 1 addition & 1 deletion example-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ android {
dependencies {
// Checkout
implementation project(':drop-in')
// implementation "com.adyen.checkout:drop-in:4.9.1"
// implementation "com.adyen.checkout:drop-in:4.10.0"

// Dependencies
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinx_version"
Expand Down

0 comments on commit 6ced10d

Please sign in to comment.