From 716dbdfd0581da10c2f1ba1d4c0cffd0d16de5d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mon?= Date: Tue, 30 Jul 2024 15:37:45 +0100 Subject: [PATCH] Release new versions (#1876) * chore(release): publish packages - stripe_platform_interface@11.0.0 * chore(release): publish packages - stripe_android@11.0.0 * chore(release): publish packages - stripe_ios@11.0.0 * chore(release): publish packages - stripe_js@6.0.0 * chore(release): publish packages - flutter_stripe_web@6.0.0 * chore(release): publish packages - flutter_stripe@11.0.0 * changelog messages * add higher kotlin version * fix readme --------- Co-authored-by: Remon --- CHANGELOG.md | 186 ++++++++++++++++++ README.md | 4 +- packages/stripe/CHANGELOG.md | 13 ++ packages/stripe/README.md | 4 +- packages/stripe/pubspec.yaml | 8 +- packages/stripe_android/CHANGELOG.md | 12 ++ packages/stripe_android/pubspec.yaml | 2 +- packages/stripe_ios/CHANGELOG.md | 13 ++ packages/stripe_ios/pubspec.yaml | 2 +- packages/stripe_js/CHANGELOG.md | 13 ++ packages/stripe_js/pubspec.yaml | 2 +- .../stripe_platform_interface/CHANGELOG.md | 13 ++ .../stripe_platform_interface/pubspec.yaml | 2 +- packages/stripe_web/CHANGELOG.md | 18 ++ packages/stripe_web/pubspec.yaml | 6 +- 15 files changed, 283 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72fa9968f..a7a63bd90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,192 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 2024-07-25 + +### Changes + +--- + +Packages with breaking changes: + + - There are no breaking changes in this release. + +Packages with other changes: + + - [`flutter_stripe` - `v11.0.0`](#flutter_stripe---v1100) + +--- + +#### `flutter_stripe` - `v11.0.0` + + - aaa + + +## 2024-07-25 + +### Changes + +--- + +Packages with breaking changes: + + - There are no breaking changes in this release. + +Packages with other changes: + + - [`flutter_stripe_web` - `v6.0.0`](#flutter_stripe_web---v600) + +--- + +#### `flutter_stripe_web` - `v6.0.0` + + - aa + + - **FIX**: Apply dynamic Stripe account ID to confirmPayment method in WebStripe (#1798). + - **FIX**: wait html element load (#1730). + - **FIX**: [WEB]Issue of saving/not saving payment information for future. #1673 (#1674). + - **FIX**: Respect the font color for CardField on web platforms (#1658). + - **FIX**: invalid argument `requires_capture` on web (#1431). + - **FIX**: confirmation redirect and stripeAccountId (#1201). + - **FIX**: apple pay (#1202). + - **FIX**: timeout payment sheet (#1161). + - **FIX**: payment intent error in web (#1010). + - **FIX**: web_checkout (#973). + - **FIX**: implemented handleURLCallback method for iOS iDeal payment. (#939). + - **FEAT**: add retrieveSetupIntent (#1302). + - **FEAT**: release versions (#1283). + - **FEAT**: web fixes and features (#1270). + - **FEAT**: release 9.2.1 (#1262). + - **FEAT**: tokens for web (#1079). + - **FEAT**: stripe js (#1052). + - **FEAT**: update checkout (#582). + + +## 2024-07-25 + +### Changes + +--- + +Packages with breaking changes: + + - There are no breaking changes in this release. + +Packages with other changes: + + - [`stripe_js` - `v6.0.0`](#stripe_js---v600) + - [`flutter_stripe_web` - `v6.0.0-dev.1`](#flutter_stripe_web---v600-dev1) + +Packages with dependency updates only: + +> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project. + + - `flutter_stripe_web` - `v6.0.0-dev.1` + +--- + +#### `stripe_js` - `v6.0.0` + + - aa + + - **FIX**: invalid argument `requires_capture` on web (#1431). + - **FIX**: PaymentConfirmationRedirect enum value (#1221). + - **FIX**: confirmation redirect and stripeAccountId (#1201). + - **FEAT**: release versions (#1283). + - **FEAT**: web fixes and features (#1270). + - **FEAT**: release 9.2.1 (#1262). + - **FEAT**: tokens for web (#1079). + - **FEAT**: stripe js (#1052). + + +## 2024-07-25 + +### Changes + +--- + +Packages with breaking changes: + + - There are no breaking changes in this release. + +Packages with other changes: + + - [`stripe_ios` - `v11.0.0`](#stripe_ios---v1100) + - [`flutter_stripe` - `v10.2.1`](#flutter_stripe---v1021) + +Packages with dependency updates only: + +> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project. + + - `flutter_stripe` - `v10.2.1` + +--- + +#### `stripe_ios` - `v11.0.0` + + - aa + + +## 2024-07-25 + +### Changes + +--- + +Packages with breaking changes: + + - There are no breaking changes in this release. + +Packages with other changes: + + - [`stripe_android` - `v11.0.0`](#stripe_android---v1100) + - [`flutter_stripe` - `v10.2.1`](#flutter_stripe---v1021) + +Packages with dependency updates only: + +> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project. + + - `flutter_stripe` - `v10.2.1` + +--- + +#### `stripe_android` - `v11.0.0` + + - aa + + +## 2024-07-25 + +### Changes + +--- + +Packages with breaking changes: + + - There are no breaking changes in this release. + +Packages with other changes: + + - [`stripe_platform_interface` - `v11.0.0`](#stripe_platform_interface---v1100) + - [`flutter_stripe_web` - `v6.0.0-dev.1`](#flutter_stripe_web---v600-dev1) + - [`flutter_stripe` - `v10.2.1`](#flutter_stripe---v1021) + +Packages with dependency updates only: + +> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project. + + - `flutter_stripe_web` - `v6.0.0-dev.1` + - `flutter_stripe` - `v10.2.1` + +--- + +#### `stripe_platform_interface` - `v11.0.0` + + - a + + - **FIX**: parse unknown error (#1729). + + ## 2024-03-26 ### Changes diff --git a/README.md b/README.md index 1791195d6..10b84ae91 100644 --- a/README.md +++ b/README.md @@ -46,8 +46,8 @@ dart pub add flutter_stripe This plugin requires several changes to be able to work on Android devices. Please make sure you follow all these steps: -1. Use Android 5.0 (API level 21) and above -2. Use Kotlin version 1.5.0 and above: [example](https://github.com/flutter-stripe/flutter_stripe/blob/main/example/android/build.gradle) +1. Use Android 5.0 (API level 21) and above. +2. Use Kotlin version 1.8.0 and above: [example](https://github.com/flutter-stripe/flutter_stripe/blob/main/example/android/build.gradle) 3. Requires Android Gradle plugin 8 and higher 4. Using a descendant of `Theme.AppCompat` for your activity: [example](https://github.com/flutter-stripe/flutter_stripe/blob/main/example/android/app/src/main/res/values/styles.xml#L15), [example night theme](https://github.com/flutter-stripe/flutter_stripe/blob/main/example/android/app/src/main/res/values-night/styles.xml#L16) 5. Using an up-to-date Android gradle build tools version: [example](https://github.com/flutter-stripe/flutter_stripe/blob/main/example/android/build.gradle#L9) and an up-to-date gradle version accordingly: [example](https://github.com/flutter-stripe/flutter_stripe/blob/main/example/android/gradle/wrapper/gradle-wrapper.properties#L6) diff --git a/packages/stripe/CHANGELOG.md b/packages/stripe/CHANGELOG.md index 6dbf2ec72..9577a1942 100644 --- a/packages/stripe/CHANGELOG.md +++ b/packages/stripe/CHANGELOG.md @@ -1,3 +1,16 @@ +## 11.0.0 +**Breaking changes** +- Add support for intentmode setupMode. If you used `IntentMode before` change it to `IntentMode.paymentMode` instead. +- This library now only supports Dart sdk 3.0.0 for mobile and Dart sdk 3.3.0 for web and higher. + +**Features** +- Sync with Stripe [0.38.3](https://github.com/stripe/stripe-react-native/releases/tag/v0.38.3). + +**Fixes** +- #1729 parse unknown error. +- #1837 fix for deferred payment methods. +- #1630 handle next action setup for ios. + ## 10.2.0 **Features** diff --git a/packages/stripe/README.md b/packages/stripe/README.md index 1791195d6..10b84ae91 100644 --- a/packages/stripe/README.md +++ b/packages/stripe/README.md @@ -46,8 +46,8 @@ dart pub add flutter_stripe This plugin requires several changes to be able to work on Android devices. Please make sure you follow all these steps: -1. Use Android 5.0 (API level 21) and above -2. Use Kotlin version 1.5.0 and above: [example](https://github.com/flutter-stripe/flutter_stripe/blob/main/example/android/build.gradle) +1. Use Android 5.0 (API level 21) and above. +2. Use Kotlin version 1.8.0 and above: [example](https://github.com/flutter-stripe/flutter_stripe/blob/main/example/android/build.gradle) 3. Requires Android Gradle plugin 8 and higher 4. Using a descendant of `Theme.AppCompat` for your activity: [example](https://github.com/flutter-stripe/flutter_stripe/blob/main/example/android/app/src/main/res/values/styles.xml#L15), [example night theme](https://github.com/flutter-stripe/flutter_stripe/blob/main/example/android/app/src/main/res/values-night/styles.xml#L16) 5. Using an up-to-date Android gradle build tools version: [example](https://github.com/flutter-stripe/flutter_stripe/blob/main/example/android/build.gradle#L9) and an up-to-date gradle version accordingly: [example](https://github.com/flutter-stripe/flutter_stripe/blob/main/example/android/gradle/wrapper/gradle-wrapper.properties#L6) diff --git a/packages/stripe/pubspec.yaml b/packages/stripe/pubspec.yaml index c014bb7d5..f96dfecf5 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: 10.2.0 +version: 11.0.0 homepage: https://github.com/flutter-stripe/flutter_stripe repository: https://github.com/flutter-stripe/flutter_stripe @@ -22,9 +22,9 @@ dependencies: flutter: sdk: flutter meta: ^1.8.0 - stripe_android: ^10.2.0 - stripe_ios: ^10.2.0 - stripe_platform_interface: ^10.2.0 + stripe_android: ^11.0.0 + stripe_ios: ^11.0.0 + stripe_platform_interface: ^11.0.0 dev_dependencies: flutter_test: sdk: flutter diff --git a/packages/stripe_android/CHANGELOG.md b/packages/stripe_android/CHANGELOG.md index 7f8896449..18f2ab08f 100644 --- a/packages/stripe_android/CHANGELOG.md +++ b/packages/stripe_android/CHANGELOG.md @@ -1,3 +1,15 @@ +## 11.0.0 +**Breaking changes** +- Add support for intentmode setupMode. If you used `IntentMode before` change it to `IntentMode.paymentMode` instead. +- This library now only supports Dart sdk 3.0.0 for mobile and Dart sdk 3.3.0 for web and higher. + +**Features** +- Sync with Stripe [0.38.3](https://github.com/stripe/stripe-react-native/releases/tag/v0.38.3). + +**Fixes** +- #1729 parse unknown error. +- #1837 fix for deferred payment methods. + ## 10.2.1 **Fixes** - Run method channel messages on UI Thread to prevent crash (#1831) diff --git a/packages/stripe_android/pubspec.yaml b/packages/stripe_android/pubspec.yaml index ec4dc5503..520b7eaad 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: 10.2.1 +version: 11.0.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 6dbf2ec72..9577a1942 100644 --- a/packages/stripe_ios/CHANGELOG.md +++ b/packages/stripe_ios/CHANGELOG.md @@ -1,3 +1,16 @@ +## 11.0.0 +**Breaking changes** +- Add support for intentmode setupMode. If you used `IntentMode before` change it to `IntentMode.paymentMode` instead. +- This library now only supports Dart sdk 3.0.0 for mobile and Dart sdk 3.3.0 for web and higher. + +**Features** +- Sync with Stripe [0.38.3](https://github.com/stripe/stripe-react-native/releases/tag/v0.38.3). + +**Fixes** +- #1729 parse unknown error. +- #1837 fix for deferred payment methods. +- #1630 handle next action setup for ios. + ## 10.2.0 **Features** diff --git a/packages/stripe_ios/pubspec.yaml b/packages/stripe_ios/pubspec.yaml index 5fe96258b..f9b6235e0 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: 10.2.0 +version: 11.0.0 repository: https://github.com/flutter-stripe/flutter_stripe homepage: https://pub.dev/packages/flutter_stripe diff --git a/packages/stripe_js/CHANGELOG.md b/packages/stripe_js/CHANGELOG.md index 445713c44..20425e63e 100644 --- a/packages/stripe_js/CHANGELOG.md +++ b/packages/stripe_js/CHANGELOG.md @@ -1,3 +1,16 @@ +## 6.0.0 + + - aa + + - **FIX**: invalid argument `requires_capture` on web (#1431). + - **FIX**: PaymentConfirmationRedirect enum value (#1221). + - **FIX**: confirmation redirect and stripeAccountId (#1201). + - **FEAT**: release versions (#1283). + - **FEAT**: web fixes and features (#1270). + - **FEAT**: release 9.2.1 (#1262). + - **FEAT**: tokens for web (#1079). + - **FEAT**: stripe js (#1052). + ## 3.4.0 **Features** - #1122 Add google pay and apple pay for web diff --git a/packages/stripe_js/pubspec.yaml b/packages/stripe_js/pubspec.yaml index 0c6c711bc..40357307e 100644 --- a/packages/stripe_js/pubspec.yaml +++ b/packages/stripe_js/pubspec.yaml @@ -1,6 +1,6 @@ name: stripe_js description: Stripe.js bindings for dart. This package is used by Stripe web so that the Stripe js sdk can be invoked directly. -version: 6.0.0-dev.0 +version: 6.0.0 homepage: https://github.com/flutter-stripe/flutter_stripe environment: diff --git a/packages/stripe_platform_interface/CHANGELOG.md b/packages/stripe_platform_interface/CHANGELOG.md index 6dbf2ec72..9577a1942 100644 --- a/packages/stripe_platform_interface/CHANGELOG.md +++ b/packages/stripe_platform_interface/CHANGELOG.md @@ -1,3 +1,16 @@ +## 11.0.0 +**Breaking changes** +- Add support for intentmode setupMode. If you used `IntentMode before` change it to `IntentMode.paymentMode` instead. +- This library now only supports Dart sdk 3.0.0 for mobile and Dart sdk 3.3.0 for web and higher. + +**Features** +- Sync with Stripe [0.38.3](https://github.com/stripe/stripe-react-native/releases/tag/v0.38.3). + +**Fixes** +- #1729 parse unknown error. +- #1837 fix for deferred payment methods. +- #1630 handle next action setup for ios. + ## 10.2.0 **Features** diff --git a/packages/stripe_platform_interface/pubspec.yaml b/packages/stripe_platform_interface/pubspec.yaml index 5508fcb78..571928add 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: 10.2.0 +version: 11.0.0 repository: https://github.com/flutter-stripe/flutter_stripe homepage: https://pub.dev/packages/flutter_stripe diff --git a/packages/stripe_web/CHANGELOG.md b/packages/stripe_web/CHANGELOG.md index 425986c4d..d9b90429f 100644 --- a/packages/stripe_web/CHANGELOG.md +++ b/packages/stripe_web/CHANGELOG.md @@ -1,3 +1,21 @@ +## 6.0.0 +**Breaking changes** +- Converted the library to the new js interop so this library can be compiled to WASM. +- This library requires Dart sdk 3.3.0 and higher. + +**Features** +- Payment element add support for Apple pay elements. +- Payment element add support for payment method order + +## 6.0.0 +**Breaking changes** +- Converted the library to the new js interop so this library can be compiled to WASM. +- This requires Dart sdk 3.3.0 and higher. + +**Features** +- Payment element add support for Apple pay elements. +- Payment element add support for payment method order + ## 5.1.0 **Features** diff --git a/packages/stripe_web/pubspec.yaml b/packages/stripe_web/pubspec.yaml index 2b7c725fa..52600f693 100644 --- a/packages/stripe_web/pubspec.yaml +++ b/packages/stripe_web/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_stripe_web description: Stripe sdk bindings for the Flutter web platform. This package contains the implementation of the platform interface for web. -version: 6.0.0-dev.0 +version: 6.0.0 homepage: https://github.com/flutter-stripe/flutter_stripe environment: @@ -13,8 +13,8 @@ dependencies: flutter_web_plugins: sdk: flutter freezed_annotation: ^2.0.3 - stripe_platform_interface: ^10.1.1 - stripe_js: ^6.0.0-dev.0 + stripe_platform_interface: ^11.0.0 + stripe_js: ^6.0.0 web: ^0.5.1 dev_dependencies: