Skip to content

Commit

Permalink
Merge pull request #281 from stripe/release-3.3.0
Browse files Browse the repository at this point in the history
Release 3.3.0
  • Loading branch information
mindy-stripe authored Feb 2, 2024
2 parents 1a9a586 + c2162b1 commit f168f80
Show file tree
Hide file tree
Showing 764 changed files with 446,445 additions and 1,406 deletions.
28 changes: 22 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,39 @@ If you are using CocoaPods, update your Podfile:
```
pod 'StripeTerminal', '~> 3.0'
```
# 3.3.0 2024-02-02
* Built with Xcode 15.2, Swift version 5.9.
* New: [`rebootReader`](https://stripe.dev/stripe-terminal-ios/docs/Classes/SCPTerminal.html#/c:objc(cs)SCPTerminal(im)rebootReader:) method to reboot Bluetooth readers.
* New: An optional [`reader:didDisconnect:`](https://stripe.dev/stripe-terminal-ios/docs/Protocols/SCPBluetoothReaderDelegate.html#/c:objc(pl)SCPBluetoothReaderDelegate(im)reader:didDisconnect:) method was added to [`SCPBluetoothReaderDelegate`](https://stripe.dev/stripe-terminal-ios/docs/Protocols/SCPBluetoothReaderDelegate.html#/c:objc(pl)SCPBluetoothReaderDelegate) which provides a new [`SCPDisconnectReason`](https://stripe.dev/stripe-terminal-ios/docs/Enums/SCPDisconnectReason.html) to communicate known reasons why a Bluetooth reader disconnected.
* New: Support refunding payments with the `SCPPaymentIntent.stripeId`.
* _Note for internet reader integrations, this feature requires [reader software version](https://stripe.com/docs/terminal/readers/bbpos-wisepos-e#reader-software-version) `2.19` or later to be installed on your internet reader._
* New: Added support for retrieving and updating reader settings on WisePOS E and Stripe S700 by calling `retrieveReaderSettings` and `setReaderSettings` on `SCPTerminal`.
* Beta: Accessibility settings are provided at this time, allowing text-to-speech via speakers to be turned on and off as needed.
* Please [contact us](mailto:stripe-terminal-betas@stripe.com) if you are interested in joining this beta.
* Beta: Added a [`collectInputs`](https://stripe.com/docs/terminal/features/collect-inputs) method to display forms and collect information from customers.
* If you are interested in joining this beta, please email stripe-terminal-betas@stripe.com.
* Fixes a bug where collected offline payments using a reader that wasn't connected to online first would fail to be forwarded.
* Fixes [#272](https://github.com/stripe/stripe-terminal-ios/issues/272): Removed old note about `discoverReaders` not returning an error when canceled. In 3.x SDKs canceling `discoverReaders` reports `SCPErrorCanceled`.
* Fixes [#251](https://github.com/stripe/stripe-terminal-ios/issues/251): Allow acceptance of Discover cards stored in Apple Pay.
* Fixes [#279](https://github.com/stripe/stripe-terminal-ios/issues/279): Canceling collectPaymentMethod no longer hangs if card was removed early and the reader went back to the tipping input screen.

# 3.2.1 2023-12-18
* Built with Xcode 14.3, Swift version 5.8.
* Fixes [#276](https://github.com/stripe/stripe-terminal-ios/issues/276): Fixes a regression introduced in 3.2.0 where reconnecting to a Bluetooth reader can timeout after disabling and re-enabling Bluetooth on the iOS device.

# 3.2.0 2023-11-13
# 3.2.0 2023-11-17
* Built with Xcode 14.3, Swift version 5.8.
* Update: `retrievePaymentIntent` and `retrieveSetupIntent` no longer require a connected reader.
* Update: Adds `SCPCharge.authorizationCode` to the sdk's [`SCPCharge`](https://stripe.dev/stripe-terminal-ios/docs/Classes/SCPCharge.html) model when it is available.
* Update: Adds `SCPCharge.authorizationCode` to the sdk's [`SCPCharge`](https://stripe.dev/stripe-terminal-ios/docs/Classes/SCPCharge.html) model when it is available.
* _Note for internet reader integrations, this feature requires [reader software version](https://stripe.com/docs/terminal/readers/bbpos-wisepos-e#reader-software-version) `2.18` or later to be installed on your internet reader._
* Update: Added `network` and `wallet` to `SCPCardPresentDetails`.
* Update: Added `paymentMethodId` to `SCPPaymentIntent`.
* Update: The amount of time a reader can be used offline before needing to be activated online has been reduced to 30 days.
* Update: `SCPReaderNetworkStatus` has a new case (`SCPReaderStatusUnknown`) that represents the network status of an internet reader that was discovered while the SDK is operating in offline mode.
* Update: `SCPReaderNetworkStatus` has a new case (`SCPReaderStatusUnknown`) that represents the network status of an internet reader that was discovered while the SDK is operating in offline mode.
* Fix: `SCPSetupIntent.status` is now `SCPSetupIntentStatusRequiresConfirmation` after the payment has been collected.
* Fixes a rare crash when connecting to a Bluetooth reader with a critically low battery.
* Fixes a rare crash when installing a Bluetooth reader update.
* Fixes a bug where cancelPaymentIntent, createSetupIntent, and cancelSetupIntent were not being queued and could error with an unexpected SDK error if called while another command was in progress.
* Fixes a bug where cancelPaymentIntent, createSetupIntent, and cancelSetupIntent were not being queued and could error with an unexpected SDK error if called while another command was in progress.
* Fixes merchant choice routing not updating upon switching reader regions.
* Fixes [#262](https://github.com/stripe/stripe-terminal-ios/issues/262): Initial Bluetooth reader battery level is reported immediately after connecting to the reader.
* Fixes error messaging to not return an unexpected SDK error in some situations when connected to a smart reader.
Expand All @@ -50,7 +66,7 @@ pod 'StripeTerminal', '~> 3.0'
* Built with Xcode 14.3, Swift version 5.8.
* New: Private beta support for offline payments.
* See [Collect payments while offline](https://stripe.com/docs/terminal/features/operate-offline/collect-payments) for details.
* Update: Minimum deployment target updated from iOS 11.0 to iOS 13.0.
* Update: Minimum deployment target updated from iOS 11.0 to iOS 13.0.
* Update: `SCPPaymentIntent.stripeId` is now nullable to support offline payments.
* Update: `Terminal.processPayment` has been renamed to `Terminal.confirmPaymentIntent`.
* Update: `Terminal.processRefund` has been renamed to `Terminal.confirmRefund`.
Expand Down Expand Up @@ -108,7 +124,7 @@ pod 'StripeTerminal', '~> 3.0'
* Added error [`SCPErrorConnectionTokenProviderTimedOut`](https://stripe.dev/stripe-terminal-ios/docs/Enums/SCPError.html#/c:@E@SCPError@SCPErrorConnectionTokenProviderTimedOut). Returned when the [`SCPConnectionTokenProvider`](https://stripe.dev/stripe-terminal-ios/docs/Protocols/SCPConnectionTokenProvider.html#/c:objc(pl)SCPConnectionTokenProvider(im)fetchConnectionToken:) does not call the provided completion block within 60 seconds.
* Throws an error when attempting to use the simulated `.eftposAuDebit` card with an unsupported PaymentIntent capture method. Use this card with the capture method set to `SCPCaptureMethodAutomatic` or `SCPCardPresentCaptureMethodManualPreferred`.
* Added `SCPReaderDisplayMessageCardRemovedTooEarly` sent when a card is removed too early during a contact payment.
* Fixes a bug where the SDK would fail `processPayment` with `SCPErrorDeclinedByStripeAPI` if the WisePad 3 timed out in between `collectPaymentMethod` and `processPayment`. This will now error with `SCPErrorCardReadTimedOut`.
* Fixes a bug where the SDK would fail `processPayment` with `SCPErrorDeclinedByStripeAPI` if the WisePad 3 timed out in between `collectPaymentMethod` and `processPayment`. This will now error with `SCPErrorCardReadTimedOut`.
* Fixes a bug where `SCPReaderEventCardInserted` could be announced multiple times for a single card insert.

# 2.19.1 2023-04-10
Expand Down
Loading

0 comments on commit f168f80

Please sign in to comment.