From e27d38c57b24e6aaecf30a0f14b956e2e7dad8f6 Mon Sep 17 00:00:00 2001 From: Till Hellmund Date: Fri, 23 Jun 2023 12:55:43 -0400 Subject: [PATCH] Update changelog and migration guide --- CHANGELOG.md | 4 ++++ MIGRATING.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0993af83330..74a9784ba34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## XX.XX.XX - 2023-XX-XX +### PaymentSheet +[ADDED][6583](https://github.com/stripe/stripe-android/pull/6583) Added dedicated remember methods for `PaymentSheet` and `PaymentSheet.FlowController` for easier integration in Compose. +[DEPRECATED][6583](https://github.com/stripe/stripe-android/pull/6583) Deprecated `PaymentSheetContract` and `PaymentSheetContract.Args`. Use the `PaymentSheet` constructor or new `rememberPaymentSheet` method instead. + ## 20.25.7 - 2023-06-20 ### Financial Connections diff --git a/MIGRATING.md b/MIGRATING.md index 15144d40abf..a9f44128f62 100644 --- a/MIGRATING.md +++ b/MIGRATING.md @@ -1,5 +1,9 @@ # Migration Guide +## Migrating from versions < 20.26.0 +- Changes to `PaymentSheetContract`: + * `PaymentSheetContract` and `PaymentSheetContract.Args` are now deprecated and will be removed in a future release. To create and open a `PaymentSheet`, use the constructor or the new `rememberPaymentSheet()` method. + ## Migrating from versions < 20.5.0 - Changes to `PaymentSheet.Configuration` * `primaryButtonColor` is now deprecated. Please use the new `Appearance` parameter instead: