Releases: paypal/paypal-android
Releases · paypal/paypal-android
Release list
2.3.0
2.2.0
- CardPayments
- Migrate
CardClient.presentAuthChallenge()method to take a plainActivityreference instead of aComponentActivityreference
- Migrate
- PayPalWebPayments
- Fix breaking change bug where
PayPalPresentAuthChallengeResult.authStatewas marked asinternal - Migrate
PayPalWebCheckoutClient.start()method to take a plainActivityreference instead of aComponentActivityreference - Migrate
PayPalWebCheckoutClient.vault()method to take a plainActivityreference instead of aComponentActivityreference
- 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.instanceStateproperty - 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.instanceStateproperty - Add
CardClient.restore(instanceState: String)method - Deprecate
CardPresentAuthChalengeResult.authStateproperty - Deprecate
PayPalPresentAuthChallengeResult.authStateproperty
- Add
2.0.1
- PayPalWebPayments
- Fix issue with
PayPalWebCheckoutClient.finishStart()that caused explicit user cancelation to return aFailureevent, instead ofCanceled - Fix issue with
PayPalWebCheckoutClient.finishVault()that caused explicit user cancelation ro return aSuccessevent, 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
CardPresentAuthChallengeResulttype - Add
CardClient.completeAuthChallenge(Intent, String)method - Add
CardStatustype - Add
ApproveOrderListener.onApproveOrderAuthorizationRequired(CardAuthChallenge)method - Add
CardVaultListener.onVaultAuthorizationRequired(CardAuthChallenge)method - Remove
authChallengeproperty fromCardVaultResult - Remove
deepLinkUrlandliabilityShiftproperties fromCardResult - Annotate
CardResultandCardVaultResultconstructors as restricted to the library group - Add
didAttemptThreeDSecureAuthenticationproperty toCardVaultResult - Remove
CardClient.approveOrderListenerproperty - Remove
CardClient.cardVaultListenerproperty - Remove
ApproveOrderListenertype - Add
CardApproveOrderCallbackinterface - Convert
CardApproveOrderResultto a sealed class - Remove
CardClient.approveOrder(CardRequest)method - Add
CardClient.approveOrder(CardRequest, CardApproveOrderCallback)method - Add
CardClient.finishApproveOrder(Intent, String)method - Add
CardFinishApproveOrderResulttype - Remove
CardResulttype - 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
CardFinishVaultResulttype - Add
CardVaultCallbackinterface - Convert
CardVaultResultto 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
PayPalPresentAuthChallengeResulttype - Add
PayPalWebStatustype - Remove
PayPalWebCheckoutClient.listenerproperty - Add
PayPalWebCheckoutClient.finishStart(Intent, String)method - Remove
PayPalWebCheckoutResulttype - Add
PayPalWebCheckoutFinishStartResulttype - Remove
PayPalWebCheckoutClient.vaultListenertype - Add
PayPalWebCheckoutClient.finishVault(Intent, String)method - Remove
PayPalWebCheckoutClient.removeObservers()method - Add
PayPalWebCheckoutFinishVaulResulttype - Remove
PayPalWebVaultResulttype
- Remove
- Gradle
- Update
browser-switchversion 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.approveOrderListenerproperty - Remove
CardClient.cardVaultListenerproperty - Remove
ApproveOrderListenertype - Add
CardApproveOrderCallbackinterface - Convert
CardApproveOrderResultto a sealed class - Remove
CardClient.approveOrder(CardRequest)method - Add
CardClient.approveOrder(CardRequest, CardApproveOrderCallback)method - Add
CardClient.finishApproveOrder(Intent, String)method - Add
CardFinishApproveOrderResulttype - Remove
CardResulttype - 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
CardFinishVaultResulttype - Add
CardVaultCallbackinterface - Convert
CardVaultResultto a sealed class
- Remove
- PayPalWebPayments
- Remove
PayPalWebCheckoutClient.listenerproperty - Add
PayPalWebCheckoutClient.finishStart(Intent, String)method - Remove
PayPalWebCheckoutResulttype - Add
PayPalWebCheckoutFinishStartResulttype - Remove
PayPalWebCheckoutClient.vaultListenertype - Add
PayPalWebCheckoutClient.finishVault(Intent, String)method - Remove
PayPalWebCheckoutClient.removeObservers()method - Add
PayPalWebCheckoutFinishVaulResulttype - Remove
PayPalWebVaultResulttype
- 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
CardPresentAuthChallengeResulttype - Add
CardClient.completeAuthChallenge(Intent, String)method - Add
CardStatustype - Add
ApproveOrderListener.onApproveOrderAuthorizationRequired(CardAuthChallenge)method - Add
CardVaultListener.onVaultAuthorizationRequired(CardAuthChallenge)method - Remove
authChallengeproperty fromCardVaultResult - Remove
deepLinkUrlandliabilityShiftproperties fromCardResult - Annotate
CardResultandCardVaultResultconstructors as restricted to the library group - Add
didAttemptThreeDSecureAuthenticationproperty 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
PayPalPresentAuthChallengeResulttype - Add
PayPalWebStatustype
- Remove
- Gradle
- Update
browser-switchversion 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.gradlefile - 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.liabilityShiftproperty - Deprecate
CardResult.deepLinkUrlproperty - Add
CardResult.statusproperty - Add
CardResult.didAttemptThreeDSecureAuthenticationproperty
- 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
PayPalWebPaymentsmodule 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