Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preparing release 5.5.0 #1669

Merged
merged 2 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.4.0"
implementation "com.adyen.checkout:drop-in-compose:5.5.0"
```
For the Credit Card component:
```groovy
implementation "com.adyen.checkout:card:5.4.0"
implementation "com.adyen.checkout:components-compose:5.4.0"
implementation "com.adyen.checkout:card:5.5.0"
implementation "com.adyen.checkout:components-compose:5.5.0"
```

### Without Jetpack Compose

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

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

## New
- UPI now supports `upi_intent` payment apps.
- Support for the UPI Intent flow, where the shopper can choose a UPI app to pay through. They are redirected to and complete the payment on the selected app.
- The new iDEAL payment flow where the shopper is redirected to the iDEAL payment page to select their bank and authorize the payment.
- Autofill support for:
- Gift cards number and PIN fields
- UPI Virtual Payments Address field
- Address input fields (improved)

## Improved
- Drop-in navigation:
- Added the top navigation bar.
- Disabled the dragging gesture that caused Drop-in to be dismissed.
- When the shopper navigates back from an additional action screen (for example Await), Drop-in is dismissed.

- Autofill support for the following:
- For gift cards, the gift card number and PIN fields.
- For UPI Virtual Payments, the address field.
- For payment methods that use them, the address input fields.

## Changed
- Drop-in navigation improvements:
- Top navigation has been added
- Dragging gesture has been disabled which caused Drop-in to dismiss
- Going back from actions dismisses Drop-in
- Dependency versions:
| Name | Version |
|--------------------------------------------------------------------------------------------------------------|-------------------------------|
| [AndroidX Compose BoM](https://developer.android.com/develop/ui/compose/bom/bom-mapping) | **2024.05.00** |
| [AndroidX Lifecycle](https://developer.android.com/jetpack/androidx/releases/lifecycle#2.8.2) | **2.8.2** |
| [Material Design](https://github.com/material-components/material-components-android/releases/tag/1.12.0/) | **1.12.0** |

## Deprecated
We recommend that you remove the following from your integration.
- For `IdealComponent`:
- `isConfirmationRequired()` can be removed.
- `submit()` can be removed.
- When configuring iDEAL:
- `setViewType`, `setHideIssuerLogos` and `setSubmitButtonVisible` can be removed.
- `isConfirmationRequired()`
- `submit()`
- For iDEAL configuration:
- `setViewType()`
- `setHideIssuerLogos()`
- `setSubmitButtonVisible()`
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.4.0"
version_name = "5.5.0"

// Build Script
android_gradle_plugin_version = '8.3.2'
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.4.0"
// implementation "com.adyen.checkout:components-compose:5.4.0"
// implementation "com.adyen.checkout:drop-in:5.5.0"
// implementation "com.adyen.checkout:components-compose:5.5.0"

// Dependencies
implementation libraries.kotlinCoroutines
Expand Down