Skip to content

Commit

Permalink
Release v6 (flutter-stripe#990)
Browse files Browse the repository at this point in the history
* chore(release): publish packages

 - stripe_platform_interface@6.0.0

* chore(release): publish packages

 - flutter_stripe_web@2.0.0

* chore(release): publish packages

 - stripe_ios@6.0.0

* chore(release): publish packages

 - stripe_android@6.0.0

* chore(release): publish packages

 - flutter_stripe@6.0.0

* updated changelogs
  • Loading branch information
remonh87 authored Oct 29, 2022
1 parent 98f3f50 commit a908d69
Show file tree
Hide file tree
Showing 11 changed files with 209 additions and 11 deletions.
4 changes: 2 additions & 2 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ environment:
dependencies:
flutter:
sdk: flutter
flutter_stripe: ^5.1.0
flutter_stripe_web: ^1.3.0
flutter_stripe: ^6.0.0
flutter_stripe_web: ^2.0.0
stripe_checkout: ^1.0.0
pay: ^1.0.10
http: ^0.13.1
Expand Down
39 changes: 39 additions & 0 deletions packages/stripe/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,42 @@
## 6.0.0

** Breaking Changes **

- Move `PaymentMethodOptions` out of `PaymentMethodparams` so interface is similar with Stripe sdk.

Before

```dart
await Stripe.instance.confirmPayment(
paymentIntentClientSecret: clientSecret,
data: PaymentMethodParams.card(
paymentMethodData: PaymentMethodData(
billingDetails: billingDetails,
),
options: PaymentMethodOptions(
setupFutureUsage: PaymentIntentsFutureUsage.OffSession : null,
),
),
);
Now
```dart
await Stripe.instance.confirmPayment(
paymentIntentClientSecret: clientSecret,
data: PaymentMethodParams.card(
paymentMethodData: PaymentMethodData(
billingDetails: billingDetails,
),
),
options: PaymentMethodOptions(
setupFutureUsage: PaymentIntentsFutureUsage.OffSession : null,
),
);
```

- Deprecate support for Flutter 2 in order to use the new expensive Androidviews. This improves the overall experience on Android.

## 5.1.0

- Several fixes by the Stripe sdk [v.0.19.0](https://github.com/stripe/stripe-react-native/releases/tag/v0.19.0).
Expand Down
8 changes: 4 additions & 4 deletions packages/stripe/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_stripe
description: Flutter library for Stripe. Supports PaymentSheets, Apple & Google Pay, SCA, PSD2 and much more.
version: 5.1.0
version: 6.0.0
homepage: https://github.com/flutter-stripe/flutter_stripe
repository: https://github.com/flutter-stripe/flutter_stripe

Expand All @@ -21,9 +21,9 @@ flutter:
dependencies:
flutter:
sdk: flutter
stripe_android: ^5.1.0
stripe_ios: ^5.1.0
stripe_platform_interface: ^5.1.0
stripe_android: ^6.0.0
stripe_ios: ^6.0.0
stripe_platform_interface: ^6.0.0
dev_dependencies:
flutter_test:
sdk: flutter
Expand Down
39 changes: 39 additions & 0 deletions packages/stripe_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,42 @@
## 6.0.0

** Breaking Changes **

- Move `PaymentMethodOptions` out of `PaymentMethodparams` so interface is similar with Stripe sdk.

Before

```dart
await Stripe.instance.confirmPayment(
paymentIntentClientSecret: clientSecret,
data: PaymentMethodParams.card(
paymentMethodData: PaymentMethodData(
billingDetails: billingDetails,
),
options: PaymentMethodOptions(
setupFutureUsage: PaymentIntentsFutureUsage.OffSession : null,
),
),
);
Now
```dart
await Stripe.instance.confirmPayment(
paymentIntentClientSecret: clientSecret,
data: PaymentMethodParams.card(
paymentMethodData: PaymentMethodData(
billingDetails: billingDetails,
),
),
options: PaymentMethodOptions(
setupFutureUsage: PaymentIntentsFutureUsage.OffSession : null,
),
);
```

- Deprecate support for Flutter 2 in order to use the new expensive Androidviews. This improves the overall experience on Android.

## 5.1.0

- Several fixes by the Stripe sdk [v.0.19.0](https://github.com/stripe/stripe-react-native/releases/tag/v0.19.0).
Expand Down
2 changes: 1 addition & 1 deletion packages/stripe_android/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: stripe_android
description: Stripe platform implementation for Android
version: 5.1.0
version: 6.0.0
repository: https://github.com/flutter-stripe/flutter_stripe
homepage: https://pub.dev/packages/flutter_stripe

Expand Down
39 changes: 39 additions & 0 deletions packages/stripe_ios/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,42 @@
## 6.0.0

** Breaking Changes **

- Move `PaymentMethodOptions` out of `PaymentMethodparams` so interface is similar with Stripe sdk.

Before

```dart
await Stripe.instance.confirmPayment(
paymentIntentClientSecret: clientSecret,
data: PaymentMethodParams.card(
paymentMethodData: PaymentMethodData(
billingDetails: billingDetails,
),
options: PaymentMethodOptions(
setupFutureUsage: PaymentIntentsFutureUsage.OffSession : null,
),
),
);
Now
```dart
await Stripe.instance.confirmPayment(
paymentIntentClientSecret: clientSecret,
data: PaymentMethodParams.card(
paymentMethodData: PaymentMethodData(
billingDetails: billingDetails,
),
),
options: PaymentMethodOptions(
setupFutureUsage: PaymentIntentsFutureUsage.OffSession : null,
),
);
```

- Deprecate support for Flutter 2.

## 5.1.0

- Several fixes by the Stripe sdk [v.0.19.0](https://github.com/stripe/stripe-react-native/releases/tag/v0.19.0).
Expand Down
2 changes: 1 addition & 1 deletion packages/stripe_ios/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: stripe_ios
description: Stripe platform implementation for iOS
version: 5.1.0
version: 6.0.0
repository: https://github.com/flutter-stripe/flutter_stripe
homepage: https://pub.dev/packages/flutter_stripe

Expand Down
39 changes: 39 additions & 0 deletions packages/stripe_platform_interface/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,42 @@
## 6.0.0

** Breaking Changes **

- Move `PaymentMethodOptions` out of `PaymentMethodparams` so interface is similar with Stripe sdk.

Before

```dart
await Stripe.instance.confirmPayment(
paymentIntentClientSecret: clientSecret,
data: PaymentMethodParams.card(
paymentMethodData: PaymentMethodData(
billingDetails: billingDetails,
),
options: PaymentMethodOptions(
setupFutureUsage: PaymentIntentsFutureUsage.OffSession : null,
),
),
);
Now
```dart
await Stripe.instance.confirmPayment(
paymentIntentClientSecret: clientSecret,
data: PaymentMethodParams.card(
paymentMethodData: PaymentMethodData(
billingDetails: billingDetails,
),
),
options: PaymentMethodOptions(
setupFutureUsage: PaymentIntentsFutureUsage.OffSession : null,
),
);
```

- Deprecate support for Flutter 2 in order to use the new expensive Androidviews. This improves the overall experience on Android.

## 5.1.0

- Several fixes by the Stripe sdk [v.0.19.0](https://github.com/stripe/stripe-react-native/releases/tag/v0.19.0).
Expand Down
2 changes: 1 addition & 1 deletion packages/stripe_platform_interface/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: stripe_platform_interface
description: Platform interface for stripe sdk
version: 5.1.0
version: 6.0.0
repository: https://github.com/flutter-stripe/flutter_stripe
homepage: https://pub.dev/packages/flutter_stripe

Expand Down
42 changes: 42 additions & 0 deletions packages/stripe_web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@
## 2.0.0

** Breaking Changes **

- Move `PaymentMethodOptions` out of `PaymentMethodparams` so interface is similar with Stripe sdk.

Before

```dart
await Stripe.instance.confirmPayment(
paymentIntentClientSecret: clientSecret,
data: PaymentMethodParams.card(
paymentMethodData: PaymentMethodData(
billingDetails: billingDetails,
),
options: PaymentMethodOptions(
setupFutureUsage: PaymentIntentsFutureUsage.OffSession : null,
),
),
);
Now
```dart
await Stripe.instance.confirmPayment(
paymentIntentClientSecret: clientSecret,
data: PaymentMethodParams.card(
paymentMethodData: PaymentMethodData(
billingDetails: billingDetails,
),
),
options: PaymentMethodOptions(
setupFutureUsage: PaymentIntentsFutureUsage.OffSession : null,
),
);
```

- Deprecate support for Flutter 2 in order to use the new expensive Androidviews. This improves the overall experience on Android.

Other changes
- **FIX**: web_checkout (#973).

## 1.3.0
- Sdk updates

Expand Down
4 changes: 2 additions & 2 deletions packages/stripe_web/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_stripe_web
description: Stripe sdk for Flutter web platform.
version: 1.3.0
version: 2.0.0
homepage: https://github.com/flutter-stripe/flutter_stripe

environment:
Expand All @@ -13,7 +13,7 @@ dependencies:
flutter_web_plugins:
sdk: flutter
freezed_annotation: ^2.0.3
stripe_platform_interface: ^5.1.0
stripe_platform_interface: ^6.0.0
js: ^0.6.3

dev_dependencies:
Expand Down

0 comments on commit a908d69

Please sign in to comment.