From df2f9c13aa7c93e32a633838489970a6d44364aa Mon Sep 17 00:00:00 2001 From: Jaime Blasco Date: Tue, 27 Jul 2021 10:51:49 +0200 Subject: [PATCH] Prepare for release 1.2.0 (#235) --- example/pubspec.yaml | 2 +- packages/stripe/CHANGELOG.md | 12 ++++++ packages/stripe/pubspec.yaml | 8 ++-- packages/stripe_android/CHANGELOG.md | 39 +------------------ packages/stripe_android/pubspec.yaml | 2 +- packages/stripe_ios/CHANGELOG.md | 39 +------------------ packages/stripe_ios/pubspec.yaml | 2 +- .../stripe_platform_interface/CHANGELOG.md | 38 +----------------- .../stripe_platform_interface/pubspec.yaml | 2 +- 9 files changed, 23 insertions(+), 121 deletions(-) diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 18a543651..cd70b5888 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -10,7 +10,7 @@ environment: dependencies: flutter: sdk: flutter - flutter_stripe: ^1.1.0 + flutter_stripe: ^1.2.0 pay: ^1.0.1 http: ^0.13.1 diff --git a/packages/stripe/CHANGELOG.md b/packages/stripe/CHANGELOG.md index f281ec639..91408091e 100644 --- a/packages/stripe/CHANGELOG.md +++ b/packages/stripe/CHANGELOG.md @@ -1,3 +1,15 @@ +## 1.2.0 + +** Breaking changes ** +- Rename `confirmPaymentMethod` to `confirmPayment` accordingly with the change in the native SDK + +Other changes +- Sync with latest Stripe sdk. +- Add `StripeException` that encapsulates finer grained and localized error messaging coming from the Stripe SDK. +- Add `CardEditController` to handle the `clear`, `focus`, `blur` methods from the cardfield. +- Implement `FontFamily` on iOS. +- Add `dangerouslyUpdateCardDetails` to allow custom UIs. (Please be sure to understand the severe implications of this approach [here](https://github.com/flutter-stripe/flutter_stripe/blob/9804530572cb054de79574dc3ee8bb758be2c82a/packages/stripe/lib/src/stripe.dart#L325)). + ## 1.1.0 ** Breaking changes ** diff --git a/packages/stripe/pubspec.yaml b/packages/stripe/pubspec.yaml index 666ac0d8c..f24905894 100644 --- a/packages/stripe/pubspec.yaml +++ b/packages/stripe/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_stripe description: Flutter library for Stripe. Supports PaymentSheets, Apple & Google Pay, SCA, PSD2 and much more. -version: 1.1.0 +version: 1.2.0 homepage: https://github.com/flutter-stripe/flutter_stripe repository: https://github.com/flutter-stripe/flutter_stripe @@ -11,9 +11,9 @@ environment: dependencies: flutter: sdk: flutter - stripe_android: ^1.1.0 - stripe_ios: ^1.1.0 - stripe_platform_interface: ^1.1.0 + stripe_android: ^1.2.0 + stripe_ios: ^1.2.0 + stripe_platform_interface: ^1.2.0 dev_dependencies: flutter_test: sdk: flutter diff --git a/packages/stripe_android/CHANGELOG.md b/packages/stripe_android/CHANGELOG.md index 906fcb664..8e1b27374 100644 --- a/packages/stripe_android/CHANGELOG.md +++ b/packages/stripe_android/CHANGELOG.md @@ -1,38 +1 @@ -## 1.1.0 - -** Breaking changes ** -- Make `paymentIntentClientSecret` nullable for SetupPaymentSheetParameters and add setupIntentClientSecret. -- Rename `ThreeDSecureSubmitButtonThemeData` to `ThreeDSecureButtonThemeData` in order to facilitate for a generic class to customise 3D secure buttons. - -Other changes -- Sync with latest Stripe sdk. -- Fix #147 add `urlscheme to initialise method`. Thanks to @dariuspo. -- Improved focus behavior on Cardfield. -- Add `dangerouslyGetFullCardDetails` and `FontFamily` to cardfield. -- Better debug logging in case something goes wrong. - -## 1.0.2 - - - Fix [#68](https://github.com/flutter-stripe/flutter_stripe/issues/68) Android leaks and activity for result propagation - - Add FPX payment method - - Fix [#87](https://github.com/flutter-stripe/flutter_stripe/issues/87) can't create payment method iOS - - Expose apple pay styling options to API - -## 1.0.1+3 - - - Fix: CardField textColor and enablePostalCode params - -## 1.0.1+2 - - - Fix Colors in CardField [#64](https://github.com/flutter-stripe/flutter_stripe/pull/64) - -## 0.0.1+1 - - - Minor fix [#57](https://github.com/flutter-stripe/flutter_stripe/issues/57) - - -## 0.0.1 - Payment Sheet - -Include Payment Sheet - -## 0.0.0 - First Version \ No newline at end of file +This package is in sync with [flutter_stripe](https://pub.dev/packages/flutter_stripe) and its **CHANGELOG** is available [here]((https://pub.dev/packages/flutter_stripe/changelog)) \ No newline at end of file diff --git a/packages/stripe_android/pubspec.yaml b/packages/stripe_android/pubspec.yaml index 99ef65ac1..dfc9b658a 100644 --- a/packages/stripe_android/pubspec.yaml +++ b/packages/stripe_android/pubspec.yaml @@ -1,6 +1,6 @@ name: stripe_android description: Stripe platform implementation for Android -version: 1.1.0 +version: 1.2.0 repository: https://github.com/flutter-stripe/flutter_stripe homepage: https://pub.dev/packages/flutter_stripe diff --git a/packages/stripe_ios/CHANGELOG.md b/packages/stripe_ios/CHANGELOG.md index 283705227..8e1b27374 100644 --- a/packages/stripe_ios/CHANGELOG.md +++ b/packages/stripe_ios/CHANGELOG.md @@ -1,38 +1 @@ -## 1.1.0 - -** Breaking changes ** -- Make `paymentIntentClientSecret` nullable for SetupPaymentSheetParameters and add setupIntentClientSecret. -- Rename `ThreeDSecureSubmitButtonThemeData` to `ThreeDSecureButtonThemeData` in order to facilitate for a generic class to customise 3D secure buttons. - -Other changes -- Sync with latest Stripe sdk. -- Fix #147 add `urlscheme to initialise method`. Thanks to @dariuspo. -- Improved focus behavior on Cardfield. -- Add `dangerouslyGetFullCardDetails` and `FontFamily` to cardfield. -- Better debug logging in case something goes wrong. - -## 1.0.2 - - - Fix [#68](https://github.com/flutter-stripe/flutter_stripe/issues/68) Android leaks and activity for result propagation - - Add FPX payment method - - Fix [#87](https://github.com/flutter-stripe/flutter_stripe/issues/87) can't create payment method iOS - - Expose apple pay styling options to API - -## 1.0.1+3 - - - Fix: CardField textColor and enablePostalCodeparams - -## 1.0.1+2 - - - Fix Colors in CardField [#64](https://github.com/flutter-stripe/flutter_stripe/pull/64) - -## 0.0.1+1 - - - Minor fix [#57](https://github.com/flutter-stripe/flutter_stripe/issues/57) - - -## 0.0.1 - Payment Sheet - -Include Payment Sheet - -## 0.0.0 - First Version \ No newline at end of file +This package is in sync with [flutter_stripe](https://pub.dev/packages/flutter_stripe) and its **CHANGELOG** is available [here]((https://pub.dev/packages/flutter_stripe/changelog)) \ No newline at end of file diff --git a/packages/stripe_ios/pubspec.yaml b/packages/stripe_ios/pubspec.yaml index f2f12c9d3..50af00d85 100644 --- a/packages/stripe_ios/pubspec.yaml +++ b/packages/stripe_ios/pubspec.yaml @@ -1,6 +1,6 @@ name: stripe_ios description: Stripe platform implementation for iOS -version: 1.1.0 +version: 1.2.0 repository: https://github.com/flutter-stripe/flutter_stripe homepage: https://pub.dev/packages/flutter_stripe diff --git a/packages/stripe_platform_interface/CHANGELOG.md b/packages/stripe_platform_interface/CHANGELOG.md index 585f1b0b8..8e1b27374 100644 --- a/packages/stripe_platform_interface/CHANGELOG.md +++ b/packages/stripe_platform_interface/CHANGELOG.md @@ -1,37 +1 @@ -## 1.1.0 - -** Breaking changes ** -- Make `paymentIntentClientSecret` nullable for SetupPaymentSheetParameters and add setupIntentClientSecret. -- Rename `ThreeDSecureSubmitButtonThemeData` to `ThreeDSecureButtonThemeData` in order to facilitate for a generic class to customise 3D secure buttons. - -Other changes -- Sync with latest Stripe sdk. -- Fix #147 add `urlscheme to initialise method`. Thanks to @dariuspo. -- Improved focus behavior on Cardfield. -- Add `dangerouslyGetFullCardDetails` and `FontFamily` to cardfield. -- Better debug logging in case something goes wrong. - -## 1.0.2 - - - Fix [#68](https://github.com/flutter-stripe/flutter_stripe/issues/68) Android leaks and activity for result propagation - - Add FPX payment method - - Fix [#87](https://github.com/flutter-stripe/flutter_stripe/issues/87) can't create payment method iOS - - Expose apple pay styling options to API - -## 1.0.1+3 - - - Fix: CardField textColor and enablePostalCode params - -## 1.0.1+2 - - - Fix Colors in CardField [#64](https://github.com/flutter-stripe/flutter_stripe/pull/64) - -## 0.0.1+1 - - - Minor fix [#57](https://github.com/flutter-stripe/flutter_stripe/issues/57) - -## 0.0.1 - Payment Sheet - -Include Payment Sheet - -## 0.0.0 - First Version \ No newline at end of file +This package is in sync with [flutter_stripe](https://pub.dev/packages/flutter_stripe) and its **CHANGELOG** is available [here]((https://pub.dev/packages/flutter_stripe/changelog)) \ No newline at end of file diff --git a/packages/stripe_platform_interface/pubspec.yaml b/packages/stripe_platform_interface/pubspec.yaml index 0d6dad250..c90ac0548 100644 --- a/packages/stripe_platform_interface/pubspec.yaml +++ b/packages/stripe_platform_interface/pubspec.yaml @@ -1,6 +1,6 @@ name: stripe_platform_interface description: Platform interface for stripe sdk -version: 1.1.0 +version: 1.2.0 repository: https://github.com/flutter-stripe/flutter_stripe homepage: https://pub.dev/packages/flutter_stripe