Skip to content

Commit

Permalink
Release v18.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
csabol-stripe committed Jan 15, 2020
1 parent ffa5dc7 commit 4db71f1
Show file tree
Hide file tree
Showing 334 changed files with 21,932 additions and 5,210 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 18.4.0 2020-01-15
* Adds support for Klarna Pay on Sources API [#1444](https://github.com/stripe/stripe-ios/pull/1444)
* Compresses images using `pngcrush` to reduce SDK size [#1471](https://github.com/stripe/stripe-ios/pull/1471)
* Adds support for CVC recollection in PaymentIntent confirm [#1473](https://github.com/stripe/stripe-ios/pull/1473)
* Fixes a race condition when setting `defaultPaymentMethod` on `STPPaymentOptionsViewController` [#1476](https://github.com/stripe/stripe-ios/pull/1476)

## 18.3.0 2019-12-3
* STPAddCardViewControllerDelegate methods previously removed in v16.0.0 are now marked as deprecated, to help migrating users [#1439](https://github.com/stripe/stripe-ios/pull/1439)
* Fixes an issue where canceling 3DS authentication could leave PaymentIntents in an inaccurate `requires_action` state [#1443](https://github.com/stripe/stripe-ios/pull/1443)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ From left to right: [STPAddCardViewController](https://stripe.dev/stripe-ios/doc
We recommend installing the Stripe iOS SDK using a package manager such as Cocoapods or Carthage. If you link the library manually, use a version from our [releases](https://github.com/stripe/stripe-ios/releases) page.

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/v18.3.0).
[this link](https://github.com/stripe/stripe-ios/tree/v18.4.0).

## Requirements

Expand All @@ -75,11 +75,11 @@ Get started with our [📚 integration guides](https://stripe.com/docs/payments)

There are 3 example apps included in the repository:

- [UI Examples](https://github.com/stripe/stripe-ios/tree/v18.3.0/Example/UI%20Examples).
- [UI Examples](https://github.com/stripe/stripe-ios/tree/v18.4.0/Example/UI%20Examples).
- This example lets you quickly try out the SDK's prebuilt UI components using a mock backend—just build and run!
- [Basic Integration](https://github.com/stripe/stripe-ios/tree/v18.3.0/Example/Basic%20Integration)
- [Basic Integration](https://github.com/stripe/stripe-ios/tree/v18.4.0/Example/Basic%20Integration)
- This example demonstrates how to build a payment flow using our prebuilt UI component integration (`STPPaymentContext`).
- [Non-Card Payment Examples](https://github.com/stripe/stripe-ios/tree/v18.3.0/Example/Non-Card%20Payment%20Examples)
- [Non-Card Payment Examples](https://github.com/stripe/stripe-ios/tree/v18.4.0/Example/Non-Card%20Payment%20Examples)
- This example demonstrates how to use `STPAPIClient` to accept various non-card payment methods.

Check out [stripe-samples](https://github.com/stripe-samples/) for more, including:
Expand All @@ -93,7 +93,7 @@ Check out [stripe-samples](https://github.com/stripe-samples/) for more, includi

To add card scanning capabilities to our prebuilt UI components, [install card.io](https://github.com/card-io/card.io-iOS-SDK#setup) alongside our SDK. You'll also need to set `NSCameraUsageDescription` in your application's plist, and provide a reason for accessing the camera (e.g. "To scan cards").

Demo this in our [Basic Integration example app](https://github.com/stripe/stripe-ios/tree/v18.3.0/Example/Basic&20Integration) by running `./install_cardio.rb`, which will download and install card.io in the project. Now, when you run the example app on a device, you'll see a "Scan Card" button when adding a new card.
Demo this in our [Basic Integration example app](https://github.com/stripe/stripe-ios/tree/v18.4.0/Example/Basic&20Integration) by running `./install_cardio.rb`, which will download and install card.io in the project. Now, when you run the example app on a device, you'll see a "Scan Card" button when adding a new card.

## Contributing

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 = '18.3.0'
s.version = '18.4.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>18.3.0</string>
<string>18.4.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>18.3.0</string>
<string>18.4.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 = @"18.3.0";
static NSString *const STPSDKVersion = @"18.4.0";

@class STPBankAccount, STPBankAccountParams, STPCard, STPCardParams, STPConnectAccountParams;
@class STPPaymentConfiguration, STPPaymentIntentParams, STPSourceParams, STPToken, STPPaymentMethodParams;
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.3.0
18.4.0
40 changes: 28 additions & 12 deletions docs/docs/Categories.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/STPCardValidator.html">STPCardValidator</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/STPConfirmCardOptions.html">STPConfirmCardOptions</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/STPConfirmPaymentMethodOptions.html">STPConfirmPaymentMethodOptions</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/STPConnectAccountAddress.html">STPConnectAccountAddress</a>
</li>
Expand Down Expand Up @@ -154,6 +160,9 @@
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/STPIssuingCardPin.html">STPIssuingCardPin</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/STPKlarnaLineItem.html">STPKlarnaLineItem</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/STPMandateCustomerAcceptanceParams.html">STPMandateCustomerAcceptanceParams</a>
</li>
Expand Down Expand Up @@ -277,6 +286,9 @@
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/STPSourceCardDetails.html">STPSourceCardDetails</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/STPSourceKlarnaDetails.html">STPSourceKlarnaDetails</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/STPSourceOwner.html">STPSourceOwner</a>
</li>
Expand Down Expand Up @@ -455,6 +467,12 @@
<li class="nav-group-task">
<a class="nav-group-task-link" href="Enums/STPIntentActionType.html">STPIntentActionType</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Enums/STPKlarnaLineItemType.html">STPKlarnaLineItemType</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Enums/STPKlarnaPaymentMethods.html">STPKlarnaPaymentMethods</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Enums/STPMandateCustomerAcceptanceType.html">STPMandateCustomerAcceptanceType</a>
</li>
Expand Down Expand Up @@ -732,7 +750,7 @@
<article class="main-content">

<section class="section">
<div class="section-content">
<div class="section-content top-matter">
<h1>Categories</h1>
<p>The following categories are available globally.</p>

Expand All @@ -745,9 +763,11 @@ <h1>Categories</h1>
<div class="task-name-container">
<a name="/STPCardErrorCodeKeys"></a>
<a name="//apple_ref/objc/Section/STPCardErrorCodeKeys" class="dashAnchor"></a>
<a href="#/STPCardErrorCodeKeys">
<h3 class="section-name">STPCardErrorCodeKeys</h3>
</a>
<div class="section-name-container">
<a class="section-name-link" href="#/STPCardErrorCodeKeys"></a>
<h3 class="section-name"><p>STPCardErrorCodeKeys</p>
</h3>
</div>
</div>
<ul class="item-container">
<li class="item">
Expand Down Expand Up @@ -776,15 +796,11 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/stripe/stripe-ios/tree/v18.3.0/Stripe/PublicHeaders/StripeError.h#L164-L176">Show on GitHub</a>
<a href="https://github.com/stripe/stripe-ios/tree/v18.4.0/Stripe/PublicHeaders/StripeError.h#L164-L176">Show on GitHub</a>
</div>
</section>
</div>
</li>
</ul>
</div>
<div class="task-group">
<ul class="item-container">
<li class="item">
<div>
<code>
Expand Down Expand Up @@ -813,7 +829,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/stripe/stripe-ios/tree/v18.3.0/Stripe/PublicHeaders/UINavigationBar+Stripe_Theme.h#L19-L39">Show on GitHub</a>
<a href="https://github.com/stripe/stripe-ios/tree/v18.4.0/Stripe/PublicHeaders/UINavigationBar+Stripe_Theme.h#L19-L39">Show on GitHub</a>
</div>
</section>
</div>
Expand All @@ -826,8 +842,8 @@ <h4>Declaration</h4>
</article>
</div>
<section class="footer">
<p>&copy; 2019 <a class="link" href="https://stripe.com" target="_blank" rel="external">Stripe</a>. All rights reserved. (Last updated: 2019-12-03)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.12.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>&copy; 2020 <a class="link" href="https://stripe.com" target="_blank" rel="external">Stripe</a>. All rights reserved. (Last updated: 2020-01-15)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.1</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</body>
</div>
Expand Down
26 changes: 22 additions & 4 deletions docs/docs/Categories/NSError(Stripe).html
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPCardValidator.html">STPCardValidator</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPConfirmCardOptions.html">STPConfirmCardOptions</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPConfirmPaymentMethodOptions.html">STPConfirmPaymentMethodOptions</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPConnectAccountAddress.html">STPConnectAccountAddress</a>
</li>
Expand Down Expand Up @@ -154,6 +160,9 @@
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPIssuingCardPin.html">STPIssuingCardPin</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPKlarnaLineItem.html">STPKlarnaLineItem</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPMandateCustomerAcceptanceParams.html">STPMandateCustomerAcceptanceParams</a>
</li>
Expand Down Expand Up @@ -277,6 +286,9 @@
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPSourceCardDetails.html">STPSourceCardDetails</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPSourceKlarnaDetails.html">STPSourceKlarnaDetails</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPSourceOwner.html">STPSourceOwner</a>
</li>
Expand Down Expand Up @@ -455,6 +467,12 @@
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums/STPIntentActionType.html">STPIntentActionType</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums/STPKlarnaLineItemType.html">STPKlarnaLineItemType</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums/STPKlarnaPaymentMethods.html">STPKlarnaPaymentMethods</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums/STPMandateCustomerAcceptanceType.html">STPMandateCustomerAcceptanceType</a>
</li>
Expand Down Expand Up @@ -732,7 +750,7 @@
<article class="main-content">

<section class="section">
<div class="section-content">
<div class="section-content top-matter">
<h1>NSError(Stripe)</h1>
<div class="declaration">
<div class="language">
Expand Down Expand Up @@ -804,7 +822,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/v18.3.0/Stripe/PublicHeaders/StripeError.h#L174">Show on GitHub</a>
<a href="https://github.com/stripe/stripe-ios/tree/v18.4.0/Stripe/PublicHeaders/StripeError.h#L174">Show on GitHub</a>
</div>
</section>
</div>
Expand All @@ -817,8 +835,8 @@ <h4>Return Value</h4>
</article>
</div>
<section class="footer">
<p>&copy; 2019 <a class="link" href="https://stripe.com" target="_blank" rel="external">Stripe</a>. All rights reserved. (Last updated: 2019-12-03)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.12.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>&copy; 2020 <a class="link" href="https://stripe.com" target="_blank" rel="external">Stripe</a>. All rights reserved. (Last updated: 2020-01-15)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.1</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</body>
</div>
Expand Down
Loading

0 comments on commit 4db71f1

Please sign in to comment.