Skip to content

Commit

Permalink
Merge pull request #275 from stripe-ios/jaimepark/release-21.7.0
Browse files Browse the repository at this point in the history
Bump 21.6.0 -> 21.7.0
  • Loading branch information
davidme-stripe authored Jul 7, 2021
2 parents d236285 + 74462e4 commit 68c36e6
Show file tree
Hide file tree
Showing 475 changed files with 19,475 additions and 5,061 deletions.
2 changes: 1 addition & 1 deletion BuildConfigurations/Version.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
// Instead, edit the `VERSION` file and run `ci_scripts/update_version.sh`
//

CURRENT_PROJECT_VERSION=21.6.0
CURRENT_PROJECT_VERSION=21.7.0
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
## ?????
## 21.7.0 2021-07-07
* Fixes an issue with `additionaDocument` field typo [#1833](https://github.com/stripe/stripe-ios/issues/1833)
* Adds support for WeChat Pay to PaymentMethods
* Weak-links SwiftUI [#1828](https://github.com/stripe/stripe-ios/issues/1828)
* Adds 3DS2 support for Cartes Bancaires
* Fixes an issue with camera rotation during card scanning on iPad
* Fixes an issue where PaymentSheet could cause conflicts when included in an app that also includes PanModal [#1818](https://github.com/stripe/stripe-ios/issues/1818)
* Fixes an issue with building on Xcode 13 [#1822](https://github.com/stripe/stripe-ios/issues/1822)
* Fixes an issue where overriding STPPaymentCardTextField's `brandImage()` func had no effect [#1827](https://github.com/stripe/stripe-ios/issues/1827)
* Fixes documentation typo. (Thanks [iAugux](https://github.com/iAugux))

## 21.6.0 2021-05-27
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Table of contents
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.6.0).
[this link](https://github.com/stripe/stripe-ios/tree/21.7.0).

## Requirements

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

### Examples

- [Prebuilt UI](https://github.com/stripe/stripe-ios/tree/21.6.0/Example/PaymentSheet%20Example)
- [Prebuilt UI](https://github.com/stripe/stripe-ios/tree/21.7.0/Example/PaymentSheet%20Example)
- This example demonstrates how to build a payment flow using our prebuilt UI component integration [`PaymentSheet`](https://stripe.dev/stripe-ios/docs/Classes/PaymentSheet.html).
- [Non-Card Payment Examples](https://github.com/stripe/stripe-ios/tree/21.6.0/Example/Non-Card%20Payment%20Examples)
- [Non-Card Payment Examples](https://github.com/stripe/stripe-ios/tree/21.7.0/Example/Non-Card%20Payment%20Examples)
- This example demonstrates how to use `STPAPIClient` to manually accept various non-card payment methods.

## Card scanning

Our new [PaymentSheet](https://stripe.com/docs/payments/accept-a-payment?platform=ios) UI offers built-in card scanning. To enable card scanning, you'll need to set `NSCameraUsageDescription` in your application's plist, and provide a reason for accessing the camera (e.g. "To scan cards"). Card scanning is supported on devices with iOS 13 or higher.

You can demo this feature in our [PaymentSheet example app](https://github.com/stripe/stripe-ios/tree/21.6.0/Example/PaymentSheet%20Example). When you run the example app on a device, you'll see a "Scan Card" button when adding a new card.
You can demo this feature in our [PaymentSheet example app](https://github.com/stripe/stripe-ios/tree/21.7.0/Example/PaymentSheet%20Example). When you run the example app on a device, you'll see a "Scan Card" button when adding a new card.

## Contributing

Expand Down
4 changes: 2 additions & 2 deletions Stripe.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Pod::Spec.new do |s|

# Do not update s.version directly.
# Instead, update the VERSION file and run ./ci_scripts/update_version.sh
s.version = '21.6.0'
s.version = '21.7.0'

s.summary = 'Stripe is a web-based API for accepting payments online.'
s.license = { :type => 'MIT', :file => 'LICENSE' }
Expand All @@ -15,7 +15,7 @@ Pod::Spec.new do |s|
s.platform = :ios
s.ios.deployment_target = '11.0'
s.swift_version = '5.0'
s.weak_framework = 'SwiftUI'
s.weak_framework = 'SwiftUI'
s.source_files = 'Stripe/*.swift', 'Stripe/PanModal/**/*.swift'
s.ios.resource_bundle = { 'Stripe' => 'Stripe/Resources/**/*.{lproj,json,png,xcassets}' }
s.dependency 'StripeCore', "#{s.version}"
Expand Down
2 changes: 1 addition & 1 deletion Stripe/StripeAPIConfiguration+Version.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Foundation

extension StripeAPIConfiguration {
/// The current version of this library.
static let STPSDKVersion = "21.6.0"
static let STPSDKVersion = "21.7.0"

/*
NOTE: `STPSDKVersion` must be a hard-coded static string instead of
Expand Down
2 changes: 1 addition & 1 deletion StripeCore.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Pod::Spec.new do |s|

# Do not update s.version directly.
# Instead, update the VERSION file and run ./ci_scripts/update_version.sh
s.version = '21.6.0'
s.version = '21.7.0'

s.summary = 'StripeCore contains shared infrastructure used by all Stripe pods. '\
'It is not meant to be used without other Stripe pods.'
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
21.6.0
21.7.0
Loading

0 comments on commit 68c36e6

Please sign in to comment.