This commit is contained in:
Jack Flintermann 2015-10-19 20:17:57 -04:00
parent fe1043bb87
commit d65dc2f52f
5 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,6 @@
== 6.0.0 2015-10-19
* Splits logic in STPCard into 2 classes - STPCard and STPCardParams. STPCardParams is for making requests to the Stripe API, while STPCard represents the response (you'll almost certainly want just to replace any usage of STPCard in your app with STPCardParams). This also applies to STPBankAccount and the newly-created STPBankAccountParams.
== 5.1.0 2015-08-17
* Adds STPPaymentCardTextField, a new version of github.com/stripe/PaymentKit featuring many bugfixes. It's useful if you need a pre-built credit card entry form.
* Adds the currency param to STPCard for those using managed accounts & debit card payouts.

View File

@ -1,5 +1,9 @@
## Migration Guides
### Migrating from versions < 6.0
6.0 moves most of the contents of `STPCard` into a new class, `STPCardParams`, which represents a request to the Stripe API. `STPCard` now only refers to responses from the Stripe API. Most apps should be able to simply replace all usage of `STPCard` with `STPCardParams` - you should only use `STPCard if you're dealing with an API response, e.g. a card attached to an `STPToken`. This renaming has been done in a way that will avoid breaking changes, although using `STPCard`s to make requests to the Stripe API will produce deprecation warnings.
### Migrating from versions < 5.0
5.0 deprecates our native Stripe Checkout adapters. If you were using these, we recommend building your own credit card form instead. If you need help with this, please contact support@stripe.com.

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Stripe'
s.version = '5.1.4'
s.version = '6.0.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'

View File

@ -15,7 +15,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>5.1.4</string>
<string>6.0.0</string>
<key>NSPrincipalClass</key>
<string></string>
<key>CFBundleExecutable</key>

View File

@ -8,7 +8,7 @@
#import <Foundation/Foundation.h>
static NSString *const __nonnull STPSDKVersion = @"5.1.4";
static NSString *const __nonnull STPSDKVersion = @"6.0.0";
@class STPBankAccount, STPBankAccountParams, STPCard, STPCardParams, STPToken;