Releases: braintree/braintree_ios
Releases · braintree/braintree_ios
5.21.0
- Add missed deprecation warnings to
BTCardRequest
Union Pay properties - Update Cardinal SDK to version 2.2.5-6
- BraintreePayPalNativeCheckout (BETA)
- Expose
payerID
property onBTPayPalNativeCheckoutAccountNonce
publicly - Expose all properties on
BTPayPalNativeCheckoutAccountNonce
to Objective-C
- Expose
5.20.1
- BraintreePayPalNativeCheckout (BETA)
- Fix bug where some request dictionaries were being constructed incorrectly
- Fix bug where passing
BTPayPalNativeVaultRequest.shippingAddressOverride
asnil
was incorrectly throwing an error
6.0.0-beta2
- Convert
BraintreePayPal
module to Swift - Breaking Changes
- BraintreePayPal
- Rename
BTPayPalRequest.riskCorrelationId
toBTPayPalRequest.riskCorrelationID
- Removed
BTPayPalRequest.activeWindow
property- The window will be set to the first window or a new
ASPresentationAnchor
if the first window isnil
- The window will be set to the first window or a new
- Update
BTPayPalRequestLandingPageType
enum default case to.none
- Update enum values
.none
= 0.login
= 1.billing
= 2
- Update enum values
BTPayPalRequestUserAction
- Update enum cases to
.none
and.payNow
- Update enum values
.none
= 0.payNow
= 1
- Update enum cases to
- Update
BTPayPalRequestIntent
enum values.authorize
= 0.sale
= 1.order
= 2
- Update
BTPayPalLineItemKind
enum values.debit
= 0.credit
= 1
- Create
BTPayPalLocaleCode
enum BTPayPalRequest.localeCode
now uses theBTPayPalLocaleCode
enum instead of aString
- Renamed and replaced
BTPayPalClient.tokenizePayPalAccount
with two methods calledtokenize()
taking in requests of eitherBTPayPalCheckoutRequest
orBTPayPalVaultRequest
- Removed
BTPayPalErrorType
- Replaced
BTPayPalErrorDomain
global constant withBTPayPalError.errorDomain
- Added
BTPayPalError
.disabled
.canceled
.fetchConfigurationFailed
.httpPostRequestError
.invalidURL
.asWebAuthenticationSessionURLInvalid
.invalidURLAction
.failedToCreateNonce
- Make
BTPayPalNonce
initializer internal
- Rename
- BraintreePayPalNativeCheckout (BETA)
- Renamed and replaced
BTPayPalNativeCheckoutClient.tokenizePayPalAccount
with two methods calledtokenize()
taking in requests of eitherBTPayPalNativeCheckoutRequest
orBTPayPalNativeVaultRequest
BTPayPalNativeCheckoutRequest
now takes in anintent
of typeBTPayPalRequestIntent
instead ofBTPayPalNativeRequestIntent
BTPayPalNativeCheckoutRequest.localeCode
now uses theBTPayPalLocaleCode
enum instead of aString
value
- Renamed and replaced
- BraintreeUnionPay
- Remove
BraintreeUnionPay
module- UnionPay cards can now be processed as regular cards (through the BraintreeCard module) due to their partnership with Discover
- Remove
- BraintreeCore
- Remove
BTConfiguration+Extensions.isUnionPayEnabled
property - Remove
BTPreferredPaymentMethods
andBTPreferredPaymentMethodResult
- Remove
- BraintreeSEPADirectDebit
- The
tokenize
method no longer takes in acontext
parameter - Merchants no longer need to conform to the
ASWebAuthenticationPresentationContextProviding
protocol
- The
- BraintreePayPal
5.20.0
- BraintreeThreeDSecure
- Add
requestedExemptionType
toBTThreeDSecureRequest
- Add
5.19.0
- BraintreePayPalNativeCheckout (BETA)
- Update NativeCheckout version from 0.108.0 to 0.110.0
- Fix issue with multiple clientIDs causing incorrect web fallback
6.0.0-beta1
- 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
5.18.0
- Deprecate Kount Custom integrations
- Deprecate the
BraintreeUnionPay
module and containing classes- UnionPay cards can now be processed as regular cards (through the
BraintreeCard
module) due to their partnership with Discover
- UnionPay cards can now be processed as regular cards (through the
5.17.0
- BraintreePayPalNativeCheckout (BETA)
- Fix CocoaPods bug emitting "Cannot find interface declaration" error (CocoaPods issue #11672)
- Rename
riskCorrelationId
toriskCorrelationID
- Rename
nativeRequest
torequest
internally intokenizePayPalAccount
tokenizePayPalAccount
now takes in arequest
of typeBTPayPalNativeRequest
instead of anativeRequest
of typeBTPayPalRequest
5.16.0
- BraintreePayPalDataCollector
- Update PPRiskMagnes with a version of 5.4.0 with
ENABLE_BITCODE
removed- The App Store no longer accepts bitcode submissions from Xcode 14
- This version of PPRiskMagnes drops support for Xcode 12 and requires Swift 5.5+
- This version of the PPRiskMagnes framework is dynamic. This reverts a breaking change that was introduced in minor version 5.8.0 (See GitHub issue #920).
- Update PPRiskMagnes with a version of 5.4.0 with
5.15.0
- BraintreePayPalNativeCheckout (BETA)
- Fix
merchant_account_id
andcorrelation_id
keys to be nested at the top level of the internal create order request - Update Package.swift to fetch
PayPalCheckout
binary dependency directly instead of hosting copy inbraintree_ios
repo
- Fix
- BraintreePayPal
- Resolve depreciation warning with
UIApplication.sharedApplication
for iOS 15+ targets (fixes #884)
- Resolve depreciation warning with