6.0.0-beta1
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 singleBraintreeDataCollector
- 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 theclient
parameter instead ofdriver
- Renamed
BTClientMetadataSourceType
toBTClientMetadataSource
- Renamed
BTClientMetadataIntegrationType
toBTClientMetadataIntegration
- Removed static wrapper methods from
BTAppContextSwitcher
- Replaced
BTLogger
withBTLogLevel
andBTLogLevelDescription
- Remove
BTJSONErrorDomain
global constant - Remove
BTJSONErrorCode
- Remove
BTAPIClientErrorDomain
global constant - Add
BTClientTokenError
s.invalidAuthorizationFingerprint
.invalidConfigURL
.invalidFormat
.unsupportedVersion
.failedDecoding
- Add
BTHTTPErrorCode
s.httpResponseInvalid
.urlStringInvalid
.clientApiUrlInvalid
.invalidAuthorizationFingerprint
- Renamed
BTCardNetworkUKMaestro
toBTCardNetworkUkMaestro
inBTCardNetwork
enum
- Renamed
- BraintreeVenmo
- Renamed
BTVenmoDriver
toBTVenmoClient
- Renamed
BTVenmoDriverErrorDomain
toBTVenmoErrorDomain
- Renamed
BTVenmoDriverErrorType
toBTVenmoErrorType
- All errors are now prefixed with
BTVenmoError
instead ofBTVenmoDriverError
- Remove
.unspecified
case fromBTVenmoPaymentMethodUsage
enum - Require
paymentMethodUsage
param inBTVenmoRequest
initializer - Move category extension of
BTConfiguration
intoBraintreeCore
- Renamed
- BraintreePayPal
- Renamed
BTPayPalDriver
toBTPayPalClient
- Renamed
BTPayPalDriverErrorDomain
toBTPayPalErrorDomain
- Renamed
BTPayPalDriverErrorType
toBTPayPalErrorType
- All errors are now prefixed with
BTPayPalError
instead ofBTPayPalDriverError
- Remove
BTPayPalDriver.requestOneTimePayment
in favor ofBTPayPalClient.tokenizePayPalAccount
- Remove
BTPayPalDriver.requestBillingAgreement
in favor ofBTPayPalClient.tokenizePayPalAccount
- Move category extension of
BTConfiguration
intoBraintreeCore
- Renamed
- BraintreeAmericanExpress
- Remove
BTAmericanExpressErrorDomain
global constant - Remove
BTAmericanExpressErrorType
- Make
BTAmericanExpressRewardsBalance
initializer private
- Remove
- BraintreePaymentFlow
- Renamed
BTPaymentFlowDriver
toBTPaymentFlowClient
- Renamed
BTPaymentFlowDriverErrorDomain
toBTPaymentFlowErrorDomain
- Renamed
BTPaymentFlowDriverErrorType
toBTPaymentFlowErrorType
- All errors are now prefixed with
BTPaymentFlowError
instead ofBTPaymentFlowDriverError
- Renamed
BTPaymentFlowDriverDelegate
protocol toBTPaymentFlowClientDelegate
handleRequest
in delegate protocol now takes inpaymentClientDelegate
parameter instead ofpaymentDriverDelegate
- Move category extension of
BTConfiguration
intoBraintreeCore
- Renamed
- PayPalDataCollector
- Removed
PayPalDataCollector
module in favor of singleBraintreeDataCollector
- Removed
- BraintreeDataCollector
- Kount is no longer supported through the SDK
- Combine
PayPalDataCollector
andBraintreeDataCollector
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
intoBraintreeCore
- Move category extension of
- BraintreeUnionPay
- Move category extension of
BTConfiguration
intoBraintreeCore
- Move category extension of
- BraintreeThreeDSecure
- Move category extension of
BTConfiguration
intoBraintreeCore
- Move category extension of