Skip to content

Commit

Permalink
Merge pull request #997 from stripe/danj/release/v13.1.0
Browse files Browse the repository at this point in the history
Release v13.1.0
  • Loading branch information
csabol-stripe committed Jul 14, 2018
2 parents 5b24841 + 1d39e0d commit a84e0da
Show file tree
Hide file tree
Showing 183 changed files with 13,550 additions and 1,503 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 13.1.0 2018-07-13
* Adds `STPPaymentIntent` to support PaymentIntents. [#985](https://github.com/stripe/stripe-ios/pull/985), [#986](https://github.com/stripe/stripe-ios/pull/986), [#987](https://github.com/stripe/stripe-ios/pull/987), [#988](https://github.com/stripe/stripe-ios/pull/988)
* Reduce `NSURLSession` memory footprint. [#969](https://github.com/stripe/stripe-ios/pull/969)
* Fixes invalid JSON error when deleting `Card` from a `Customer`. [#992](https://github.com/stripe/stripe-ios/pull/992)

## 13.0.3 2018-06-11
* Fixes payment method label overlapping the checkmark, for Amex on small devices [#952](https://github.com/stripe/stripe-ios/pull/952)
* Adds EPS and Multibanco support to `STPSourceParams` [#961](https://github.com/stripe/stripe-ios/pull/961)
Expand Down
2 changes: 1 addition & 1 deletion Example/Custom Integration (ObjC)/Constants.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// This can be found at https://dashboard.stripe.com/account/apikeys
NSString *const StripePublishableKey = nil; // TODO: replace nil with your own value

// To set this up, check out https://github.com/stripe/example-ios-backend/tree/v13.0.3
// To set this up, check out https://github.com/stripe/example-ios-backend/tree/v13.1.0
// This should be in the format https://my-shiny-backend.herokuapp.com
NSString *const BackendBaseURL = nil; // TODO: replace nil with your own value

Expand Down
2 changes: 1 addition & 1 deletion Example/Custom Integration (ObjC)/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ For more details on using Sources, see https://stripe.com/docs/mobile/ios/source
2. Execute `./setup.sh` from the root of the repository to build the necessary dependencies
3. Open `./Stripe.xcworkspace` (not `./Stripe.xcodeproj`) with Xcode
4. Fill in the `stripePublishableKey` constant in `./Example/Custom Integration (ObjC)/Constants.m` with your test "Publishable key" from Stripe. This key should start with `pk_test`.
5. Head to [example-ios-backend](https://github.com/stripe/example-ios-backend/tree/v13.0.3) and click "Deploy to Heroku". Provide your Stripe test "Secret key" as the `STRIPE_TEST_SECRET_KEY` environment variable. This key should start with `sk_test`.
5. Head to [example-ios-backend](https://github.com/stripe/example-ios-backend/tree/v13.1.0) and click "Deploy to Heroku". Provide your Stripe test "Secret key" as the `STRIPE_TEST_SECRET_KEY` environment variable. This key should start with `sk_test`.
6. Fill in the `backendBaseURL` constant in `Constants.m` with the app URL Heroku provides (e.g. "https://my-example-app.herokuapp.com")

After this is done, you can make test payments through the app and see them in your Stripe dashboard.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class CheckoutViewController: UIViewController, STPPaymentContextDelegate {
let stripePublishableKey = ""

// 2) Next, optionally, to have this demo save your user's payment details, head to
// https://github.com/stripe/example-ios-backend/tree/v13.0.3, click "Deploy to Heroku", and follow
// https://github.com/stripe/example-ios-backend/tree/v13.1.0, click "Deploy to Heroku", and follow
// the instructions (don't worry, it's free). Replace nil on the line below with your
// Heroku URL (it looks like https://blazing-sunrise-1234.herokuapp.com ).
let backendBaseURL: String? = nil
Expand Down
2 changes: 1 addition & 1 deletion Example/Standard Integration (Swift)/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ For a detailed guide, see https://stripe.com/docs/mobile/ios/standard
2. Execute `./setup.sh` from the root of the repository to build the necessary dependencies
3. Open `./Stripe.xcworkspace` (not `./Stripe.xcodeproj`) with Xcode
4. Fill in the `stripePublishableKey` constant in `./Example/Standard Integration (Swift)/CheckoutViewController.swift` with your test "Publishable key" from Stripe. This key should start with `pk_test`.
5. Head to [example-ios-backend](https://github.com/stripe/example-ios-backend/tree/v13.0.3) and click "Deploy to Heroku". Provide your Stripe test "Secret key" as the `STRIPE_TEST_SECRET_KEY` environment variable. This key should start with `pk_test`.
5. Head to [example-ios-backend](https://github.com/stripe/example-ios-backend/tree/v13.1.0) and click "Deploy to Heroku". Provide your Stripe test "Secret key" as the `STRIPE_TEST_SECRET_KEY` environment variable. This key should start with `pk_test`.
6. Fill in the `backendBaseURL` constant in `./Example/Standard Integration (Swift)/CheckoutViewController.swift` with the app URL Heroku provides (e.g. "https://my-example-app.herokuapp.com")

After this is done, you can make test payments through the app and see them in your Stripe dashboard.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,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/v13.0.3).
[this link](https://github.com/stripe/stripe-ios/tree/v13.1.0).

## Requirements

Expand Down
2 changes: 1 addition & 1 deletion Stripe.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Stripe'
s.version = '13.0.3'
s.version = '13.1.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'
Expand Down
4 changes: 2 additions & 2 deletions Stripe/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>13.0.3</string>
<string>13.1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>13.0.3</string>
<string>13.1.0</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Stripe/PublicHeaders/STPAPIClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
The current version of this library.
*/
static NSString *const STPSDKVersion = @"13.0.3";
static NSString *const STPSDKVersion = @"13.1.0";

@class STPBankAccount, STPBankAccountParams, STPCard, STPCardParams, STPConnectAccountParams;
@class STPPaymentConfiguration, STPPaymentIntentParams, STPSourceParams, STPToken;
Expand Down
2 changes: 1 addition & 1 deletion Stripe/PublicHeaders/STPEphemeralKeyProvider.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ NS_ASSUME_NONNULL_BEGIN
On your backend, you should create a new ephemeral key for the Stripe customer
associated with your user, and return the raw JSON response from the Stripe API.
For an example Ruby implementation of this API, refer to our example backend:
https://github.com/stripe/example-ios-backend/blob/v13.0.3/web.rb
https://github.com/stripe/example-ios-backend/blob/v13.1.0/web.rb
Back in your iOS app, once you have a response from this API, call the provided
completion block with the JSON response, or an error if one occurred.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
13.0.3
13.1.0
30 changes: 27 additions & 3 deletions docs/docs/Categories.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/STPPaymentContext.html">STPPaymentContext</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/STPPaymentIntent.html">STPPaymentIntent</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/STPPaymentIntentParams.html">STPPaymentIntentParams</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/STPPaymentMethodsViewController.html">STPPaymentMethodsViewController</a>
</li>
Expand Down Expand Up @@ -281,6 +287,15 @@
<li class="nav-group-task">
<a class="nav-group-task-link" href="Enums/STPFilePurpose.html">STPFilePurpose</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Enums/STPPaymentIntentCaptureMethod.html">STPPaymentIntentCaptureMethod</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Enums/STPPaymentIntentConfirmationMethod.html">STPPaymentIntentConfirmationMethod</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Enums/STPPaymentIntentStatus.html">STPPaymentIntentStatus</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Enums/STPPaymentMethodType.html">STPPaymentMethodType</a>
</li>
Expand Down Expand Up @@ -378,9 +393,18 @@
<li class="nav-group-task">
<a class="nav-group-task-link" href="Type Definitions.html#/c:STPBlocks.h@T@STPJSONResponseCompletionBlock">STPJSONResponseCompletionBlock</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Type Definitions.html#/c:STPBlocks.h@T@STPPaymentIntentCompletionBlock">STPPaymentIntentCompletionBlock</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Type Definitions.html#/c:STPRedirectContext.h@T@STPRedirectContextCompletionBlock">STPRedirectContextCompletionBlock</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Type Definitions.html#/c:STPRedirectContext.h@T@STPRedirectContextPaymentIntentCompletionBlock">STPRedirectContextPaymentIntentCompletionBlock</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Type Definitions.html#/c:STPRedirectContext.h@T@STPRedirectContextSourceCompletionBlock">STPRedirectContextSourceCompletionBlock</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Type Definitions.html#/c:STPBlocks.h@T@STPShippingMethodsCompletionBlock">STPShippingMethodsCompletionBlock</a>
</li>
Expand Down Expand Up @@ -461,7 +485,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/stripe/stripe-ios/tree/v13.0.3/Stripe/PublicHeaders/StripeError.h#L157-L169">Show on GitHub</a>
<a href="https://github.com/stripe/stripe-ios/tree/v13.1.0/Stripe/PublicHeaders/StripeError.h#L157-L169">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -498,7 +522,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/stripe/stripe-ios/tree/v13.0.3/Stripe/PublicHeaders/UINavigationBar+Stripe_Theme.h#L19-L39">Show on GitHub</a>
<a href="https://github.com/stripe/stripe-ios/tree/v13.1.0/Stripe/PublicHeaders/UINavigationBar+Stripe_Theme.h#L19-L39">Show on GitHub</a>
</div>
</section>
</div>
Expand All @@ -511,7 +535,7 @@ <h4>Declaration</h4>
</article>
</div>
<section class="footer">
<p>&copy; 2018 <a class="link" href="https://stripe.com" target="_blank" rel="external">Stripe</a>. All rights reserved. (Last updated: 2018-06-11)</p>
<p>&copy; 2018 <a class="link" href="https://stripe.com" target="_blank" rel="external">Stripe</a>. All rights reserved. (Last updated: 2018-07-13)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</body>
Expand Down
28 changes: 26 additions & 2 deletions docs/docs/Categories/NSError(Stripe).html
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPPaymentContext.html">STPPaymentContext</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPPaymentIntent.html">STPPaymentIntent</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPPaymentIntentParams.html">STPPaymentIntentParams</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPPaymentMethodsViewController.html">STPPaymentMethodsViewController</a>
</li>
Expand Down Expand Up @@ -281,6 +287,15 @@
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums/STPFilePurpose.html">STPFilePurpose</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums/STPPaymentIntentCaptureMethod.html">STPPaymentIntentCaptureMethod</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums/STPPaymentIntentConfirmationMethod.html">STPPaymentIntentConfirmationMethod</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums/STPPaymentIntentStatus.html">STPPaymentIntentStatus</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums/STPPaymentMethodType.html">STPPaymentMethodType</a>
</li>
Expand Down Expand Up @@ -378,9 +393,18 @@
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Type Definitions.html#/c:STPBlocks.h@T@STPJSONResponseCompletionBlock">STPJSONResponseCompletionBlock</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Type Definitions.html#/c:STPBlocks.h@T@STPPaymentIntentCompletionBlock">STPPaymentIntentCompletionBlock</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Type Definitions.html#/c:STPRedirectContext.h@T@STPRedirectContextCompletionBlock">STPRedirectContextCompletionBlock</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Type Definitions.html#/c:STPRedirectContext.h@T@STPRedirectContextPaymentIntentCompletionBlock">STPRedirectContextPaymentIntentCompletionBlock</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Type Definitions.html#/c:STPRedirectContext.h@T@STPRedirectContextSourceCompletionBlock">STPRedirectContextSourceCompletionBlock</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Type Definitions.html#/c:STPBlocks.h@T@STPShippingMethodsCompletionBlock">STPShippingMethodsCompletionBlock</a>
</li>
Expand Down Expand Up @@ -484,7 +508,7 @@ <h4>Return Value</h4>
or nil if there was no error information included in the JSON dictionary.</p>
</div>
<div class="slightly-smaller">
<a href="https://github.com/stripe/stripe-ios/tree/v13.0.3/Stripe/PublicHeaders/StripeError.h#L167">Show on GitHub</a>
<a href="https://github.com/stripe/stripe-ios/tree/v13.1.0/Stripe/PublicHeaders/StripeError.h#L167">Show on GitHub</a>
</div>
</section>
</div>
Expand All @@ -497,7 +521,7 @@ <h4>Return Value</h4>
</article>
</div>
<section class="footer">
<p>&copy; 2018 <a class="link" href="https://stripe.com" target="_blank" rel="external">Stripe</a>. All rights reserved. (Last updated: 2018-06-11)</p>
<p>&copy; 2018 <a class="link" href="https://stripe.com" target="_blank" rel="external">Stripe</a>. All rights reserved. (Last updated: 2018-07-13)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</body>
Expand Down
Loading

0 comments on commit a84e0da

Please sign in to comment.