Skip to content

6.0.0-beta1

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Dec 19:53
· 0 commits to 13541c3642ea76748c7f8971d0351b1630e68fc2 since this release
  • Convert BraintreeCore module to Swift
  • Convert BraintreeAmericanExpress module to Swift
  • Convert BraintreeDataCollector module to Swift
  • Removed PayPalDataCollector module in favor of single BraintreeDataCollector
  • Kount is no longer supported through the SDK
  • Breaking Changes
    • Bump minimum supported deployment target to iOS 14+
    • Require Carthage 0.38.0+ and xcframeworks via carthage update --use-xcframeworks
    • Require Xcode 14
      • Bump Swift Tools Version to 5.7 for CocoaPods & SPM
    • BraintreeCore
      • Renamed BTAppContextSwitchDriver protocol to `BTAppContextSwitchClient
      • BTViewControllerPresentingDelegate protocol now takes in the client parameter instead of driver
      • Renamed BTClientMetadataSourceType to BTClientMetadataSource
      • Renamed BTClientMetadataIntegrationType to BTClientMetadataIntegration
      • Removed static wrapper methods from BTAppContextSwitcher
      • Replaced BTLogger with BTLogLevel and BTLogLevelDescription
      • Remove BTJSONErrorDomain global constant
      • Remove BTJSONErrorCode
      • Remove BTAPIClientErrorDomain global constant
      • Add BTClientTokenErrors
        • .invalidAuthorizationFingerprint
        • .invalidConfigURL
        • .invalidFormat
        • .unsupportedVersion
        • .failedDecoding
      • Add BTHTTPErrorCodes
        • .httpResponseInvalid
        • .urlStringInvalid
        • .clientApiUrlInvalid
        • .invalidAuthorizationFingerprint
      • Renamed BTCardNetworkUKMaestro to BTCardNetworkUkMaestro in BTCardNetwork enum
    • BraintreeVenmo
      • Renamed BTVenmoDriver to BTVenmoClient
      • Renamed BTVenmoDriverErrorDomain to BTVenmoErrorDomain
      • Renamed BTVenmoDriverErrorType to BTVenmoErrorType
      • All errors are now prefixed with BTVenmoError instead of BTVenmoDriverError
      • Remove .unspecified case from BTVenmoPaymentMethodUsage enum
      • Require paymentMethodUsage param in BTVenmoRequest initializer
      • Move category extension of BTConfiguration into BraintreeCore
    • BraintreePayPal
      • Renamed BTPayPalDriver to BTPayPalClient
      • Renamed BTPayPalDriverErrorDomain to BTPayPalErrorDomain
      • Renamed BTPayPalDriverErrorType to BTPayPalErrorType
      • All errors are now prefixed with BTPayPalError instead of BTPayPalDriverError
      • Remove BTPayPalDriver.requestOneTimePayment in favor of BTPayPalClient.tokenizePayPalAccount
      • Remove BTPayPalDriver.requestBillingAgreement in favor of BTPayPalClient.tokenizePayPalAccount
      • Move category extension of BTConfiguration into BraintreeCore
    • BraintreeAmericanExpress
      • Remove BTAmericanExpressErrorDomain global constant
      • Remove BTAmericanExpressErrorType
      • Make BTAmericanExpressRewardsBalance initializer private
    • BraintreePaymentFlow
      • Renamed BTPaymentFlowDriver to BTPaymentFlowClient
      • Renamed BTPaymentFlowDriverErrorDomain to BTPaymentFlowErrorDomain
      • Renamed BTPaymentFlowDriverErrorType to BTPaymentFlowErrorType
      • All errors are now prefixed with BTPaymentFlowError instead of BTPaymentFlowDriverError
      • Renamed BTPaymentFlowDriverDelegate protocol to BTPaymentFlowClientDelegate
      • handleRequest in delegate protocol now takes in paymentClientDelegate parameter instead of paymentDriverDelegate
      • Move category extension of BTConfiguration into BraintreeCore
    • PayPalDataCollector
      • Removed PayPalDataCollector module in favor of single BraintreeDataCollector
    • BraintreeDataCollector
      • Kount is no longer supported through the SDK
      • Combine PayPalDataCollector and BraintreeDataCollector into one module to create single entrypoint for data collection
      • Merchants should use the new collectDeviceData function for data collection which will now return a completion with either device data or an error
    • BraintreeApplePay
      • Move category extension of BTConfiguration into BraintreeCore
    • BraintreeUnionPay
      • Move category extension of BTConfiguration into BraintreeCore
    • BraintreeThreeDSecure
      • Move category extension of BTConfiguration into BraintreeCore