Skip to content

Commit

Permalink
feat: release 9.2.1 (#1262)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesblasco committed May 31, 2023
1 parent b82fa07 commit dcb5856
Show file tree
Hide file tree
Showing 17 changed files with 61 additions and 21 deletions.
6 changes: 3 additions & 3 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ environment:
dependencies:
flutter:
sdk: flutter
flutter_stripe: ^9.2.0
flutter_stripe_web: ^4.1.0
stripe_checkout: ^1.0.0
flutter_stripe: ^9.2.1
flutter_stripe_web: ^4.1.1
stripe_checkout: ^1.0.1
pay: ^1.1.0
http: ^0.13.1
font_awesome_flutter: ^9.2.0
Expand Down
8 changes: 8 additions & 0 deletions packages/stripe/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 9.2.1
**Fixes**
- Move amount value to GooglePayPaymentMethodParams #1255
- iOS: Apple Pay updatePlatformSheet now pass the errors #1230
- iOS: Fixes styling parameter for ApplePayButton #1231
- Android: Fixes bug that to display image in card form #1254
- Sync with Stripe [0.27.1](https://github.com/stripe/stripe-react-native/releases/tag/v0.27.1).

## 9.2.0
**Features**
- Add `BillingDetailsCollectionConfiguration` to payment sheet for collecting addresses.
Expand Down
4 changes: 2 additions & 2 deletions packages/stripe/lib/src/widgets/keep_visible_on_focus.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class _KeepVisibleOnFocusState extends State<KeepVisibleOnFocus>
void onFocusChanged() {
if (widget.focusNode.hasFocus) {
WidgetsBinding.instance.addObserver(this);
_lastBottomViewInset = View.of(context).viewInsets.bottom;
_lastBottomViewInset = MediaQuery.of(context).viewInsets.bottom;
} else {
WidgetsBinding.instance.removeObserver(this);
}
Expand Down Expand Up @@ -61,7 +61,7 @@ class _KeepVisibleOnFocusState extends State<KeepVisibleOnFocus>

@override
void didChangeMetrics() {
final currentBottomViewInsets = View.of(context).viewInsets.bottom;
final currentBottomViewInsets = MediaQuery.of(context).viewInsets.bottom;
if (_lastBottomViewInset != currentBottomViewInsets) {
if (_lastBottomViewInset < currentBottomViewInsets) {
// Because the metrics change signal from engine will come here every frame
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: 9.2.0
version: 9.2.1
homepage: https://github.com/flutter-stripe/flutter_stripe
repository: https://github.com/flutter-stripe/flutter_stripe

Expand All @@ -22,9 +22,9 @@ dependencies:
flutter:
sdk: flutter
meta: ^1.8.0
stripe_android: ^9.2.0
stripe_ios: ^9.2.0
stripe_platform_interface: ^9.2.0
stripe_android: ^9.2.1
stripe_ios: ^9.2.1
stripe_platform_interface: ^9.2.1
dev_dependencies:
flutter_test:
sdk: flutter
Expand Down
8 changes: 8 additions & 0 deletions packages/stripe_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 9.2.1
**Fixes**
- Move amount value to GooglePayPaymentMethodParams #1255
- iOS: Apple Pay updatePlatformSheet now pass the errors #1230
- iOS: Fixes styling parameter for ApplePayButton #1231
- Android: Fixes bug that to display image in card form #1254
- Sync with Stripe [0.27.1](https://github.com/stripe/stripe-react-native/releases/tag/v0.27.1).

## 9.2.0
**Features**
- Add `BillingDetailsCollectionConfiguration` to payment sheet for collecting addresses.
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: 9.2.0
version: 9.2.1
repository: https://github.com/flutter-stripe/flutter_stripe
homepage: https://pub.dev/packages/flutter_stripe

Expand Down
2 changes: 1 addition & 1 deletion packages/stripe_checkout/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 1.0.0
## 1.0.1
** Breaking changes **
- Support for Flutter 3 and support Dart sdk 2.16 and higher.
- Only supports application running on Freezed v2.0.0 and higher
Expand Down
2 changes: 1 addition & 1 deletion packages/stripe_checkout/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: stripe_checkout
description: Create Stripe checkout payment pages for web and mobile
version: 1.0.0
version: 1.0.1
homepage: https://github.com/flutter-stripe/flutter_stripe/

environment:
Expand Down
8 changes: 8 additions & 0 deletions packages/stripe_ios/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 9.2.1
**Fixes**
- Move amount value to GooglePayPaymentMethodParams #1255
- iOS: Apple Pay updatePlatformSheet now pass the errors #1230
- iOS: Fixes styling parameter for ApplePayButton #1231
- Android: Fixes bug that to display image in card form #1254
- Sync with Stripe [0.27.1](https://github.com/stripe/stripe-react-native/releases/tag/v0.27.1).

## 9.2.0
**Features**
- Add `BillingDetailsCollectionConfiguration` to payment sheet for collecting addresses.
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: 9.2.0
version: 9.2.1
repository: https://github.com/flutter-stripe/flutter_stripe
homepage: https://pub.dev/packages/flutter_stripe

Expand Down
2 changes: 1 addition & 1 deletion packages/stripe_js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 3.0.1
## 3.0.1
Fixes PaymentConfirmationRedirect.ifRedirect enum value parsing
## 3.0.0
- Adds support for SetupIntent
Expand Down
8 changes: 8 additions & 0 deletions packages/stripe_platform_interface/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 9.2.1
**Fixes**
- Move amount value to GooglePayPaymentMethodParams #1255
- iOS: Apple Pay updatePlatformSheet now pass the errors #1230
- iOS: Fixes styling parameter for ApplePayButton #1231
- Android: Fixes bug that to display image in card form #1254
- Sync with Stripe [0.27.1](https://github.com/stripe/stripe-react-native/releases/tag/v0.27.1).

## 9.2.0
**Features**
- Add `BillingDetailsCollectionConfiguration` to payment sheet for collecting addresses.
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: 9.2.0
version: 9.2.1
repository: https://github.com/flutter-stripe/flutter_stripe
homepage: https://pub.dev/packages/flutter_stripe

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class MethodChannelMock {
this.delay = Duration.zero,
this.result,
}) : methodChannel = MethodChannel(channelName, const JSONMethodCodec()) {
TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger
TestDefaultBinaryMessengerBinding.instance?.defaultBinaryMessenger
.setMockMethodCallHandler(methodChannel, _handler);
}

Expand Down
8 changes: 8 additions & 0 deletions packages/stripe_web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 4.1.1
**Fixes**
- Move amount value to GooglePayPaymentMethodParams #1255
- iOS: Apple Pay updatePlatformSheet now pass the errors #1230
- iOS: Fixes styling parameter for ApplePayButton #1231
- Android: Fixes bug that to display image in card form #1254
- Sync with Stripe [0.27.1](https://github.com/stripe/stripe-react-native/releases/tag/v0.27.1).

## 4.1.0
- Update to platform interface 9.2.0.
- Small fixes for the web
Expand Down
6 changes: 3 additions & 3 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 bindings for the Flutter web platform. This package contains the implementation of the platform interface for web.
version: 4.1.0
version: 4.1.1
homepage: https://github.com/flutter-stripe/flutter_stripe

environment:
Expand All @@ -13,9 +13,9 @@ dependencies:
flutter_web_plugins:
sdk: flutter
freezed_annotation: ^2.0.3
stripe_platform_interface: ^9.2.0
stripe_platform_interface: ^9.2.1
js: ^0.6.3
stripe_js: ^3.0.0
stripe_js: ^3.0.1

dev_dependencies:
flutter_test:
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: flutter_stripe_mono_repo
name: stripe_workspace

environment:
sdk: '>=2.18.0 <4.0.0'

dev_dependencies:
melos: ^3.0.0
melos: ^3.1.0

Check warning on line 7 in pubspec.yaml

View workflow job for this annotation

GitHub Actions / Typo CI

melos

"melos" is a typo. Did you mean "moles"?

0 comments on commit dcb5856

Please sign in to comment.