6.0.0-beta3
github-actions
released this
18 Apr 16:51
·
0 commits
to d83a7a025a4c01199a86e5a54fb890859c149c64
since this release
- Remove
iosBaseSDK
,iosDeploymentTarget
,iosIdentifierForVendor
,deviceAppGeneratedPersistentUuid
, anddeviceScreenOrientation
fromBTAnalyticsMetadata
- 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
withASWebAuthenticationSession
- Removed
BTViewControllerPresentingDelegate
protocol and correlating methods - Rename
BTLocalPaymentRequest.shippingAddressRequired
toisShippingAddressRequired
- Remove
BTPaymentFlowErrorDomain
global constant &BTPaymentFlowErrorType
- Add
BTPaymentFlowError
cases.noAccountData
= 4.failedToCreateNonce
= 6.fetchConfigurationFailed
= 7.missingRedirectURL
= 8.missingReturnURL
= 9
- Update
BTPaymentFlowError
values.integration
= 3
- Replaced
- BraintreeApplePay
- Rename
BTApplePayClient.tokenizeApplePay(_:completion:)
toBTApplePayClient.tokenize(_:completion:)
- Rename
BTApplePayClient.paymentRequest()
toBTApplePayClient.makePaymentRequest()
- Remove
BTApplePayErrorDomain
global constant - Remove
BTApplePayErrorType
- Make
BTApplePayCardNonce
initializer internal
- Rename
- BraintreeDataCollector
- Update PPRiskMagnes to static XCFramework
- BraintreeVenmo
- Rename
BTVenmoAccountNonce.externalId
toBTVenmoAccountNonce.externalID
- Remove
BTVenmoErrorDomain
global constant - Renamed
BTVenmoClient.tokenizeVenmoAccount(with:completion:)
toBTVenmoClient.tokenize(_:completion:)
- Renamed
BTVenmoClient.isiOSAppAvailableForAppSwitch()
toBTVenmoClient.isVenmoAppInstalled()
- Add new
BTVenmoError
.invalidBodyReturned
.invalidRedirectURL
.fetchConfigurationFailed
- Removed
BTVenmoError.integration
andBTVenmoError.requestURL
- Rename
- BraintreeAmericanExpress
- Rename
BTAmericanExpressClient.getRewardsBalance(forNonce:currencyIsoCode:completion:)
toBTAmericanExpressClient.getRewardsBalance(forNonce:currencyISOCode:completion:)
- Rename
- BraintreeSEPADirectDebit
- Rename
BTSEPADirectDebitClient.tokenize(request:completion:)
toBTSEPADirectDebitClient.tokenize(_:completion:)
- Rename
- BraintreeCard
- Make
BTAuthenticationInsight
initializer internal - Remove
BTCardClientErrorDomain
global constant - Rename
BTCardClient.tokenizeCard(_:completion)
toBTCardClient.tokenize(_:completion:)
- Rename
BTCardClientErrorType
toBTCardError
- Remove unused
BTCardClientErrorType.paymentOptionNotEnabled
- Update enum values:
.unknown
= 0.integration
= 1.customerInputInvalid
= 2.cardAlreadyExists
= 3
- Remove unused
- Make
- BraintreeThreeDSecure
- 3D Secure version 1 is no longer supported
- Removed the following:
BTThreeDSecureV1UICustomization
class,BTThreeDSecureRequest.v1UICustomization
property, andBTThreeDSecureVersion
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
- Add error
- Removed the following:
- 3D Secure version 1 is no longer supported
- BraintreePaymentFlow