From ea3624e6bc88f3787457e093ead9b4d8be46effe Mon Sep 17 00:00:00 2001 From: Joey Dong Date: Wed, 13 Sep 2017 16:10:21 -0700 Subject: [PATCH 1/2] Prepare v11.3.0 --- CHANGELOG.md | 3 +- README.md | 2 +- Stripe.podspec | 2 +- Stripe/Info.plist | 4 +- Stripe/PublicHeaders/STPAPIClient.h | 12 +- VERSION | 2 +- docs/docs/Categories.html | 156 ++- docs/docs/Categories/NSError(Stripe).html | 483 ++++++++++ .../UINavigationBar(Stripe_Theme).html | 122 ++- docs/docs/Classes.html | 340 +++++-- docs/docs/Classes/STPAPIClient.html | 146 ++- .../Classes/STPAddCardViewController.html | 118 ++- docs/docs/Classes/STPAddress.html | 573 ++++++++++- docs/docs/Classes/STPBankAccount.html | 260 +++-- docs/docs/Classes/STPBankAccountParams.html | 151 ++- docs/docs/Classes/STPCard.html | 902 ++++++++++++------ docs/docs/Classes/STPCardParams.html | 371 ++++++- docs/docs/Classes/STPCardValidator.html | 395 ++++++-- docs/docs/Classes/STPCoreViewController.html | 116 ++- docs/docs/Classes/STPCustomer.html | 122 ++- docs/docs/Classes/STPCustomerContext.html | 112 ++- .../docs/Classes/STPCustomerDeserializer.html | 120 ++- docs/docs/Classes/STPFile.html | 643 +++++++++++++ docs/docs/Classes/STPImageLibrary.html | 148 ++- .../STPPaymentActivityIndicatorView.html | 114 ++- .../docs/Classes/STPPaymentCardTextField.html | 198 ++-- .../docs/Classes/STPPaymentConfiguration.html | 128 ++- docs/docs/Classes/STPPaymentContext.html | 264 +++-- .../STPPaymentMethodsViewController.html | 221 ++++- docs/docs/Classes/STPPaymentResult.html | 112 ++- docs/docs/Classes/STPRedirectContext.html | 222 +++-- .../STPShippingAddressViewController.html | 118 ++- docs/docs/Classes/STPSource.html | 177 +++- docs/docs/Classes/STPSourceCardDetails.html | 138 ++- docs/docs/Classes/STPSourceOwner.html | 131 ++- docs/docs/Classes/STPSourceParams.html | 346 +++++-- docs/docs/Classes/STPSourceReceiver.html | 120 ++- docs/docs/Classes/STPSourceRedirect.html | 125 ++- .../Classes/STPSourceSEPADebitDetails.html | 124 ++- docs/docs/Classes/STPSourceVerification.html | 126 ++- docs/docs/Classes/STPTheme.html | 140 ++- docs/docs/Classes/STPToken.html | 122 ++- docs/docs/Classes/STPUserInformation.html | 112 ++- docs/docs/Classes/Stripe.html | 244 ++++- docs/docs/Constants.html | 673 ++++++++++++- docs/docs/Enums.html | 405 ++++++-- docs/docs/Enums/STPBankAccountHolderType.html | 493 ++++++++++ docs/docs/Enums/STPBankAccountStatus.html | 598 ++++++++++++ docs/docs/Enums/STPBillingAddressFields.html | 114 ++- docs/docs/Enums/STPCardBrand.html | 668 +++++++++++++ docs/docs/Enums/STPCardFundingType.html | 563 +++++++++++ docs/docs/Enums/STPCardValidationState.html | 535 +++++++++++ docs/docs/Enums/STPErrorCode.html | 635 ++++++++++++ docs/docs/Enums/STPFilePurpose.html | 533 +++++++++++ docs/docs/Enums/STPPaymentMethodType.html | 125 ++- docs/docs/Enums/STPPaymentStatus.html | 114 ++- docs/docs/Enums/STPRedirectContextState.html | 563 +++++++++++ docs/docs/Enums/STPShippingStatus.html | 112 ++- docs/docs/Enums/STPShippingType.html | 112 ++- .../Enums/STPSourceCard3DSecureStatus.html | 565 +++++++++++ docs/docs/Enums/STPSourceFlow.html | 573 +++++++++++ docs/docs/Enums/STPSourceRedirectStatus.html | 563 +++++++++++ docs/docs/Enums/STPSourceStatus.html | 607 ++++++++++++ docs/docs/Enums/STPSourceType.html | 758 +++++++++++++++ docs/docs/Enums/STPSourceUsage.html | 513 ++++++++++ .../Enums/STPSourceVerificationStatus.html | 563 +++++++++++ docs/docs/Functions.html | 548 +++++++++++ docs/docs/Protocols.html | 189 +++- .../Protocols/STPAPIResponseDecodable.html | 557 +++++++++++ .../STPAddCardViewControllerDelegate.html | 112 ++- docs/docs/Protocols/STPBackendAPIAdapter.html | 120 ++- .../Protocols/STPEphemeralKeyProvider.html | 110 ++- docs/docs/Protocols/STPFormEncodable.html | 122 ++- .../STPPaymentCardTextFieldDelegate.html | 130 ++- .../Protocols/STPPaymentContextDelegate.html | 142 ++- docs/docs/Protocols/STPPaymentMethod.html | 138 ++- ...PPaymentMethodsViewControllerDelegate.html | 141 ++- ...ShippingAddressViewControllerDelegate.html | 114 ++- docs/docs/Protocols/STPSourceProtocol.html | 117 ++- docs/docs/Type Definitions.html | 207 +++- .../Resources/Documents/Categories.html | 156 ++- .../Documents/Categories/NSError(Stripe).html | 483 ++++++++++ .../UINavigationBar(Stripe_Theme).html | 122 ++- .../Contents/Resources/Documents/Classes.html | 340 +++++-- .../Documents/Classes/STPAPIClient.html | 146 ++- .../Classes/STPAddCardViewController.html | 118 ++- .../Documents/Classes/STPAddress.html | 573 ++++++++++- .../Documents/Classes/STPBankAccount.html | 260 +++-- .../Classes/STPBankAccountParams.html | 151 ++- .../Resources/Documents/Classes/STPCard.html | 902 ++++++++++++------ .../Documents/Classes/STPCardParams.html | 371 ++++++- .../Documents/Classes/STPCardValidator.html | 395 ++++++-- .../Classes/STPCoreViewController.html | 116 ++- .../Documents/Classes/STPCustomer.html | 122 ++- .../Documents/Classes/STPCustomerContext.html | 112 ++- .../Classes/STPCustomerDeserializer.html | 120 ++- .../Resources/Documents/Classes/STPFile.html | 643 +++++++++++++ .../Documents/Classes/STPImageLibrary.html | 148 ++- .../STPPaymentActivityIndicatorView.html | 114 ++- .../Classes/STPPaymentCardTextField.html | 198 ++-- .../Classes/STPPaymentConfiguration.html | 128 ++- .../Documents/Classes/STPPaymentContext.html | 264 +++-- .../STPPaymentMethodsViewController.html | 221 ++++- .../Documents/Classes/STPPaymentResult.html | 112 ++- .../Documents/Classes/STPRedirectContext.html | 222 +++-- .../STPShippingAddressViewController.html | 118 ++- .../Documents/Classes/STPSource.html | 177 +++- .../Classes/STPSourceCardDetails.html | 138 ++- .../Documents/Classes/STPSourceOwner.html | 131 ++- .../Documents/Classes/STPSourceParams.html | 346 +++++-- .../Documents/Classes/STPSourceReceiver.html | 120 ++- .../Documents/Classes/STPSourceRedirect.html | 125 ++- .../Classes/STPSourceSEPADebitDetails.html | 124 ++- .../Classes/STPSourceVerification.html | 126 ++- .../Resources/Documents/Classes/STPTheme.html | 140 ++- .../Resources/Documents/Classes/STPToken.html | 122 ++- .../Documents/Classes/STPUserInformation.html | 112 ++- .../Resources/Documents/Classes/Stripe.html | 244 ++++- .../Resources/Documents/Constants.html | 673 ++++++++++++- .../Contents/Resources/Documents/Enums.html | 405 ++++++-- .../Enums/STPBankAccountHolderType.html | 493 ++++++++++ .../Documents/Enums/STPBankAccountStatus.html | 598 ++++++++++++ .../Enums/STPBillingAddressFields.html | 114 ++- .../Documents/Enums/STPCardBrand.html | 668 +++++++++++++ .../Documents/Enums/STPCardFundingType.html | 563 +++++++++++ .../Enums/STPCardValidationState.html | 535 +++++++++++ .../Documents/Enums/STPErrorCode.html | 635 ++++++++++++ .../Documents/Enums/STPFilePurpose.html | 533 +++++++++++ .../Documents/Enums/STPPaymentMethodType.html | 125 ++- .../Documents/Enums/STPPaymentStatus.html | 114 ++- .../Enums/STPRedirectContextState.html | 563 +++++++++++ .../Documents/Enums/STPShippingStatus.html | 112 ++- .../Documents/Enums/STPShippingType.html | 112 ++- .../Enums/STPSourceCard3DSecureStatus.html | 565 +++++++++++ .../Documents/Enums/STPSourceFlow.html | 573 +++++++++++ .../Enums/STPSourceRedirectStatus.html | 563 +++++++++++ .../Documents/Enums/STPSourceStatus.html | 607 ++++++++++++ .../Documents/Enums/STPSourceType.html | 758 +++++++++++++++ .../Documents/Enums/STPSourceUsage.html | 513 ++++++++++ .../Enums/STPSourceVerificationStatus.html | 563 +++++++++++ .../Resources/Documents/Functions.html | 548 +++++++++++ .../Resources/Documents/Protocols.html | 189 +++- .../Protocols/STPAPIResponseDecodable.html | 557 +++++++++++ .../STPAddCardViewControllerDelegate.html | 112 ++- .../Protocols/STPBackendAPIAdapter.html | 120 ++- .../Protocols/STPEphemeralKeyProvider.html | 110 ++- .../Documents/Protocols/STPFormEncodable.html | 122 ++- .../STPPaymentCardTextFieldDelegate.html | 130 ++- .../Protocols/STPPaymentContextDelegate.html | 142 ++- .../Documents/Protocols/STPPaymentMethod.html | 138 ++- ...PPaymentMethodsViewControllerDelegate.html | 141 ++- ...ShippingAddressViewControllerDelegate.html | 114 ++- .../Protocols/STPSourceProtocol.html | 117 ++- .../Resources/Documents/Type Definitions.html | 207 +++- .../Contents/Resources/Documents/index.html | 162 +++- .../Contents/Resources/Documents/search.json | 2 +- .../Contents/Resources/docSet.dsidx | Bin 118784 -> 155648 bytes docs/docs/docsets/Stripe.tgz | Bin 248881 -> 310940 bytes docs/docs/index.html | 162 +++- docs/docs/search.json | 2 +- 160 files changed, 40103 insertions(+), 3634 deletions(-) create mode 100644 docs/docs/Categories/NSError(Stripe).html create mode 100644 docs/docs/Classes/STPFile.html create mode 100644 docs/docs/Enums/STPBankAccountHolderType.html create mode 100644 docs/docs/Enums/STPBankAccountStatus.html create mode 100644 docs/docs/Enums/STPCardBrand.html create mode 100644 docs/docs/Enums/STPCardFundingType.html create mode 100644 docs/docs/Enums/STPCardValidationState.html create mode 100644 docs/docs/Enums/STPErrorCode.html create mode 100644 docs/docs/Enums/STPFilePurpose.html create mode 100644 docs/docs/Enums/STPRedirectContextState.html create mode 100644 docs/docs/Enums/STPSourceCard3DSecureStatus.html create mode 100644 docs/docs/Enums/STPSourceFlow.html create mode 100644 docs/docs/Enums/STPSourceRedirectStatus.html create mode 100644 docs/docs/Enums/STPSourceStatus.html create mode 100644 docs/docs/Enums/STPSourceType.html create mode 100644 docs/docs/Enums/STPSourceUsage.html create mode 100644 docs/docs/Enums/STPSourceVerificationStatus.html create mode 100644 docs/docs/Functions.html create mode 100644 docs/docs/Protocols/STPAPIResponseDecodable.html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Categories/NSError(Stripe).html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPFile.html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPBankAccountHolderType.html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPBankAccountStatus.html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPCardBrand.html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPCardFundingType.html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPCardValidationState.html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPErrorCode.html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPFilePurpose.html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPRedirectContextState.html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPSourceCard3DSecureStatus.html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPSourceFlow.html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPSourceRedirectStatus.html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPSourceStatus.html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPSourceType.html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPSourceUsage.html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPSourceVerificationStatus.html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Functions.html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPAPIResponseDecodable.html diff --git a/CHANGELOG.md b/CHANGELOG.md index ce8ac93c725..18cd7259776 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ -## X.Y.Z 2017-XX-YY +## 11.3.0 2017-09-13 +* Improved support and compatibility with iOS 11 * 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. * Adds nullability annotations to `STPPaymentMethod` protocol * Improves the `[STPAPIResponseDecodable allResponseFields]` by removing all instances of `[NSNull null]` including ones that are nested. See MIGRATING.md. diff --git a/README.md b/README.md index 4d534732f5b..d3d00993c95 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ The Stripe iOS SDK makes it quick and easy to build an excellent payment experie We recommend that you install the Stripe iOS SDK using a package manager such as [Cocoapods or Carthage](https://stripe.com/docs/mobile/ios#getting-started). If you prefer to link the library manually, please use a version from our [releases](https://github.com/stripe/stripe-ios/releases) page because we consider the master branch to be unstable. -If you're reading this on GitHub.com, please make sure you are looking at the [tagged version](https://github.com/stripe/stripe-ios/tags) that corresponds to the release you have installed. Otherwise, the instructions and example code may be mismatched with your copy. You can read the latest tagged version of this README and browse the associated code on GitHub using [this link](https://github.com/stripe/stripe-ios/tree/v11.2.0). +If you're reading this on GitHub.com, please make sure you are looking at the [tagged version](https://github.com/stripe/stripe-ios/tags) that corresponds to the release you have installed. Otherwise, the instructions and example code may be mismatched with your copy. You can read the latest tagged version of this README and browse the associated code on GitHub using [this link](https://github.com/stripe/stripe-ios/tree/v11.3.0). ## Requirements diff --git a/Stripe.podspec b/Stripe.podspec index bc672cbfee1..33dfa0334c0 100644 --- a/Stripe.podspec +++ b/Stripe.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'Stripe' - s.version = '11.2.0' + s.version = '11.3.0' s.summary = 'Stripe is a web-based API for accepting payments online.' s.license = { :type => 'MIT', :file => 'LICENSE' } s.homepage = 'https://stripe.com/docs/mobile/ios' diff --git a/Stripe/Info.plist b/Stripe/Info.plist index 1c1554e90dc..cedb4d63c3d 100644 --- a/Stripe/Info.plist +++ b/Stripe/Info.plist @@ -13,11 +13,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 11.1.0 + 11.3.0 CFBundleSignature ???? CFBundleVersion - 11.1.0 + 11.3.0 NSPrincipalClass diff --git a/Stripe/PublicHeaders/STPAPIClient.h b/Stripe/PublicHeaders/STPAPIClient.h index cb9c34b7856..7d40693139f 100644 --- a/Stripe/PublicHeaders/STPAPIClient.h +++ b/Stripe/PublicHeaders/STPAPIClient.h @@ -20,7 +20,7 @@ FAUXPAS_IGNORED_IN_FILE(APIAvailability) /** The current version of this library. */ -static NSString *const STPSDKVersion = @"11.2.0"; +static NSString *const STPSDKVersion = @"11.3.0"; @class STPBankAccount, STPBankAccountParams, STPCard, STPCardParams, STPSourceParams, STPToken, STPPaymentConfiguration; @@ -192,14 +192,14 @@ static NSString *const STPSDKVersion = @"11.2.0"; + (BOOL)canSubmitPaymentRequest:(PKPaymentRequest *)paymentRequest; /** - Whether or not this can make Apple Pay payments via a card network supported + Whether or not this can make Apple Pay payments via a card network supported by Stripe. - - The Stripe supported Apple Pay card networks are: + + The Stripe supported Apple Pay card networks are: American Express, Visa, Mastercard, Discover. - @return YES if the device is currently able to make Apple Pay payments via one - of the supported networks. NO if the user does not have a saved card of a + @return YES if the device is currently able to make Apple Pay payments via one + of the supported networks. NO if the user does not have a saved card of a supported type, or other restrictions prevent payment (such as parental controls). */ + (BOOL)deviceSupportsApplePay; diff --git a/VERSION b/VERSION index b85c6c7b035..f628d2eafc5 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -11.2.0 +11.3.0 diff --git a/docs/docs/Categories.html b/docs/docs/Categories.html index 787c7a4ccc2..0dc5c756cf4 100644 --- a/docs/docs/Categories.html +++ b/docs/docs/Categories.html @@ -52,6 +52,9 @@