Skip to content

v12.0.0

Compare
Choose a tag to compare
@bg-stripe bg-stripe released this 16 Jan 19:40
· 5375 commits to master since this release
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. #846
  • STPPaymentConfiguration.requiredShippingAddress now is a set of STPContactField objects instead of a PKAddressField 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 when requiredBillingFields = .Zip. #853
  • Fixes a bug in STPPaymentCardTextField. When completely filled out, it ignored calls to becomeFirstResponder. #855
  • STPPaymentContext now has a largeTitleDisplayMode 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's retryLoading method would not re-retrieve the customer object, even after calling STPCustomerContext's clearCachedCustomer method. #863
  • STPPaymentContext's retryLoading 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. #863
  • STPCustomerContext 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 a stripeAccount 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