Releases: braintree/braintree_ios
Releases · braintree/braintree_ios
5.23.0
- 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
- 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.
- The callback style version of this function previously returned
- BraintreeCore
- Send
live
instead ofproduction
for themerchant_sdk_env
tag to PayPal's analytics service (FPTI)
- Send
6.4.0
6.3.0
- 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
- Update PayPalCheckout from 0.110.0 to 1.0.0. This is our newly released General Availability version
6.2.0
6.1.0
- 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
- The Braintree SDK is now written in Swift
- Breaking Changes
- All SDK error enums are now internal
- See list of new / updated error cases and codes
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
- 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
.framework
s are no longer supported in Xcode 14.1, please replace all Frameworks with XCFrameworks and use--use-xcframeworks
for all Carthage steps- Multi-architecture platforms are not supported when building framework bundles in Xcode 12+. Prefer building with XCFrameworks).
6.0.0-beta4
- 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 toBraintreeLocalPayment
- BraintreeThreeDSecure
- Add
BTThreeDSecureClient
- Remove
BTPaymentFlowClient+ThreeDSecure
extension - Move
BTPaymentFlowClient+ThreeDSecure
andBTThreeDSecureRequest
methods toBTThreeDSecureClient
- Remove
BTThreeDSecureError.cannotCastRequest
case
- Remove
- Remove dependency on
BraintreePaymentFlow
module
- Add
- BraintreeLocalPayment (formerly named BraintreePaymentFlow)
- Rename
BTPaymentFlowClient
toBTLocalPaymentClient
- Rename
BTPaymentFlowError
toBTLocalPaymentError
- Rename
BTLocalPaymentError.errorDomain
fromBTPaymentFlowErrorDomain
toBTLocalPaymentErrorDomain
- Rename
- Move
BTLocalPaymentRequest
methods toBTLocalPaymentClient
- Add
BTLocalPaymentError
case.webSessionError
= 10
- Rename
- BraintreePayPal
- Add
BTPayPalError
case- Add error
.webSessionError
= 8
- Add error
- Add
- BraintreeCard
- Add
BTCardError
case- Add error
.fetchConfigurationFailed
= 4
- Add error
- Add
- BraintreeSEPADirectDebit
- Add
BTSEPADirectDebitError
case- Add error
.failedToCreateNonce
= 7
- Add error
- Remove
BTSEPADirectDebitError.presentationContextInvalid
- Add
6.0.0-beta3
- 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