Releases: stripe/stripe-ios
Releases · stripe/stripe-ios
Version 13.0.1
13.0.1 2018-05-17
- Fixes an issue in
STPRedirectContext
causing some redirecting sources to fail in livemode due to prematurely dismissing theSFSafariViewController
during the initial redirects. #937
Version 13.0.0
13.0.0 2018-04-26
- Removes Bitcoin source support. See MIGRATING.md. #931
- Adds Masterpass support to
STPSourceParams
#928 - Adds community submitted Norwegian (nb) translation. Thank @Nailer!
- Fixes example app usage of localization files (they were not able to be tested in Finnish and Norwegian before)
- Silences STPAddress deprecation warnings we ignore to stay compatible with older iOS versions
- Fixes "Card IO" link in full SDK reference #913
Version 12.1.2
- Updated the "62..." credit card number BIN range to show a UnionPay icon
Version 12.1.1
Version 12.1.0
- Adds
createCardSources
toSTPPaymentConfiguration
. If you enable this option, when your user adds a card in the SDK's UI, a card source will be created and attached to their Stripe Customer. If this option is disabled (the default), a card token is created. For more information on card sources, see https://stripe.com/docs/sources/cards
Version 12.0.1
- Adding Visa Checkout support to
STPSourceParams
[#889]
v12.0.0
- Minimum supported iOS version is now 9.0.
- If you need to support iOS 8, the last supported version is 11.5.0
- Minimum supported Xcode version is now 9.0
AddressBook
framework support has been removed.STPRedirectContext
will no longer retain itself for the duration of the redirect, you must explicitly maintain a reference to it yourself. #846STPPaymentConfiguration.requiredShippingAddress
now is a set ofSTPContactField
objects instead of aPKAddressField
bitmask. #848- See MIGRATING.md for more information on any of the previously mentioned breaking API changes.
- Pre-built view controllers now layout properly on iPhone X in landscape orientation, respecting
safeAreaInsets
. #854 - Fixes a bug in
STPAddCardViewController
that prevented users in countries without postal codes from adding a card whenrequiredBillingFields = .Zip
. #853 - Fixes a bug in
STPPaymentCardTextField
. When completely filled out, it ignored calls tobecomeFirstResponder
. #855 STPPaymentContext
now has alargeTitleDisplayMode
property, which you can use to control the title display mode in the navigation bar of our pre-built view controllers. #849- Fixes a bug where
STPPaymentContext
'sretryLoading
method would not re-retrieve the customer object, even after callingSTPCustomerContext
'sclearCachedCustomer
method. #863 STPPaymentContext
'sretryLoading
method will now always attempt to retrieve a new customer object, regardless of whether a cached customer object is available. Previously, this method was only intended for recovery from a loading error; if a customer had already been retrieved,retryLoading
would do nothing. #863STPCustomerContext
has a new property:includeApplePaySources
. It is turned off by default. #864- Adds
UITextContentType
support. This turns on QuickType suggestions for the name, email, and address fields; and uses a better keyboard for Payment Card fields. #870 - Fixes a bug that prevented redirects to the 3D Secure authentication flow when it was optional. #878
STPPaymentConfiguration
now has astripeAccount
property, which can be used to make API requests on behalf of a Connected account. #875- Adds
- [STPAPIClient createTokenWithConnectAccount:completion:]
, which creates Tokens for Connect Accounts: (optionally) accepting the Terms of Service, and sending information about the legal entity. #876 - Fixes an iOS 11 bug in
STPPaymentCardTextField
that blocked tapping on the number field while editing the expiration or CVC on narrow devices (4" screens). #883
Version 11.5.0
- Adds a new helper method to
STPSourceParams
for creating reusable Alipay sources. #811 - Silences spurious availability warnings when using Xcode9 #823
- Auto capitalizes currency code when using
paymentRequestWithMerchantIdentifier
to improve compatibility with iOS 11PKPaymentAuthorizationViewController
#829 - Fixes a bug in
STPRedirectContext
which causedSFSafariViewController
-based redirects to incorrectly dismiss when switching apps. #833 - Fixes a bug that incorrectly offered users the option to "Use Billing Address" on the shipping address screen when there was no existing billing address to fill in. #834
Version 11.4.0
- Restores
[STPCard brandFromString:]
method which was marked as deprecated in a recent version #801 - Adds
[STPBankAccount metadata]
and[STPCard metadata]
read-only accessors and improves annotation for[STPSource metadata]
#808 - Un-deprecates
STPBackendAPIAdapter
and all associated methods. #813 - The
STPBackendAPIAdapter
protocol now includes two optional methods,detachSourceFromCustomer
andupdateCustomerWithShipping
. If you've implemented a class conforming toSTPBackendAPIAdapter
, you may add implementations of these methods to support deleting cards from a customer and saving shipping info to a customer. #813 - Adds the ability to set custom footers on view controllers managed by the SDK. #792
STPPaymentMethodsViewController
will now display saved card sources in addition to saved card tokens. #810- Fixes a bug where certain requests would return a generic failed to parse response error instead of the actual API error. #809
Version 11.3.0
- Adds support for creating
STPSourceParams
for P24 source #779 - Adds support for native app-to-app Alipay redirects #783
- Fixes crash when
paymentContext.hostViewController
is set to aUINavigationController
#786 - Improves support and compatibility with iOS 11
- Changes and fixes methods on
STPCard
,STPCardParams
,STPBankAccount
, andSTPBankAccountParams
to bring card objects more in line with the rest of the API. See MIGRATING for further details. - Adds nullability annotations to
STPPaymentMethod
protocol #753 - Improves the
[STPAPIResponseDecodable allResponseFields]
by removing all instances of[NSNull null]
including ones that are nested. See MIGRATING.md. #747