Skip to content

Commit

Permalink
Prepare release 5.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgur00 committed Oct 11, 2024
1 parent e43f1bf commit 4e7f7ee
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 30 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.6.0"
implementation "com.adyen.checkout:drop-in-compose:5.7.0"
```
For the Credit Card component:
```groovy
implementation "com.adyen.checkout:card:5.6.0"
implementation "com.adyen.checkout:components-compose:5.6.0"
implementation "com.adyen.checkout:card:5.7.0"
implementation "com.adyen.checkout:components-compose:5.7.0"
```

### Without Jetpack Compose

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

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

## New
- 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).
- French meal vouchers are now available with the following payment method types. See the documentation [here](/docs/payment-methods/FRENCH_MEAL_VOUCHER.md).
- Up. Payment method type: **mealVoucher_FR_groupeup**.
- Natixis. Payment method type: **mealVoucher_FR_natixis**.
- Sodexo. Payment method type: **mealVoucher_FR_sodexo**.
- For API only merchants, `CardNumberValidator`, `CardExpiryDateValidator` and `CardSecurityCodeValidator` classes are added to make validation functionality for the corresponding fields available to public.
- For Twint, storing payment details and paying with them is now supported. See the documentation [here](/docs/payment-methods/TWINT.md).
- You can now use [Adyen Test Cards Android](https://github.com/Adyen/adyen-testcards-android) to prefill test payment method information, making testing your integration easier.

- You can now use [Adyen Test Cards Android](https://github.com/Adyen/adyen-testcards-android) to prefill test payment method information, to test your integration more quickly.
- For Twint:
> [!WARNING]
> For the Twint component integration, you are now required to use `TwintComponent` instead of `InstantPaymentComponent`. See the [documentation](/docs/payment-methods/TWINT.md) to find out the details.
> For Twint Components integrations, you must now use [`TwintComponent`](/docs/payment-methods/TWINT.md#stored-twint-payments) instead of `InstantPaymentComponent`.
- You can now [store payment details](/docs/payment-methods/TWINT.md#optional-configurations) and [pay with stored payment details](/docs/payment-methods/TWINT.md#stored-twint-payments).
- For French meal vouchers, the following payment method types are now available:
- Up. Payment method type: **mealVoucher_FR_groupeup**.
- Natixis. Payment method type: **mealVoucher_FR_natixis**.
- Sodexo. Payment method type: **mealVoucher_FR_sodexo**.
Learn to [configure French meal vouchers](/docs/payment-methods/FRENCH_MEAL_VOUCHER.md).
- For [API-only integrations with encrypted card details](https://docs.adyen.com/payment-methods/cards/custom-card-integration/?tab=candroid_3), you can now use the following classes to validate corresponding fields:

| Class | Description |
|-----------------------------|------------------------------------|
| `CardNumberValidator` | Validates the card number field. |
| `CardExpiryDateValidator` | Validates the expiry date field. |
| `CardSecurityCodeValidator` | Validates the security code field. |

- Support for the following locales:

| Locale | Values |
|------------|-----------|
| Catalan | **ca-ES** |
| Icelandic | **is-IS** |
| Bulgarian | **bg-BG** |
| Estonian | **et-EE** |
| Latvian | **lv-LV** |
| Lithuanian | **lt-lT** |

## Improved
- For UPI Intent an error message will be shown when "Continue" button is pressed without selecting
any UPI option.
- For drop-in, improved accessibility of back/close button in the navigation bar.
- For UPI Intent, if the shopper selects the **Continue** button without selecting an UPI option, an error message now shows.
- For Drop-in, in the navigation bar, the accessibility of the **Back/Close** button is improved.

## Changed
- For drop-in, headers of preselected stored payment screen and payment methods list screen are
updated.
- For Drop-in, headers of preselected stored payment screen and payment methods list screen are updated.
- Dependency versions:
| Name | Version |
|--------------------------------------------------------------------------------------------------------|-------------------------------|
| [Adyen 3DS2](https://github.com/Adyen/adyen-3ds2-android/releases/tag/2.2.20) | **2.2.20** |
| [Cash App Pay](https://github.com/cashapp/cash-app-pay-android-sdk/releases/tag/v2.5.0) | **2.5.0** |
| [Android Gradle Plugin](https://developer.android.com/build/releases/past-releases/agp-8-5-0-release-notes#android-gradle-plugin-8.5.1) | **8.5.1** |
| [AndroidX Fragment](https://developer.android.com/jetpack/androidx/releases/fragment#1.8.3) | **1.8.3** |
| [AndroidX Activity](https://developer.android.com/jetpack/androidx/releases/activity#1.9.2) | **1.9.2** |
| [AndroidX Compose Activity](https://developer.android.com/jetpack/androidx/releases/activity#1.9.2) | **1.9.2** |
| [AndroidX Compose BOM](https://developer.android.com/develop/ui/compose/bom/bom-mapping) | **2024.06.00** |
| [AndroidX Lifecycle](https://developer.android.com/jetpack/androidx/releases/lifecycle#2.8.3) | **2.8.3** |
| [AndroidX Lifecycle ViewModel Compose](https://developer.android.com/jetpack/androidx/releases/lifecycle#2.8.3) | **2.8.3** |
| [AndroidX AppCompat](https://developer.android.com/jetpack/androidx/releases/appcompat#1.7.0) | **1.7.0** |


## Fixed
- JSON deserialization no longer returns the coerced `"null"` string when parsing JSON objects with explicit null values.
- When parsing JSON objects with explicit null values, JSON deserialization no longer returns the coerced `null` string.

## Deprecated
- The style for payment method list headers has been changed.
| Previous | Now |
|------------------------------------------|------------------------------------------|
| AdyenCheckout.TextAppearance.HeaderTitle | AdyenCheckout.TextAppearance.HeaderLabel |
- `com.adyen.checkout.instant.ActionHandlingMethod` is moved to `com.adyen.checkout.components.core.ActionHandlingMethod`
- The style for payment method list headers. Use the new style instead.

| Previous | Now |
|--------------------------------------------|--------------------------------------------|
| `AdyenCheckout.TextAppearance.HeaderTitle` | `AdyenCheckout.TextAppearance.HeaderLabel` |

- The `com.adyen.checkout.instant.ActionHandlingMethod` method. Use the new method instead.

| Previous | Now |
|---------------------------------------------------|-----------------------------------------------------------|
| `com.adyen.checkout.instant.ActionHandlingMethod` | `com.adyen.checkout.components.core.ActionHandlingMethod` |
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.6.0"
version_name = "5.7.0"

// Build Script
android_gradle_plugin_version = '8.5.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.6.0"
// implementation "com.adyen.checkout:components-compose:5.6.0"
// implementation "com.adyen.checkout:drop-in:5.7.0"
// implementation "com.adyen.checkout:components-compose:5.7.0"

// Dependencies
implementation libraries.kotlinCoroutines
Expand Down

0 comments on commit 4e7f7ee

Please sign in to comment.