Skip to content

Commit

Permalink
Changelog: move additive changes from breaking section
Browse files Browse the repository at this point in the history
  • Loading branch information
KunJeongPark committed Nov 14, 2024
1 parent 41b0f03 commit 78878a5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
* Add `vault(vaultRequest:completion(PayPalVaultResult?, CoreSDKError?) -> Void)` to `PayPalWebCheckoutClient`
* Add `start(request:) async throws -> PayPalCheckoutResult`
* Add `vault(vaultRequest:) async throws -> PayPalVaultResult`
* Add `.checkoutCanceled` and `.vaultCanceled` to `PayPalWebCheckoutClientError`
* Rename `PayPalWebCheckoutClientError` to `PayPalError`
* Add `.checkoutCanceledError` and `vaultCanceledError` to `PayPalError`
* Add public static functions `isCheckoutCanceled(Error)` and `isVaultCanceled(Error)` to `PayPalError` to distinguish cancellation errors in PayPal flows.
* Make `PayPalError` public to expose cancellation error handling helpers
* CardPayments
* Replace delegate pattern with completion handlers and Swift concurrency
* Remove `CardDelegate` and `CardVaultDelegate`
Expand All @@ -28,14 +23,19 @@
* Add `vault(request:completion:(CardVaultResult?, CoreSDKError?) -> Void)` to `CardClient`
* Add `approveOrder(request:) async throws -> CardResult`
* Add `vault(vaultRequest:) async throws -> CardVaultResult`
* Add `.threeDSecureCanceled` to `CardClientError`
* Rename `CardClientError` to `CardError`
* Add `threeDSecureCanceledError` to `CardError`
* Add public static function `isThreeDSecureCanceled(Error)` to `CardError` to distinguish cancellation error from threeDSecure verification
* Make `CardError` public to expose cancellation error handling helper
* PayPalWebPayments
* Deprecate `PayPalVaultRequest(url:setupTokenID:)`
* Add `PayPalVaultRequest(setupTokenID:)`
* Add `.checkoutCanceled` and `.vaultCanceled` to `PayPalWebCheckoutClientError`
* Rename `PayPalWebCheckoutClientError` to `PayPalError`
* Add `.checkoutCanceledError` and `vaultCanceledError` to `PayPalError`
* Add public static functions `isCheckoutCanceled(Error)` and `isVaultCanceled(Error)` to `PayPalError` to distinguish cancellation errors in PayPal flows.
* Make `PayPalError` public to expose cancellation error handling helpers
* CardPayments
* Rename `CardClientError` to `CardError`
* Add `threeDSecureCanceledError` to `CardError`
* Add public static function `isThreeDSecureCanceled(Error)` to `CardError` to distinguish cancellation error from threeDSecure verification
* Make `CardError` public to expose cancellation error handling helper

## 1.4.0 (2024-07-09)
* PayPalNativePayments (DEPRECATED)
Expand Down

0 comments on commit 78878a5

Please sign in to comment.