Releases: paypal/paypal-ios
Releases · paypal/paypal-ios
2.0.0-beta2
- CorePayments
- Make
CoreSDKError
conform to Equatable - Rename
NetworkingClientError
toNetworkingError
- Make
NetworkingError
enum and static constants public
- Make
- CardPayments
- Make
CardError
enum and static constants public
- Make
- PayPalPayments
- Make
PayPalError
enum and static constants public
- Make
2.0.0-beta1
- Breaking Changes
- PayPalNativePayments
- Remove entire PayPalNativePayments module
- PayPalWebPayments
- Replace delegate pattern with completion handlers and Swift concurrency
- Remove
PayPalWebCheckoutDelegate
andPayPalVaultDelegate
- Remove
start(request:)
method that uses delegate callbacks - Remove
vault(vaultRequest:)
method that uses delegate callbacks - Add
start(request:completion(PayPalWebCheckoutResult?, CoreSDKError?) -> Void)
toPayPalWebCheckoutClient
- Add
vault(vaultRequest:completion(PayPalVaultResult?, CoreSDKError?) -> Void)
toPayPalWebCheckoutClient
- Add
start(request:) async throws -> PayPalCheckoutResult
- Add
vault(vaultRequest:) async throws -> PayPalVaultResult
- Remove
- Replace delegate pattern with completion handlers and Swift concurrency
- CardPayments
- Replace delegate pattern with completion handlers and Swift concurrency
- Remove
CardDelegate
andCardVaultDelegate
- Remove
approveOrder(request:)
method that uses delegate callbacks - Remove
vault(vaultRequest:)
method that uses delegate callbacks - Add
approveOrder(request:completion:(CardResult?, CoreSDKError?) -> Void)
toCardClient
- Add
vault(request:completion:(CardVaultResult?, CoreSDKError?) -> Void)
toCardClient
- Add
approveOrder(request:) async throws -> CardResult
- Add
vault(vaultRequest:) async throws -> CardVaultResult
- Remove
- Replace delegate pattern with completion handlers and Swift concurrency
- PayPalNativePayments
- PayPalWebPayments
- Rename
PayPalWebCheckoutClientError
toPayPalError
- Add
.checkoutCanceledError
andvaultCanceledError
toPayPalError
- Add public static functions
isCheckoutCanceled(Error)
andisVaultCanceled(Error)
toPayPalError
to distinguish cancellation errors in PayPal flows. - Make
PayPalError
public to expose cancellation error handling helpers
- Rename
- CardPayments
- Rename
CardClientError
toCardError
- Add
threeDSecureCanceledError
toCardError
- Add public static function
isThreeDSecureCanceled(Error)
toCardError
to distinguish cancellation error from threeDSecure verification - Make
CardError
public to expose cancellation error handling helper
- Rename
1.5.0
- PayPalWebPayments
- Deprecate
PayPalVaultRequest(url:setupTokenID:)
- Add
PayPalVaultRequest(setupTokenID:)
- Deprecate
- CorePayments
- Bug fix for live graphQL url
1.4.0
- PayPalNativePayments (DEPRECATED)
- Note: This module is deprecated and will be removed in a future version of the SDK
- Add deprecated warning message to all public classes and methods
1.3.2
- PaymentButtons
- Add black boundary around white buttons
1.3.1
- FraudProtection
- Include
DeviceID
privacy term inPrivacyInfo.xcprivacy
file
- Include
1.3.0
1.2.0
- Bump to PPRiskMagnes v5.5.0 with code signing & a privacy manifest file
- Require Xcode 15.0+ and Swift 5.9+ (per App Store requirements)
- Meets Apple's new Privacy Update requirements
- PaymentButtons
- Add
custom
case forPaymentButtonEdges
- Support VoiceOver by adding button accessibility labels
- Fixed frame alignment and width issue occuring in SwiftUI
- Fixed button alignment and size bug in SwiftUI with
intrinsicContentSize
- The height cannot be set smaller than 38px or width shorter than 300px
- Added analytics events
payment-button:initialized
andpayment-button:tapped
- Add
- CardPayments
- Add
status
property toCardVaultResult
- Add
didAttemptThreeDSecureAuthentication
property toCardVaultResult
- Add
status
property toCardResult
- Add
didAttemptThreeDSecureAuthentication
property toCardResult
- Add
cardThreeDSecureDidCancel()
toCardVaultDelegate
- Add
cardThreeDSecureWillLaunch()
toCardVaultDelegate
- Add
cardThreeDSecureDidFinish()
toCardVaultDelegate
- Add
- PayPalWebPayments
- Add
PayPalVaultRequest
type for interacting withvault
method - Add
vault(_:)
method toPayPalWebCheckoutClient
- Add
PayPalVaultResult
type to return vault result - Add
PayPalVaultDelegate
to handle results from vault flow - Add
PayPalWebCheckoutClientError.paypalVaultResponseError
for missing or invalid response from vaulting
- Add
1.1.0
- PayPalNativePayments
- Bump
PayPalCheckout
to1.2.0
- Update
PayPalNativeCheckoutRequest
initalizer to accept optional paramuserAuthenticationEmail
- Bump
- CorePayments
- Analytics
- Update
component
fromppcpmobilesdk
toppcpclientsdk
- Send
correlation_id
, when possible, in PayPal Native Checkout analytic events
- Update
- Analytics
1.0.0
- Breaking Changes
- Require Xcode 14.3+ and Swift 5.8+
- Update Package.swift to include
PayPalCheckout
via a binary target. This works around an SPM bug that includedPayPalCheckout
even for integrations that did not include thePayPalNativePayments
module.