Releases: paypal/paypal-android
Releases · paypal/paypal-android
2.2.0
- CardPayments
- Migrate
CardClient.presentAuthChallenge()
method to take a plainActivity
reference instead of aComponentActivity
reference
- Migrate
- PayPalWebPayments
- Fix breaking change bug where
PayPalPresentAuthChallengeResult.authState
was marked asinternal
- Migrate
PayPalWebCheckoutClient.start()
method to take a plainActivity
reference instead of aComponentActivity
reference - Migrate
PayPalWebCheckoutClient.vault()
method to take a plainActivity
reference instead of aComponentActivity
reference
- Fix breaking change bug where
2.1.2
- PayPalWebPayments
- Add
PayPalWebCheckoutClient.finishStart(intent: Intent)
method- Deprecate
PayPalWebCheckoutClient.finishStart(intent: Intent, authState: String)
method
- Deprecate
- Add
PayPalWebCheckoutClient.finishVault(intent: Intent)
method- Deprecate
PayPalWebCheckoutClient.finishVault(intent: Intent, authState: String)
method
- Deprecate
- Add
PayPalWebCheckoutClient.instanceState
property - Add
PayPalWebCheckoutClient.restore(instanceState: String)
method
- Add
- CardPayments
- Add
CardClient.finishApproveOrder(intent: Intent)
method- Deprecate
CardClient.finishApproveOrder(intent: Intent, authState: String)
method
- Deprecate
- Add
CardClient.finishVault(intent: Intent)
method- Deprecate
CardClient.finishVault(intent: Intent, authState: String)
method
- Deprecate
- Add
CardClient.instanceState
property - Add
CardClient.restore(instanceState: String)
method - Deprecate
CardPresentAuthChalengeResult.authState
property - Deprecate
PayPalPresentAuthChallengeResult.authState
property
- Add
2.0.1
- PayPalWebPayments
- Fix issue with
PayPalWebCheckoutClient.finishStart()
that caused explicit user cancelation to return aFailure
event, instead ofCanceled
- Fix issue with
PayPalWebCheckoutClient.finishVault()
that caused explicit user cancelation ro return aSuccess
event, instead ofCanceled
- Fix issue with
2.0.0
- Breaking Changes
- PayPalNativePayments
- Remove entire PayPalNativePayments module
- CardPayments
- Remove
CardClient(FragmentActivity, Config)
constructor - Add
CardClient(Context, Config)
constructor - Remove
CardClient.approveOrder(FragmentActivity, CardRequest)
method - Add
CardClient.approveOrder(CardRequest)
method - Remove
CardClient.presentAuthChallenge(FragmentActivity, CardAuthChallenge)
method - Add
CardClient.presentAuthChallenge(ComponentActivity, CardAuthChallenge)
method - Add
CardPresentAuthChallengeResult
type - Add
CardClient.completeAuthChallenge(Intent, String)
method - Add
CardStatus
type - Add
ApproveOrderListener.onApproveOrderAuthorizationRequired(CardAuthChallenge)
method - Add
CardVaultListener.onVaultAuthorizationRequired(CardAuthChallenge)
method - Remove
authChallenge
property fromCardVaultResult
- Remove
deepLinkUrl
andliabilityShift
properties fromCardResult
- Annotate
CardResult
andCardVaultResult
constructors as restricted to the library group - Add
didAttemptThreeDSecureAuthentication
property toCardVaultResult
- Remove
CardClient.approveOrderListener
property - Remove
CardClient.cardVaultListener
property - Remove
ApproveOrderListener
type - Add
CardApproveOrderCallback
interface - Convert
CardApproveOrderResult
to a sealed class - Remove
CardClient.approveOrder(CardRequest)
method - Add
CardClient.approveOrder(CardRequest, CardApproveOrderCallback)
method - Add
CardClient.finishApproveOrder(Intent, String)
method - Add
CardFinishApproveOrderResult
type - Remove
CardResult
type - Remove
CardClient.vault(Context, CardVaultRequest)
method - Remove
CardClient.completeAuthChallenge(Intent, String)
method - Remove
CardClient.removeObservers()
method - Add
CardClient.vault(CardVaultRequest, CardVaultCallback)
method - Add
CardClient.finishVault(Intent, String)
method - Add
CardFinishVaultResult
type - Add
CardVaultCallback
interface - Convert
CardVaultResult
to a sealed class
- Remove
- PayPalWebPayments
- Remove
PayPalWebCheckoutClient(FragmentActivity, CoreConfig, String)
constructor - Add
PayPalWebCheckoutClient(Context, CoreConfig, String)
constructor - Remove
PayPalWebCheckoutClient.start(PayPalWebCheckoutRequest)
method - Add
PayPalWebCheckoutClient.start(ComponentActivity, PayPalWebCheckoutRequest)
method - Remove
PayPalWebCheckoutClient.vault(PayPalWebVaultRequest)
method - Add
PayPalWebCheckoutClient.vault(ComponentActivity, PayPalWebVaultRequest)
method - Add
CardClient.completeAuthChallenge(Intent, String)
method - Add
PayPalPresentAuthChallengeResult
type - Add
PayPalWebStatus
type - Remove
PayPalWebCheckoutClient.listener
property - Add
PayPalWebCheckoutClient.finishStart(Intent, String)
method - Remove
PayPalWebCheckoutResult
type - Add
PayPalWebCheckoutFinishStartResult
type - Remove
PayPalWebCheckoutClient.vaultListener
type - Add
PayPalWebCheckoutClient.finishVault(Intent, String)
method - Remove
PayPalWebCheckoutClient.removeObservers()
method - Add
PayPalWebCheckoutFinishVaulResult
type - Remove
PayPalWebVaultResult
type
- Remove
- Gradle
- Update
browser-switch
version to3.0.0-beta
- Update Kotlin version to
1.9.24
- Update Android Gradle Plugin (AGP) to version
8.7.1
- Explicitly declare Java 17 version as the target JVM toolchain
- Update
- PayPalNativePayments
- CorePayments
- Fix issue that causes analytics version number to always be
null
- Fix issue that causes analytics version number to always be
2.0.0-beta2
- CorePayments
- Fix issue that causes analytics version number to always be
null
- Fix issue that causes analytics version number to always be
- Breaking Changes
- CardPayments
- Remove
CardClient.approveOrderListener
property - Remove
CardClient.cardVaultListener
property - Remove
ApproveOrderListener
type - Add
CardApproveOrderCallback
interface - Convert
CardApproveOrderResult
to a sealed class - Remove
CardClient.approveOrder(CardRequest)
method - Add
CardClient.approveOrder(CardRequest, CardApproveOrderCallback)
method - Add
CardClient.finishApproveOrder(Intent, String)
method - Add
CardFinishApproveOrderResult
type - Remove
CardResult
type - Remove
CardClient.vault(Context, CardVaultRequest)
method - Remove
CardClient.completeAuthChallenge(Intent, String)
method - Remove
CardClient.removeObservers()
method - Add
CardClient.vault(CardVaultRequest, CardVaultCallback)
method - Add
CardClient.finishVault(Intent, String)
method - Add
CardFinishVaultResult
type - Add
CardVaultCallback
interface - Convert
CardVaultResult
to a sealed class
- Remove
- PayPalWebPayments
- Remove
PayPalWebCheckoutClient.listener
property - Add
PayPalWebCheckoutClient.finishStart(Intent, String)
method - Remove
PayPalWebCheckoutResult
type - Add
PayPalWebCheckoutFinishStartResult
type - Remove
PayPalWebCheckoutClient.vaultListener
type - Add
PayPalWebCheckoutClient.finishVault(Intent, String)
method - Remove
PayPalWebCheckoutClient.removeObservers()
method - Add
PayPalWebCheckoutFinishVaulResult
type - Remove
PayPalWebVaultResult
type
- Remove
- CardPayments
2.0.0-beta1
- Breaking Changes
- PayPalNativePayments
- Remove entire PayPalNativePayments module
- CardPayments
- Remove
CardClient(FragmentActivity, Config)
constructor - Add
CardClient(Context, Config)
constructor - Remove
CardClient.approveOrder(FragmentActivity, CardRequest)
method - Add
CardClient.approveOrder(CardRequest)
method - Remove
CardClient.presentAuthChallenge(FragmentActivity, CardAuthChallenge)
method - Add
CardClient.presentAuthChallenge(ComponentActivity, CardAuthChallenge)
method - Add
CardPresentAuthChallengeResult
type - Add
CardClient.completeAuthChallenge(Intent, String)
method - Add
CardStatus
type - Add
ApproveOrderListener.onApproveOrderAuthorizationRequired(CardAuthChallenge)
method - Add
CardVaultListener.onVaultAuthorizationRequired(CardAuthChallenge)
method - Remove
authChallenge
property fromCardVaultResult
- Remove
deepLinkUrl
andliabilityShift
properties fromCardResult
- Annotate
CardResult
andCardVaultResult
constructors as restricted to the library group - Add
didAttemptThreeDSecureAuthentication
property toCardVaultResult
- Remove
- PayPalWebPayments
- Remove
PayPalWebCheckoutClient(FragmentActivity, CoreConfig, String)
constructor - Add
PayPalWebCheckoutClient(Context, CoreConfig, String)
constructor - Remove
PayPalWebCheckoutClient.start(PayPalWebCheckoutRequest)
method - Add
PayPalWebCheckoutClient.start(ComponentActivity, PayPalWebCheckoutRequest)
method - Remove
PayPalWebCheckoutClient.vault(PayPalWebVaultRequest)
method - Add
PayPalWebCheckoutClient.vault(ComponentActivity, PayPalWebVaultRequest)
method - Add
CardClient.completeAuthChallenge(Intent, String)
method - Add
PayPalPresentAuthChallengeResult
type - Add
PayPalWebStatus
type
- Remove
- Gradle
- Update
browser-switch
version to3.0.0-beta
- Update Kotlin version to
1.9.24
- Update Android Gradle Plugin (AGP) to version
8.7.1
- Explicitly declare Java 17 version as the target JVM toolchain
- Update
- PayPalNativePayments
1.7.1
- Gradle
- Update Android Gradle Plugin (AGP) to version
8.5.2
- Remove jacoco code coverage integration that was causing build failures after upgrading to latest AGP version
- Remove hardcoded compileSdk version from each module's
build.gradle
file - Update Demo app to use Java 17 to fix kapt build errors
- Update Android Gradle Plugin (AGP) to version
- GitHub Actions
- Bump Java Version to 17 for all build actions
1.6.0
- All Modules
- Upgrade compileSdkVersion and targetSdkVersion to API 35
- CardPayments
- Deprecate
CardResult.liabilityShift
property - Deprecate
CardResult.deepLinkUrl
property - Add
CardResult.status
property - Add
CardResult.didAttemptThreeDSecureAuthentication
property
- Deprecate
1.5.0
- PayPalWebPayments
- Deprecate
PayPalWebVaultRequest(setupTokenId, approveVaultHref)
- Add
PayPalWebVaultRequest(setupTokenId)
- Deprecate
- PayPalNativePayments (DEPRECATED)
- NOTE: This module is being deprecated and will be removed in the future version of the SDK. Use
PayPalWebPayments
module instead. - Add deprecated warning message to all classes
- NOTE: This module is being deprecated and will be removed in the future version of the SDK. Use
1.4.1
- PaymentButtons
- Add
paylater_color
toPayLaterButton
to control the color of the pay later button from XML.
- Add