Skip to content

Releases: braintree/braintree_ios

5.0.0

11 Feb 17:15
Compare
Choose a tag to compare
  • Breaking Changes
    • Make shippingMethod property on BTThreeDSecureRequest an enum instead of a string
    • Remove BTTokenizationService
    • Make BTPaymentMethodNonceParser private
    • Remove BTAppSwitchDelegate
    • Rename BTAppSwitch to BTAppContextSwitcher
      • Rename handleAppSwitchReturnURL() to handleReturnURL()
      • Rename canHandleAppSwitchReturnURL() to canHandleReturnURL()
      • Remove unregisterAppSwitchHandler()
    • Rename properties to use ID instead of Id:
      • BTAmericanExpressRewardsBalance.requestID
      • BTCard.merchantAccountID
      • BTThreeDSecureInfo.acsTransactionID
      • BTThreeDSecureInfo.dsTransactionID
      • BTThreeDSecureInfo.threeDSecureAuthenticationID
      • BTThreeDSecureInfo.threeDSecureServerTransactionID
      • BTBinData.productID
      • BTClientMetadata.sessionID
      • BTConfiguration+DataCollector.kountMerchantID
      • BTDataCollector.fraudMerchantID
      • BTPayPalAccountNonce.clientMetadataID
      • BTPayPalAccountNonce.payerID
      • BTPayPalRequest.merchantAccountID
      • BTLocalPaymentRequest.merchantAccountID
      • BTLocalPaymentResult.clientMetadataID
      • BTLocalPaymentResult.payerID
      • BTThreeDSecureAdditionalInformation.accountID
      • BTThreeDSecureLookup.transactionID
    • Rename methods to use ID instead of Id:
      • BTLocalPaymentRequest.localPaymentStarted(request:paymentID:start:)
      • BTVenmoDriver.authorizeAccount(profileID:vault:completion:)
    • Remove initWithNumber and initWithParameters initializers from BTCard
    • Replace BTVenmoDriver.authorizeAccount methods with BTVenmoDriver.tokenizeVenmoAccount
    • PayPal
      • Update BTPayPalDriver.requestOneTimePayment to expect a BTPayPalCheckoutRequest and deprecate method
      • Update BTPayPalDriver.requestBillingAgreement to expect a BTPayPalVaultRequest and deprecate method
      • Remove offerCredit from BTPayPalRequest (offerPayLater should be used instead)
    • BraintreeDataCollector
      • Remove BTDataCollectorDelegate
      • Remove BTDataCollector.collectCardFraudData()
      • Remove BTDataCollectorKountErrorDomain
  • Add environment to BTConfiguration
  • Add BTVenmoRequest
  • Update Kount SDK to v4.1.3 (includes arm64 simulator architecture for Apple silicon)
  • PayPal
    • Fix memory leak in BTPayPalDriver
    • Add BTPayPalCheckoutRequest
    • Add BTPayPalVaultRequest
    • Add tokenizePayPalAccount method to BTPayPalDriver
    • Add offerPayLater and requestBillingAgreement to BTPayPalCheckoutRequest
  • Update CardinalMobile.framework to v2.2.5

Note: Includes all changes in 5.0.0-beta2 and 5.0.0-beta1

5.0.0-beta2

20 Jan 20:24
Compare
Choose a tag to compare
  • Add SPM support for BraintreeDataCollector and BraintreeThreeDSecure
  • Add SPM libraries for KountDataCollector and PPRiskMagnes to workaround Xcode bug (addresses #576)
  • Bump Kount to v4.0.4.3 pre-release (provides an xcframework for SPM)
  • Bump PPRiskMagnes to v5.10.0 (resolves #564)
  • Fix Xcode 12.3 issue with building PPRiskMagnes.framework for iOS + iOS Simulator
  • Add accountType to BTThreeDSecureRequest
  • Breaking Changes
    • Remove type and nonce params on BTApplePayCardNone initializer
    • Replace uiCustomization with v2UICustomization on BTThreeDSecureRequest
    • Introduce new classes for 3DS2 UI customization:
      • BTThreeDSecureV2UICustomization
      • BTThreeDSecureV2ButtonCustomization
      • BTThreeDSecureV2LabelCustomization
      • BTThreeDSecureV2TextBoxCustomization
      • BTThreeDSecureV2ToolbarCustomization
    • Default versionRequested on BTThreeDSecureRequest to 3DS2 instead of 3DS1

4.37.0

20 Jan 17:12
Compare
Choose a tag to compare
  • Add paymentTypeCountryCode to BTLocalPaymentRequest

5.0.0-beta1

01 Dec 20:57
Compare
Choose a tag to compare
  • Add support for Swift Package Manager (resolves #462)
  • Bump Kount to v4.0.4.2 (supports iOS 9.3+)
  • Replace deprecated SecTrustEvaluate with SecTrustEvaluateWithError (fixes #536)
  • Only check if the Venmo app is installed if the BraintreeVenmo module is being used (resolves #231)
  • Breaking Changes
    • Bump minimum supported deployment target to iOS 12
    • Remove deprecated BraintreeUI module
    • Remove all deprecated methods and properties
    • Core
      • Remove the localizedDescription property on BTPaymentMethodNonce
      • Update all methods on BTAppSwitchDelegate to be optional
      • Remove options and sourceApplication params on BTAppSwitch methods
    • PaymentFlow
      • Update dismiss button style from done to cancel for SFSafariViewControllers presented via the BTPaymentFlowDriver. This update applies to both the 3D Secure and Local Payments payment flows.
      • Remove the localizedDescription property on BTLocalPaymentResult
      • Remove unused BTPaymentFlowDriverErrorTypeInvalidRequestURL option from BTPaymentFlowDriverErrorDomain
    • PayPal
      • Remove PayPalOneTouch and PayPalUtils modules
      • Remove authorizeAccountWithCompletion and authorizeAccountWithAdditionalScopes methods from BTPayPalDriver
      • Remove requestOneTimePayment and requestBillingAgreement overloads with custom handler parameters from BTPayPalDriver
      • Remove viewControllerPresentingDelegate property from BTPayPalDriver
      • Remove use of SFSafariViewController from PayPal flow
      • Replace deprecated SFAuthenticationSession with ASWebAuthenticationSession in PayPal flow
      • Update requestBillingAgreement and requestOneTimePayment completion blocks to return an error when user cancels the PayPal flow
      • Remove custom URL scheme requirement for PayPal flow
      • Update BTPayPalDriverErrorType enum
        • Remove BTPayPalDriverErrorTypeIntegrationReturnURLScheme
        • Remove BTPayPalDriverErrorTypeAppSwitchFailed
        • Remove BTPayPalDriverErrorTypeInvalidConfiguration
    • ThreeDSecure
      • Remove deprecated Braintree3DSecure module
      • Restructure BTThreeDSecureResult and BTThreeDSecureLookup
      • Create a stand-alone 3DS module
    • PayPalDataCollector
      • Add PPRiskMagnes.framework and PPRiskMagnes.xcframework v5.0.1 (requires Swift 5.1+)
      • Remove collectPayPalDeviceInfoWithClientMetadataID method on PayPalDataCollector.h

4.36.1

10 Nov 17:49
Compare
Choose a tag to compare
  • Update CardinalMobile.framework to v2.2.4-1
  • Exclude arm64 simulator architectures via Podspec (fixes Drop-In #233)

4.36.0

07 Oct 21:20
Compare
Choose a tag to compare
  • Add cardholderName to BTCardNonce
  • Add support for PKPaymentNetworkMaestro to Apple Pay configuration

4.35.0

10 Aug 20:16
Compare
Choose a tag to compare
  • Update CardinalMobile.framework to v2.2.3-1
  • Add expirationMonth and expirationYear to BTCardNonce
  • Update PPDataCollector

4.34.0

09 Jun 20:42
Compare
Choose a tag to compare
  • Add environment property to BTPayPalUAT

4.33.0

17 Apr 16:04
Compare
Choose a tag to compare
  • Add support for iOS 13 SceneDelegate to BTAppSwitch
  • Add lastFour property to BTCardNonce
  • Make BTURLUtils.h public
  • Add support for authorizing the Braintree SDK with a PayPalUAT (universal access token)
  • Remove AddressBook.framework from Podspec (thanks @ignotusverum)

4.32.1

21 Feb 20:40
Compare
Choose a tag to compare
  • Fix crash when ThreeDSecureRequest amount field is set to NaN (resolves #507)
  • Update CardinalMobile.framework to v2.2.2-1 for Carthage users