Skip to content

Commit 0eace0c

Browse files
PX-2804 Release 4.0.1 (#24)
1 parent 00d355b commit 0eace0c

File tree

5 files changed

+105
-7
lines changed

5 files changed

+105
-7
lines changed

MigrateTo3.8.0.md

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,4 +665,52 @@ The Java version has been downgraded from 19 to 17 to allow more flexibility for
665665
jvmTarget = 17
666666
sourceCompatibility = JavaVersion.VERSION_17
667667
targetCompatibility = JavaVersion.VERSION_17
668-
```
668+
```
669+
670+
# Version 4.0.1
671+
672+
- A new, gorgeous, conversion-driven UI in parity with the 2025 TrueLayer Web Hosted Payments Page, with the following new features available automatically
673+
for all GBP and EUR single payments:
674+
- A single-screen, modern, declarative UI system under the hood, allowing for smooth transitions and overall snappier look and feel.
675+
- Retries: allow your users to change bank on the fly, or retry failed payments without restarting the SDK.
676+
- Cancellation screen streamlining: more insight on why users are abandoning their payments.
677+
- Preselected providers for returning users: automatically select the last used provider, allowing for faster one-click payments and more engaged, better converting users.
678+
679+
The following requests do not support the New UI and will fallback onto the legacy UI, as seen in versions 3.9.1 and below:
680+
- Mandates / recurring payments
681+
- EUR payments for countries other than Ireland
682+
683+
Contains minor bug fixes, improvements and underlying library updates.
684+
The update from version 3.8.0, 3.9.x to version 4.0.1 should be seamless.
685+
686+
This version is set to use:
687+
- `kotlin` : `2.1.20`
688+
- `compose-bom` : `2025.06.01`
689+
- `desugaring` : `2.1.5`
690+
- `androidx.datastore.datastore-preferences` : `1.1.7`
691+
692+
Other libraries have been updated:
693+
694+
- `androidx.activity.activity-compose` : `1.10.1`
695+
- `androidx.appcompat.appcompat` : `1.7.1`
696+
- `androidx.compose.runtime.runtime-tracing` : `1.8.3`
697+
- `androidx.core.core-ktx` : `1.16.0`
698+
- `androidx.fragment.fragment-ktx` : `1.8.8`
699+
- `androidx.lifecycle.lifecycle-livedata-ktx` : `2.9.1`
700+
- `androidx.lifecycle.lifecycle-runtime-compose-android` : `2.9.1`
701+
- `androidx.lifecycle.lifecycle-runtime-ktx` : `2.9.1`
702+
- `androidx.lifecycle.lifecycle-viewmodel-compose` : `2.9.1`
703+
- `androidx.lifecycle.lifecycle-viewmodel-ktx` : `2.9.1`
704+
- `androidx.navigation.navigation-compose` : `2.9.1`
705+
- `androidx.room.room-compiler` : `2.7.1`
706+
- `androidx.room.room-ktx` : `2.7.1`
707+
- `androidx.room.room-runtime` : `2.7.1`
708+
- `androidx.work.work-multiprocess` : `2.10.2`
709+
- `androidx.work.work-runtime-ktx` : `2.10.2`
710+
- `com.android.tools.desugar_jdk_libs` : `2.1.5`
711+
- `io.coil-kt.coil-compose` : `2.7.0`
712+
- `io.coil-kt.coil-svg` : `2.7.0`
713+
- `io.coil-kt.coil` : `2.7.0`
714+
- `org.jetbrains.kotlinx.kotlinx-coroutines-android` : `1.10.2`
715+
- `org.jetbrains.kotlinx.kotlinx-coroutines-core` : `1.10.2`
716+
- `org.jetbrains.kotlinx.kotlinx-coroutines-test` : `1.10.2`

README.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,54 @@ sourceCompatibility = JavaVersion.VERSION_17
5353
targetCompatibility = JavaVersion.VERSION_17
5454
```
5555

56+
## Version 4.0.1
57+
58+
- A new, gorgeous, conversion-driven UI in parity with the 2025 TrueLayer Web Hosted Payments Page, with the following new features available automatically
59+
for all GBP and EUR single payments:
60+
- A single-screen, modern, declarative UI system under the hood, allowing for smooth transitions and overall snappier look and feel.
61+
- Retries: allow your users to change bank on the fly, or retry failed payments without restarting the SDK.
62+
- Cancellation screen streamlining: more insight on why users are abandoning their payments.
63+
- Preselected providers for returning users: automatically select the last used provider, allowing for faster one-click payments and more engaged, better converting users.
64+
65+
The following requests do not support the New UI and will fallback onto the legacy UI, as seen in versions 3.9.1 and below:
66+
- Mandates / recurring payments
67+
- EUR payments for countries other than Ireland
68+
69+
Contains minor bug fixes, improvements and underlying library updates.
70+
The update from version 3.8.0, 3.9.x to version 4.0.1 should be seamless.
71+
72+
This version is set to use:
73+
- `kotlin` : `2.1.20`
74+
- `compose-bom` : `2025.06.01`
75+
- `desugaring` : `2.1.5`
76+
- `androidx.datastore.datastore-preferences` : `1.1.7`
77+
78+
Other libraries have been updated:
79+
80+
- `androidx.activity.activity-compose` : `1.10.1`
81+
- `androidx.appcompat.appcompat` : `1.7.1`
82+
- `androidx.compose.runtime.runtime-tracing` : `1.8.3`
83+
- `androidx.core.core-ktx` : `1.16.0`
84+
- `androidx.fragment.fragment-ktx` : `1.8.8`
85+
- `androidx.lifecycle.lifecycle-livedata-ktx` : `2.9.1`
86+
- `androidx.lifecycle.lifecycle-runtime-compose-android` : `2.9.1`
87+
- `androidx.lifecycle.lifecycle-runtime-ktx` : `2.9.1`
88+
- `androidx.lifecycle.lifecycle-viewmodel-compose` : `2.9.1`
89+
- `androidx.lifecycle.lifecycle-viewmodel-ktx` : `2.9.1`
90+
- `androidx.navigation.navigation-compose` : `2.9.1`
91+
- `androidx.room.room-compiler` : `2.7.1`
92+
- `androidx.room.room-ktx` : `2.7.1`
93+
- `androidx.room.room-runtime` : `2.7.1`
94+
- `androidx.work.work-multiprocess` : `2.10.2`
95+
- `androidx.work.work-runtime-ktx` : `2.10.2`
96+
- `com.android.tools.desugar_jdk_libs` : `2.1.5`
97+
- `io.coil-kt.coil-compose` : `2.7.0`
98+
- `io.coil-kt.coil-svg` : `2.7.0`
99+
- `io.coil-kt.coil` : `2.7.0`
100+
- `org.jetbrains.kotlinx.kotlinx-coroutines-android` : `1.10.2`
101+
- `org.jetbrains.kotlinx.kotlinx-coroutines-core` : `1.10.2`
102+
- `org.jetbrains.kotlinx.kotlinx-coroutines-test` : `1.10.2`
103+
56104
## How does the payment flow with the SDK works?
57105

58106
```mermaid

app/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ plugins {
22
id 'com.android.application'
33
id 'org.jetbrains.kotlin.android'
44
id 'org.jetbrains.kotlin.plugin.serialization' version "$kotlin_version"
5+
id 'org.jetbrains.kotlin.plugin.compose'
56
}
67

78
def localProperties = new Properties()
@@ -72,5 +73,5 @@ dependencies {
7273
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:$json_serialization_version"
7374
implementation "com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:$retrofit2_kotlinx_serialization"
7475

75-
implementation "com.truelayer.payments:ui:3.9.1"
76+
implementation "com.truelayer.payments:ui:4.0.1"
7677
}

build.gradle

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
buildscript {
22
ext {
3-
compose_bom = "2024.11.00"
3+
compose_bom = "2025.06.01"
44
activity_compose = "1.9.3"
55
compose_compiler_version = "1.5.15"
66
appcompat_version = "1.7.0"
77
json_serialization_version = "1.6.3"
8-
kotlin_version = "1.9.25"
8+
kotlin_version = "2.1.20"
99
lifecycle_version = "2.8.7"
1010
material_version = "1.12.0"
1111
retrofit2_kotlinx_serialization = "1.0.0"
12-
desugar_jdk_libs = "2.1.3"
12+
desugar_jdk_libs = "2.1.5"
1313
}
1414
}// Top-level build file where you can add configuration options common to all sub-projects/modules.
1515
plugins {
16-
id 'com.android.application' version '8.7.3' apply false
16+
id 'com.android.application' version '8.13.0' apply false
1717
id 'com.android.library' version '8.3.2' apply false
1818
id 'org.jetbrains.kotlin.android' version "$kotlin_version" apply false
19+
id 'org.jetbrains.kotlin.plugin.compose' version "$kotlin_version" apply false// this version matches your Kotlin version
1920
}
2021

2122
tasks.register('clean', Delete) {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Wed Jul 13 09:51:06 BST 2022
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)