diff --git a/CHANGELOG b/CHANGELOG index 469f9094a5..fb6642f093 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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. diff --git a/MIGRATING.md b/MIGRATING.md index ba0582e7b2..9677abac4a 100644 --- a/MIGRATING.md +++ b/MIGRATING.md @@ -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. diff --git a/Stripe.podspec b/Stripe.podspec index a2768bf1cf..8fc8f0166c 100644 --- a/Stripe.podspec +++ b/Stripe.podspec @@ -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' diff --git a/Stripe/Info.plist b/Stripe/Info.plist index b2c78ecdb7..d1e255f517 100644 --- a/Stripe/Info.plist +++ b/Stripe/Info.plist @@ -15,7 +15,7 @@ CFBundleSignature ???? CFBundleVersion - 5.1.4 + 6.0.0 NSPrincipalClass CFBundleExecutable diff --git a/Stripe/PublicHeaders/STPAPIClient.h b/Stripe/PublicHeaders/STPAPIClient.h index 64f9a07ae3..d921b3adda 100644 --- a/Stripe/PublicHeaders/STPAPIClient.h +++ b/Stripe/PublicHeaders/STPAPIClient.h @@ -8,7 +8,7 @@ #import -static NSString *const __nonnull STPSDKVersion = @"5.1.4"; +static NSString *const __nonnull STPSDKVersion = @"6.0.0"; @class STPBankAccount, STPBankAccountParams, STPCard, STPCardParams, STPToken;