Initial 21.3.0

This commit is contained in:
David Estes 2021-02-18 13:25:48 -08:00
parent 15dc3870a8
commit bff9b1d392
3 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,11 @@
## 21.3.0 2021-02-18
* Adds support for SwiftUI in custom integration using the `STPPaymentCardTextField.Representable` View and the `.paymentConfirmationSheet()` ViewModifier. See `IntegrationTester` for usage examples.
* Removes the UIViewController requirement from STPApplePayContext, allowing it to be used in SwiftUI.
* Fixes an issue where `STPPaymentOptionsViewController` could fail to register a card. [#1758](https://github.com/stripe/stripe-ios/issues/1758)
* Fixes an issue where some UnionPay test cards were marked as invalid. [#1759](https://github.com/stripe/stripe-ios/issues/1759)
* Updates tests to run on Carthage 0.37 with .xcframeworks.
## 21.2.1 2021-01-29
* Fixed an issue where a payment card text field could resize incorrectly on smaller devices or with certain languages. [#1600](https://github.com/stripe/stripe-ios/issues/1600)
* Fixed an issue where the SDK could always return English strings in certain situations. [#1677](https://github.com/stripe/stripe-ios/pull/1677) (Thanks [glaures-ioki](https://github.com/glaures-ioki)!)

View File

@ -58,7 +58,7 @@ From left to right: [STPAddCardViewController](https://stripe.dev/stripe-ios/doc
We support Cocoapods, Carthage, and Swift Package Manager. If you link the library manually, use a version from our [releases](https://github.com/stripe/stripe-ios/releases) page. Make sure to embed both `Stripe.xcframework` and `Stripe3DS2.xcframework`.
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/21.2.1).
[this link](https://github.com/stripe/stripe-ios/tree/21.3.0).
## Requirements
@ -108,7 +108,7 @@ We welcome contributions of any kind including new features, bug fixes, and docu
### Running Tests
1. Install Carthage (if you have homebrew installed, `brew install carthage`)
1. Install Carthage 0.37 or later (if you have homebrew installed, `brew install carthage`)
2. From the root of the repo, install test dependencies by running `carthage bootstrap --platform ios --configuration Release --no-use-binaries --use-xcframeworks`
3. Open Stripe.xcworkspace
4. Choose the "StripeiOS" scheme with the iPhone 8, iOS 13.7 simulator (required for snapshot tests to pass)

View File

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