Skip to content

Releases: paypal/paypal-ios

2.0.0-beta2

11 Dec 18:45
Compare
Choose a tag to compare
  • CorePayments
    • Make CoreSDKError conform to Equatable
    • Rename NetworkingClientError to NetworkingError
    • Make NetworkingError enum and static constants public
  • CardPayments
    • Make CardError enum and static constants public
  • PayPalPayments
    • Make PayPalError enum and static constants public

2.0.0-beta1

20 Nov 18:47
Compare
Choose a tag to compare
  • Breaking Changes
    • PayPalNativePayments
      • Remove entire PayPalNativePayments module
    • PayPalWebPayments
      • Replace delegate pattern with completion handlers and Swift concurrency
        • Remove PayPalWebCheckoutDelegate and PayPalVaultDelegate
        • Remove start(request:) method that uses delegate callbacks
        • Remove vault(vaultRequest:) method that uses delegate callbacks
        • Add start(request:completion(PayPalWebCheckoutResult?, CoreSDKError?) -> Void) to PayPalWebCheckoutClient
        • Add vault(vaultRequest:completion(PayPalVaultResult?, CoreSDKError?) -> Void) to PayPalWebCheckoutClient
        • Add start(request:) async throws -> PayPalCheckoutResult
        • Add vault(vaultRequest:) async throws -> PayPalVaultResult
    • CardPayments
      • Replace delegate pattern with completion handlers and Swift concurrency
        • Remove CardDelegate and CardVaultDelegate
        • Remove approveOrder(request:) method that uses delegate callbacks
        • Remove vault(vaultRequest:) method that uses delegate callbacks
        • Add approveOrder(request:completion:(CardResult?, CoreSDKError?) -> Void) to CardClient
        • Add vault(request:completion:(CardVaultResult?, CoreSDKError?) -> Void) to CardClient
        • Add approveOrder(request:) async throws -> CardResult
        • Add vault(vaultRequest:) async throws -> CardVaultResult
  • PayPalWebPayments
    • Rename PayPalWebCheckoutClientError to PayPalError
    • Add .checkoutCanceledError and vaultCanceledError to PayPalError
    • Add public static functions isCheckoutCanceled(Error) and isVaultCanceled(Error) to PayPalError to distinguish cancellation errors in PayPal flows.
    • Make PayPalError public to expose cancellation error handling helpers
  • CardPayments
    • Rename CardClientError to CardError
    • Add threeDSecureCanceledError to CardError
    • Add public static function isThreeDSecureCanceled(Error) to CardError to distinguish cancellation error from threeDSecure verification
    • Make CardError public to expose cancellation error handling helper

1.5.0

24 Oct 17:00
Compare
Choose a tag to compare
  • PayPalWebPayments
    • Deprecate PayPalVaultRequest(url:setupTokenID:)
    • Add PayPalVaultRequest(setupTokenID:)
  • CorePayments
    • Bug fix for live graphQL url

1.4.0

09 Jul 16:11
Compare
Choose a tag to compare
  • 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

23 May 19:51
Compare
Choose a tag to compare
  • PaymentButtons
    • Add black boundary around white buttons

1.3.1

29 Apr 17:00
Compare
Choose a tag to compare
  • FraudProtection
    • Include DeviceID privacy term in PrivacyInfo.xcprivacy file

1.3.0

25 Apr 20:03
Compare
Choose a tag to compare
  • PayPalNativePayments
    • Bump PayPalCheckout to 1.3.0 with code signing & a privacy manifest file
  • PaymentButtons
    • Resolve assets not rendering when importing via CocoaPods (fixes #267)

1.2.0

27 Mar 19:12
Compare
Choose a tag to compare
  • 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 for PaymentButtonEdges
    • 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 and payment-button:tapped
  • CardPayments
    • Add status property to CardVaultResult
    • Add didAttemptThreeDSecureAuthentication property to CardVaultResult
    • Add status property to CardResult
    • Add didAttemptThreeDSecureAuthentication property to CardResult
    • Add cardThreeDSecureDidCancel() to CardVaultDelegate
    • Add cardThreeDSecureWillLaunch() to CardVaultDelegate
    • Add cardThreeDSecureDidFinish() to CardVaultDelegate
  • PayPalWebPayments
    • Add PayPalVaultRequest type for interacting with vault method
    • Add vault(_:) method to PayPalWebCheckoutClient
    • 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

1.1.0

16 Nov 17:32
Compare
Choose a tag to compare
  • PayPalNativePayments
    • Bump PayPalCheckout to 1.2.0
    • Update PayPalNativeCheckoutRequest initalizer to accept optional param userAuthenticationEmail
  • CorePayments
    • Analytics
      • Update component from ppcpmobilesdk to ppcpclientsdk
      • Send correlation_id, when possible, in PayPal Native Checkout analytic events

1.0.0

02 Oct 20:14
Compare
Choose a tag to compare
  • 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 included PayPalCheckout even for integrations that did not include the PayPalNativePayments module.