Skip to content

Commit

Permalink
Merge pull request #1693 from Adyen/release/5.6.0
Browse files Browse the repository at this point in the history
Preparing release 5.6.0
  • Loading branch information
jreij authored Jul 9, 2024
2 parents 1fcf498 + 1dad197 commit 7e5b3aa
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 10 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,23 @@ Import the corresponding module in your `build.gradle` file.

For Drop-in:
```groovy
implementation "com.adyen.checkout:drop-in-compose:5.5.0"
implementation "com.adyen.checkout:drop-in-compose:5.6.0"
```
For the Credit Card component:
```groovy
implementation "com.adyen.checkout:card:5.5.0"
implementation "com.adyen.checkout:components-compose:5.5.0"
implementation "com.adyen.checkout:card:5.6.0"
implementation "com.adyen.checkout:components-compose:5.6.0"
```

### Without Jetpack Compose

For Drop-in:
```groovy
implementation "com.adyen.checkout:drop-in:5.5.0"
implementation "com.adyen.checkout:drop-in:5.6.0"
```
For the Credit Card component:
```groovy
implementation "com.adyen.checkout:card:5.5.0"
implementation "com.adyen.checkout:card:5.6.0"
```

The library is available on [Maven Central][mavenRepo].
Expand Down
16 changes: 14 additions & 2 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,19 @@
[//]: # ( - Configurations public constructor are deprecated, please use each Configuration's builder to make a Configuration object)

## New
- For Google Pay with the advanced flow, `onSubmit` now returns `threeDS2SdkVersion` inside the `paymentMethod` object. Forward this field to `/payments` to ensure the native 3DS2 flow is triggered properly.
- For Google Pay on Advanced flow, `onSubmit` now returns`threeDS2SdkVersion` in the `paymentMethod` object that you must pass in your [`/payments`](https://docs.adyen.com/api-explorer/Checkout/71/post/payments) request to correctly trigger the 3D Secure 2 flow.

## Fixed
- When using components or when using drop-in and excluding a module, R8 will no longer fail with `[CIRCULAR REFERENCE: com.android.tools.r8.utils.b: Missing class...`
- On Android API versions 21 to 25, the `NoSuchMethodError` no longer occurs during the 3D Secure 2 challenge flow.
- When [using R8 to shrink your code](https://developer.android.com/build/shrink-code), `CIRCULAR REFERENCE: com.android.tools.r8.utils.b: Missing class...` errors no longer occur.

## Changed
- Dependency versions:
| Name | Version |
|--------------------------------------------------------------------------------------------------------------|-------------------------------|
| [Adyen 3DS2](https://github.com/Adyen/adyen-3ds2-android/releases/tag/2.2.19) | **2.2.19** |
| [Kotlin](https://github.com/JetBrains/kotlin/releases/tag/v1.9.24) | **1.9.24** |
| [Android Gradle plugin](https://developer.android.com/build/releases/gradle-plugin) | **8.4.1** |
| [AndroidX Compose Compiler](https://developer.android.com/jetpack/androidx/releases/compose-compiler#1.5.14) | **1.5.14** |
| [Kotlin coroutines](https://github.com/Kotlin/kotlinx.coroutines/releases/tag/1.8.1) | **1.8.1** |
| [AndroidX Fragment](https://developer.android.com/jetpack/androidx/releases/fragment#1.7.1) | **1.7.1** |
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ext {
// just for example app, don't need to increment
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).
version_name = "5.5.0"
version_name = "5.6.0"

// Build Script
android_gradle_plugin_version = '8.4.1'
Expand Down
4 changes: 2 additions & 2 deletions example-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ dependencies {
// Checkout
implementation project(':drop-in')
implementation project(':components-compose')
// implementation "com.adyen.checkout:drop-in:5.5.0"
// implementation "com.adyen.checkout:components-compose:5.5.0"
// implementation "com.adyen.checkout:drop-in:5.6.0"
// implementation "com.adyen.checkout:components-compose:5.6.0"

// Dependencies
implementation libraries.kotlinCoroutines
Expand Down

0 comments on commit 7e5b3aa

Please sign in to comment.