Skip to content

Commit

Permalink
Merge pull request #815 from stripe/bg-release-v11.4.0
Browse files Browse the repository at this point in the history
Release 11.4.0
  • Loading branch information
bdorfman-stripe authored Oct 20, 2017
2 parents f65af9d + 09c5b64 commit 9871bc6
Show file tree
Hide file tree
Showing 161 changed files with 3,065 additions and 1,959 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
## 11.x.x 2017-XX-XX

## 11.4.0 2017-10-20
* Restores `[STPCard brandFromString:]` method which was marked as deprecated in a recent version [#801](https://github.com/stripe/stripe-ios/pull/801)
* Adds `[STPBankAccount metadata]` and `[STPCard metadata]` read-only accessors and improves annotation for `[STPSource metadata]` [#808](https://github.com/stripe/stripe-ios/pull/808)
* Un-deprecates `STPBackendAPIAdapter` and all associated methods.
* Un-deprecates `STPBackendAPIAdapter` and all associated methods. [#813](https://github.com/stripe/stripe-ios/pull/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](https://github.com/stripe/stripe-ios/pull/813)
* Adds the ability to set custom footers on view controllers managed by the SDK. [#792](https://github.com/stripe/stripe-ios/pull/792)
* `STPPaymentMethodsViewController` will now display saved card sources in addition to saved card tokens. [#810](https://github.com/stripe/stripe-ios/pull/810)
* Fixes a bug where certain requests would return a generic failed to parse response error instead of the actual API error. [#809](https://github.com/stripe/stripe-ios/pull/809)

## 11.3.0 2017-09-13
* Adds support for creating `STPSourceParams` for P24 source [#779](https://github.com/stripe/stripe-ios/pull/779)
Expand Down
7 changes: 5 additions & 2 deletions MIGRATING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
## Migration Guides

### Migration from versions < 11.3.0
### Migrating from versions < 11.4.0
* The `STPBackendAPIAdapter` protocol and all associated methods are no longer deprecated. We still recommend using `STPCustomerContext` to update a Stripe customer object on your behalf, rather than using your own implementation of `STPBackendAPIAdapter`.

### Migrating from versions < 11.3.0
* Changes to `STPCard`, `STPCardParams`, `STPBankAccount`, and `STPBankAccountParams`
* `STPCard` no longer subclasses from `STPCardParams`. You must now specifically create `STPCardParams` objects to create new tokens.
* `STPBankAccount` no longer subclasses from `STPBankAccountParams`.
Expand All @@ -12,7 +15,7 @@
### Migrating from versions < 11.2.0
* `STPCustomer`'s `shippingAddress` property is now correctly annotated as nullable. Its type is an optional (`STPAddress?`) in Swift.

### Migration from versions < 11.0.0
### Migrating from versions < 11.0.0
- We've greatly simplified the integration for `STPPaymentContext`. In order to migrate to the new `STPPaymentContext` integration using ephemeral keys, you'll need to:
1. On your backend, add a new endpoint that creates an ephemeral key for the Stripe customer associated with your user, and returns its raw JSON. Note that you should _not_ remove the 3 endpoints you added for your initial PaymentContext integration until you're ready to drop support for previous versions of your app.
2. In your app, make your API client class conform to `STPEphemeralKeyProvider` by adding a method that requests an ephemeral key from the endpoint you added in (1).
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 = '11.3.0'
s.version = '11.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>11.3.0</string>
<string>11.4.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>11.3.0</string>
<string>11.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 @@ -20,7 +20,7 @@ FAUXPAS_IGNORED_IN_FILE(APIAvailability)
/**
The current version of this library.
*/
static NSString *const STPSDKVersion = @"11.3.0";
static NSString *const STPSDKVersion = @"11.4.0";

@class STPBankAccount, STPBankAccountParams, STPCard, STPCardParams, STPSourceParams, STPToken, STPPaymentConfiguration;

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
11.3.0
11.4.0
2 changes: 1 addition & 1 deletion ci_scripts/build_documentation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ release_version="$(cat "${script_dir}/../VERSION")"
info "Executing jazzy..."
jazzy \
--config "${script_dir}/../.jazzy.yaml" \
--github_file_prefix "https://github.com/stripe/stripe-ios/tree/v${release_version}"
--github-file-prefix "https://github.com/stripe/stripe-ios/tree/v${release_version}"

# Verify jazzy exit code
jazzy_exit_code="$?"
Expand Down
10 changes: 5 additions & 5 deletions docs/docs/Categories.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
</ul>
</li>
<li class="nav-group-name">
<a class="nav-group-name-link" href="Enums.html">Enums</a>
<a class="nav-group-name-link" href="Enums.html">Enumerations</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a class="nav-group-task-link" href="Enums/STPBankAccountHolderType.html">STPBankAccountHolderType</a>
Expand Down Expand Up @@ -433,7 +433,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/stripe/stripe-ios/tree/v11.3.0/Stripe/PublicHeaders/StripeError.h#L157-L169">Show on GitHub</a>
<a href="https://github.com/stripe/stripe-ios/tree/v11.4.0/Stripe/PublicHeaders/StripeError.h#L157-L169">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -470,7 +470,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/stripe/stripe-ios/tree/v11.3.0/Stripe/PublicHeaders/UINavigationBar+Stripe_Theme.h#L19-L39">Show on GitHub</a>
<a href="https://github.com/stripe/stripe-ios/tree/v11.4.0/Stripe/PublicHeaders/UINavigationBar+Stripe_Theme.h#L19-L39">Show on GitHub</a>
</div>
</section>
</div>
Expand All @@ -483,8 +483,8 @@ <h4>Declaration</h4>
</article>
</div>
<section class="footer">
<p>&copy; 2017 <a class="link" href="https://stripe.com" target="_blank" rel="external">Stripe</a>. All rights reserved. (Last updated: 2017-09-13)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>&copy; 2017 <a class="link" href="https://stripe.com" target="_blank" rel="external">Stripe</a>. All rights reserved. (Last updated: 2017-10-20)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</body>
</div>
Expand Down
8 changes: 4 additions & 4 deletions docs/docs/Categories/NSError(Stripe).html
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
</ul>
</li>
<li class="nav-group-name">
<a class="nav-group-name-link" href="../Enums.html">Enums</a>
<a class="nav-group-name-link" href="../Enums.html">Enumerations</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums/STPBankAccountHolderType.html">STPBankAccountHolderType</a>
Expand Down Expand Up @@ -462,7 +462,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/v11.3.0/Stripe/PublicHeaders/StripeError.h#L167">Show on GitHub</a>
<a href="https://github.com/stripe/stripe-ios/tree/v11.4.0/Stripe/PublicHeaders/StripeError.h#L167">Show on GitHub</a>
</div>
</section>
</div>
Expand All @@ -475,8 +475,8 @@ <h4>Return Value</h4>
</article>
</div>
<section class="footer">
<p>&copy; 2017 <a class="link" href="https://stripe.com" target="_blank" rel="external">Stripe</a>. All rights reserved. (Last updated: 2017-09-13)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>&copy; 2017 <a class="link" href="https://stripe.com" target="_blank" rel="external">Stripe</a>. All rights reserved. (Last updated: 2017-10-20)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</body>
</div>
Expand Down
12 changes: 6 additions & 6 deletions docs/docs/Categories/UINavigationBar(Stripe_Theme).html
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
</ul>
</li>
<li class="nav-group-name">
<a class="nav-group-name-link" href="../Enums.html">Enums</a>
<a class="nav-group-name-link" href="../Enums.html">Enumerations</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums/STPBankAccountHolderType.html">STPBankAccountHolderType</a>
Expand Down Expand Up @@ -453,15 +453,15 @@ <h4>Parameters</h4>
<td>
<div>
<p>the theme to use to style the navigation bar. - see: STPTheme.h
@deprecated Use the <code>stp_theme</code> property instead</p>
@deprecated Use the <code><a href="../Categories/UINavigationBar(Stripe_Theme).html#/c:objc(cs)UINavigationBar(py)stp_theme">stp_theme</a></code> property instead</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="slightly-smaller">
<a href="https://github.com/stripe/stripe-ios/tree/v11.3.0/Stripe/PublicHeaders/UINavigationBar+Stripe_Theme.h#L29">Show on GitHub</a>
<a href="https://github.com/stripe/stripe-ios/tree/v11.4.0/Stripe/PublicHeaders/UINavigationBar+Stripe_Theme.h#L29">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -502,7 +502,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/stripe/stripe-ios/tree/v11.3.0/Stripe/PublicHeaders/UINavigationBar+Stripe_Theme.h#L37">Show on GitHub</a>
<a href="https://github.com/stripe/stripe-ios/tree/v11.4.0/Stripe/PublicHeaders/UINavigationBar+Stripe_Theme.h#L37">Show on GitHub</a>
</div>
</section>
</div>
Expand All @@ -515,8 +515,8 @@ <h4>Declaration</h4>
</article>
</div>
<section class="footer">
<p>&copy; 2017 <a class="link" href="https://stripe.com" target="_blank" rel="external">Stripe</a>. All rights reserved. (Last updated: 2017-09-13)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>&copy; 2017 <a class="link" href="https://stripe.com" target="_blank" rel="external">Stripe</a>. All rights reserved. (Last updated: 2017-10-20)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</body>
</div>
Expand Down
Loading

0 comments on commit 9871bc6

Please sign in to comment.