Releases: braintree/braintree_ios
Releases · braintree/braintree_ios
5.0.0
- Breaking Changes
- Make
shippingMethod
property onBTThreeDSecureRequest
an enum instead of a string - Remove
BTTokenizationService
- Make
BTPaymentMethodNonceParser
private - Remove
BTAppSwitchDelegate
- Rename
BTAppSwitch
toBTAppContextSwitcher
- Rename
handleAppSwitchReturnURL()
tohandleReturnURL()
- Rename
canHandleAppSwitchReturnURL()
tocanHandleReturnURL()
- Remove
unregisterAppSwitchHandler()
- Rename
- Rename properties to use
ID
instead ofId
:BTAmericanExpressRewardsBalance.requestID
BTCard.merchantAccountID
BTThreeDSecureInfo.acsTransactionID
BTThreeDSecureInfo.dsTransactionID
BTThreeDSecureInfo.threeDSecureAuthenticationID
BTThreeDSecureInfo.threeDSecureServerTransactionID
BTBinData.productID
BTClientMetadata.sessionID
BTConfiguration+DataCollector.kountMerchantID
BTDataCollector.fraudMerchantID
BTPayPalAccountNonce.clientMetadataID
BTPayPalAccountNonce.payerID
BTPayPalRequest.merchantAccountID
BTLocalPaymentRequest.merchantAccountID
BTLocalPaymentResult.clientMetadataID
BTLocalPaymentResult.payerID
BTThreeDSecureAdditionalInformation.accountID
BTThreeDSecureLookup.transactionID
- Rename methods to use
ID
instead ofId
:BTLocalPaymentRequest.localPaymentStarted(request:paymentID:start:)
BTVenmoDriver.authorizeAccount(profileID:vault:completion:)
- Remove
initWithNumber
andinitWithParameters
initializers fromBTCard
- Replace
BTVenmoDriver.authorizeAccount
methods withBTVenmoDriver.tokenizeVenmoAccount
- PayPal
- Update
BTPayPalDriver.requestOneTimePayment
to expect aBTPayPalCheckoutRequest
and deprecate method - Update
BTPayPalDriver.requestBillingAgreement
to expect aBTPayPalVaultRequest
and deprecate method - Remove
offerCredit
fromBTPayPalRequest
(offerPayLater
should be used instead)
- Update
- BraintreeDataCollector
- Remove
BTDataCollectorDelegate
- Remove
BTDataCollector.collectCardFraudData()
- Remove
BTDataCollectorKountErrorDomain
- Remove
- Make
- Add
environment
toBTConfiguration
- Add
BTVenmoRequest
- Update Kount SDK to v4.1.3 (includes arm64 simulator architecture for Apple silicon)
- PayPal
- Fix memory leak in
BTPayPalDriver
- Add
BTPayPalCheckoutRequest
- Add
BTPayPalVaultRequest
- Add
tokenizePayPalAccount
method toBTPayPalDriver
- Add
offerPayLater
andrequestBillingAgreement
toBTPayPalCheckoutRequest
- Fix memory leak in
- Update CardinalMobile.framework to v2.2.5
Note: Includes all changes in 5.0.0-beta2 and 5.0.0-beta1
5.0.0-beta2
- Add SPM support for
BraintreeDataCollector
andBraintreeThreeDSecure
- Add SPM libraries for
KountDataCollector
andPPRiskMagnes
to workaround Xcode bug (addresses #576) - Bump Kount to v4.0.4.3 pre-release (provides an xcframework for SPM)
- Bump PPRiskMagnes to v5.10.0 (resolves #564)
- Fix Xcode 12.3 issue with building PPRiskMagnes.framework for iOS + iOS Simulator
- Add
accountType
toBTThreeDSecureRequest
- Breaking Changes
- Remove
type
andnonce
params onBTApplePayCardNone
initializer - Replace
uiCustomization
withv2UICustomization
onBTThreeDSecureRequest
- Introduce new classes for 3DS2 UI customization:
BTThreeDSecureV2UICustomization
BTThreeDSecureV2ButtonCustomization
BTThreeDSecureV2LabelCustomization
BTThreeDSecureV2TextBoxCustomization
BTThreeDSecureV2ToolbarCustomization
- Default
versionRequested
onBTThreeDSecureRequest
to 3DS2 instead of 3DS1
- Remove
4.37.0
5.0.0-beta1
- Add support for Swift Package Manager (resolves #462)
- Bump Kount to v4.0.4.2 (supports iOS 9.3+)
- Replace deprecated
SecTrustEvaluate
withSecTrustEvaluateWithError
(fixes #536) - Only check if the Venmo app is installed if the BraintreeVenmo module is being used (resolves #231)
- Breaking Changes
- Bump minimum supported deployment target to iOS 12
- Remove deprecated
BraintreeUI
module - Remove all deprecated methods and properties
- Core
- Remove the
localizedDescription
property onBTPaymentMethodNonce
- Update all methods on
BTAppSwitchDelegate
to be optional - Remove
options
andsourceApplication
params onBTAppSwitch
methods
- Remove the
- PaymentFlow
- Update dismiss button style from done to cancel for
SFSafariViewController
s presented via theBTPaymentFlowDriver
. This update applies to both the 3D Secure and Local Payments payment flows. - Remove the
localizedDescription
property onBTLocalPaymentResult
- Remove unused
BTPaymentFlowDriverErrorTypeInvalidRequestURL
option fromBTPaymentFlowDriverErrorDomain
- Update dismiss button style from done to cancel for
- PayPal
- Remove PayPalOneTouch and PayPalUtils modules
- Remove
authorizeAccountWithCompletion
andauthorizeAccountWithAdditionalScopes
methods fromBTPayPalDriver
- Remove
requestOneTimePayment
andrequestBillingAgreement
overloads with customhandler
parameters fromBTPayPalDriver
- Remove
viewControllerPresentingDelegate
property fromBTPayPalDriver
- Remove use of
SFSafariViewController
from PayPal flow - Replace deprecated
SFAuthenticationSession
withASWebAuthenticationSession
in PayPal flow - Update
requestBillingAgreement
andrequestOneTimePayment
completion blocks to return an error when user cancels the PayPal flow - Remove custom URL scheme requirement for PayPal flow
- Update
BTPayPalDriverErrorType
enum- Remove
BTPayPalDriverErrorTypeIntegrationReturnURLScheme
- Remove
BTPayPalDriverErrorTypeAppSwitchFailed
- Remove
BTPayPalDriverErrorTypeInvalidConfiguration
- Remove
- ThreeDSecure
- Remove deprecated
Braintree3DSecure
module - Restructure
BTThreeDSecureResult
andBTThreeDSecureLookup
- Create a stand-alone 3DS module
- Remove deprecated
- PayPalDataCollector
- Add
PPRiskMagnes.framework
andPPRiskMagnes.xcframework
v5.0.1 (requires Swift 5.1+) - Remove
collectPayPalDeviceInfoWithClientMetadataID
method onPayPalDataCollector.h
- Add
4.36.1
- Update CardinalMobile.framework to v2.2.4-1
- Exclude arm64 simulator architectures via Podspec (fixes Drop-In #233)
4.36.0
4.35.0
- Update CardinalMobile.framework to v2.2.3-1
- Add
expirationMonth
andexpirationYear
toBTCardNonce
- Update PPDataCollector
4.34.0
4.33.0
- Add support for iOS 13
SceneDelegate
toBTAppSwitch
- Add
lastFour
property toBTCardNonce
- Make
BTURLUtils.h
public - Add support for authorizing the Braintree SDK with a
PayPalUAT
(universal access token) - Remove
AddressBook.framework
from Podspec (thanks @ignotusverum)