Skip to content

Releases: stripe/stripe-ios

Version 13.0.0

26 Apr 18:58
v13.0.0
45b9f53
Compare
Choose a tag to compare

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

16 Mar 22:35
v12.1.2
Compare
Choose a tag to compare
  • Updated the "62..." credit card number BIN range to show a UnionPay icon

Version 12.1.1

22 Feb 19:01
v12.1.1
Compare
Choose a tag to compare
  • Fix issue with apple pay token creation in PaymentContext, introduced by 12.1.0. #899
  • Now matches clang static analyzer settings with Cocoapods, so you won't see any more analyzer issues. #897

Version 12.1.0

05 Feb 20:39
v12.1.0
Compare
Choose a tag to compare
  • Adds createCardSources to STPPaymentConfiguration. 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

31 Jan 00:05
v12.0.1
Compare
Choose a tag to compare
  • Adding Visa Checkout support to STPSourceParams [#889]

v12.0.0

16 Jan 19:40
v12.0.0
Compare
Choose a tag to compare
  • 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

Version 11.5.0

09 Nov 23:03
v11.5.0
Compare
Choose a tag to compare
  • 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 11 PKPaymentAuthorizationViewController #829
  • Fixes a bug in STPRedirectContext which caused SFSafariViewController-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

20 Oct 23:03
v11.4.0
Compare
Choose a tag to compare
  • 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 and updateCustomerWithShipping. If you've implemented a class conforming to STPBackendAPIAdapter, 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

14 Sep 17:01
v11.3.0
Compare
Choose a tag to compare
  • 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 a UINavigationController #786
  • Improves support and compatibility with iOS 11
    • Explicitly disable code coverage generation for compatibility with Carthage in Xcode 9 #795
    • Restore use of native "Back" buttons #789
  • Changes and fixes methods on STPCard, STPCardParams, STPBankAccount, and STPBankAccountParams to bring card objects more in line with the rest of the API. See MIGRATING for further details.
    • STPCard and STPCardParams #760
    • STPBankAccount and STPBankAccountParams #761
  • 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

Version 11.2.0

27 Jul 22:49
v11.2.0
Compare
Choose a tag to compare
  • Adds an option to allow users to delete payment methods from the STPPaymentMethodsViewController. Enabled by default but can disabled using the canDeletePaymentMethods property of STPPaymentConfiguration.
  • Adds a postal code field to STPPaymentCardTextField, configurable with postalCodeEntryEnabled and postalCodePlaceholder. Disabled by default.
  • Adds a new helper method to STPSourceParams for creating single-use Alipay sources.
  • Adds a new example app, "UI Examples", which you can run without any setup to check out our UI components.
  • STPCustomer's shippingAddress property is now correctly annotated as nullable.
  • Removed STPCheckoutUnknownError, STPCheckoutTooManyAttemptsError, and STPCustomerContextMissingKeyProviderError. These errors will no longer occur.