Skip to content

Releases: braintree/braintree_ios

5.23.0

18 Aug 19:50
Compare
Choose a tag to compare
  • BraintreeVenmo
    • Allow merchants to collect enriched customer data if enabled in the Braintree Control Panel
    • Add the following properties to BTVenmoRequest
      • collectCustomerBillingAddress
      • collectCustomerShippingAddress
      • totalAmount
      • subTotalAmount
      • discountAmount
      • taxAmount
      • shippingAmount
      • lineItems

6.5.0

10 Aug 16:44
Compare
Choose a tag to compare
  • BraintreeVenmo
    • Add additional error parsing for Venmo errors
    • Throw cancelation specific error for BTVenmoClient.tokenize() (fixes #1085)
      • The callback style version of this function previously returned (nil, nil) for the cancel scenario, but will now return (nil, error) instead.
  • BraintreeCore
    • Send live instead of production for the merchant_sdk_env tag to PayPal's analytics service (FPTI)

6.4.0

18 Jul 17:54
Compare
Choose a tag to compare
  • Expose reference documentation for BTAppContextSwitcher.handleOpen(_:) and BTAppContextSwitcher.handleOpenURL(context:)
  • BraintreeVenmo
    • Fix bug where tokenizations failed when sending an empty dictionary for transactionDetails in the CreateVenmoPaymentContext call (fixes #1074)

6.3.0

10 Jul 20:04
Compare
Choose a tag to compare
  • BraintreePayPalNativeCheckout (General Availability release)
    • Update PayPalCheckout from 0.110.0 to 1.0.0. This is our newly released General Availability version
      • Note: This module will now be subject to semantic versioning

6.2.0

27 Jun 20:06
Compare
Choose a tag to compare
  • BraintreePayPalNativeCheckout (BETA)
    • Fix bug where setting userAction does not update button as expected
  • BraintreeSEPADirectDebit
    • Add BTSEPADirectDebitRequest.locale
  • BraintreePayPal
    • Fix bug where BTPayPalAccountNonce values were not being returned as expected (fixes #1063)

6.1.0

22 Jun 19:44
Compare
Choose a tag to compare
  • BraintreeVenmo
    • Allow merchants to collect enriched customer data if enabled in the Braintree Control Panel
    • Add the following properties to BTVenmoRequest
      • collectCustomerBillingAddress
      • collectCustomerShippingAddress
      • totalAmount
      • subTotalAmount
      • discountAmount
      • taxAmount
      • shippingAmount
      • lineItems

6.0.0

20 Jun 15:17
Compare
Choose a tag to compare

Note: Includes all changes in 6.0.0-beta4, 6.0.0-beta3, 6.0.0-beta2, and 6.0.0-beta1

5.22.0

08 Jun 16:05
Compare
Choose a tag to compare
  • Require Xcode 14.1 (per App Store requirements)
  • Deprecate 3DS v1. Any attempt to use 3DS v1 will now throw an error. See Migrating to 3D Secure 2 for more information.
  • Carthage .frameworks are no longer supported in Xcode 14.1, please replace all Frameworks with XCFrameworks and use --use-xcframeworks for all Carthage steps

6.0.0-beta4

01 Jun 16:15
Compare
Choose a tag to compare
  • Require Xcode 14.1 (per App Store requirements)
  • Move from Braintree to PayPal analytics service
  • Make BTConfiguration extensions internal
  • Breaking Changes
    • Require Xcode 14.3+ and Swift 5.8+
    • Rename BraintreePaymentFlow module to BraintreeLocalPayment
    • BraintreeThreeDSecure
      • Add BTThreeDSecureClient
        • Remove BTPaymentFlowClient+ThreeDSecure extension
        • Move BTPaymentFlowClient+ThreeDSecure and BTThreeDSecureRequest methods to BTThreeDSecureClient
        • Remove BTThreeDSecureError.cannotCastRequest case
      • Remove dependency on BraintreePaymentFlow module
    • BraintreeLocalPayment (formerly named BraintreePaymentFlow)
      • Rename BTPaymentFlowClient to BTLocalPaymentClient
      • Rename BTPaymentFlowError to BTLocalPaymentError
        • Rename BTLocalPaymentError.errorDomain from BTPaymentFlowErrorDomain to BTLocalPaymentErrorDomain
      • Move BTLocalPaymentRequest methods to BTLocalPaymentClient
      • Add BTLocalPaymentError case
        • .webSessionError = 10
    • BraintreePayPal
      • Add BTPayPalError case
        • Add error .webSessionError = 8
    • BraintreeCard
      • Add BTCardError case
        • Add error .fetchConfigurationFailed = 4
    • BraintreeSEPADirectDebit
      • Add BTSEPADirectDebitError case
        • Add error .failedToCreateNonce = 7
      • Remove BTSEPADirectDebitError.presentationContextInvalid

6.0.0-beta3

18 Apr 16:51
Compare
Choose a tag to compare
  • Remove iosBaseSDK, iosDeploymentTarget, iosIdentifierForVendor, deviceAppGeneratedPersistentUuid, and deviceScreenOrientation from BTAnalyticsMetadata
  • Fixes error @objcMembers attribute used without importing module 'Foundation' in Xcode 14.3+
  • Add async/await support back to all public Swift methods
  • Convert BraintreeVenmo module to Swift
  • Convert BraintreeCard module to Swift
  • Convert BraintreeThreeDSecure module to Swift
  • Convert BraintreePaymentFlow module to Swift
  • Breaking Changes
    • BraintreePaymentFlow
      • Replaced SFSafariViewController with ASWebAuthenticationSession
      • Removed BTViewControllerPresentingDelegate protocol and correlating methods
      • Rename BTLocalPaymentRequest.shippingAddressRequired to isShippingAddressRequired
      • Remove BTPaymentFlowErrorDomain global constant & BTPaymentFlowErrorType
      • Add BTPaymentFlowError cases
        • .noAccountData = 4
        • .failedToCreateNonce = 6
        • .fetchConfigurationFailed = 7
        • .missingRedirectURL = 8
        • .missingReturnURL = 9
      • Update BTPaymentFlowError values
        • .integration = 3
    • BraintreeApplePay
      • Rename BTApplePayClient.tokenizeApplePay(_:completion:) to BTApplePayClient.tokenize(_:completion:)
      • Rename BTApplePayClient.paymentRequest() to BTApplePayClient.makePaymentRequest()
      • Remove BTApplePayErrorDomain global constant
      • Remove BTApplePayErrorType
      • Make BTApplePayCardNonce initializer internal
    • BraintreeDataCollector
      • Update PPRiskMagnes to static XCFramework
    • BraintreeVenmo
      • Rename BTVenmoAccountNonce.externalId to BTVenmoAccountNonce.externalID
      • Remove BTVenmoErrorDomain global constant
      • Renamed BTVenmoClient.tokenizeVenmoAccount(with:completion:) to BTVenmoClient.tokenize(_:completion:)
      • Renamed BTVenmoClient.isiOSAppAvailableForAppSwitch() to BTVenmoClient.isVenmoAppInstalled()
      • Add new BTVenmoError
        • .invalidBodyReturned
        • .invalidRedirectURL
        • .fetchConfigurationFailed
      • Removed BTVenmoError.integration and BTVenmoError.requestURL
    • BraintreeAmericanExpress
      • Rename BTAmericanExpressClient.getRewardsBalance(forNonce:currencyIsoCode:completion:) to BTAmericanExpressClient.getRewardsBalance(forNonce:currencyISOCode:completion:)
    • BraintreeSEPADirectDebit
      • Rename BTSEPADirectDebitClient.tokenize(request:completion:) to BTSEPADirectDebitClient.tokenize(_:completion:)
    • BraintreeCard
      • Make BTAuthenticationInsight initializer internal
      • Remove BTCardClientErrorDomain global constant
      • Rename BTCardClient.tokenizeCard(_:completion) to BTCardClient.tokenize(_:completion:)
      • Rename BTCardClientErrorType to BTCardError
        • Remove unused BTCardClientErrorType.paymentOptionNotEnabled
        • Update enum values:
          • .unknown = 0
          • .integration = 1
          • .customerInputInvalid = 2
          • .cardAlreadyExists = 3
    • BraintreeThreeDSecure
      • 3D Secure version 1 is no longer supported
        • Removed the following: BTThreeDSecureV1UICustomization class, BTThreeDSecureRequest.v1UICustomization property, and BTThreeDSecureVersion enum
          • All 3D Secure requests will use version 2
        • Rename BTThreeDSecureV2ButtonType enum cases to: .verify, .continue, .next, .cancel, and .resend
        • Remove BTThreeDSecureFlowErrorDomain global constant
        • Add new BTThreeDSecureError
          • Add error .noBodyReturned = 4
          • Add error .canceled = 5
          • Add error .invalidAPIClient = 6
          • Add error .cannotCastRequest= 7
          • Add error .jsonSerializationFailure = 8