Skip to content

Commit f2c17ee

Browse files
authored
feat: release versions (#1283)
1 parent 838e5a0 commit f2c17ee

File tree

13 files changed

+207
-166
lines changed

13 files changed

+207
-166
lines changed

packages/stripe/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 9.2.2
2+
**Fixes**
3+
- Updates json_annotation version requirement
4+
15
## 9.2.1
26
**Fixes**
37
- Move amount value to GooglePayPaymentMethodParams #1255

packages/stripe/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_stripe
22
description: Flutter library for Stripe. Supports PaymentSheets, Apple & Google Pay, SCA, PSD2 and much more.
3-
version: 9.2.1
3+
version: 9.2.2
44
homepage: https://github.com/flutter-stripe/flutter_stripe
55
repository: https://github.com/flutter-stripe/flutter_stripe
66

@@ -24,7 +24,7 @@ dependencies:
2424
meta: ^1.8.0
2525
stripe_android: ^9.2.1
2626
stripe_ios: ^9.2.1
27-
stripe_platform_interface: ^9.2.1
27+
stripe_platform_interface: ^9.2.2
2828
dev_dependencies:
2929
flutter_test:
3030
sdk: flutter

packages/stripe_js/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## 3.1.0
2+
- Makes WebStripe a singleton accessible by WebStripe.instance
3+
- Allows to change the layout for the payment element. Closes [#1260](https://github.com/flutter-stripe/flutter_stripe/pull/1270#:~:text=Makes%20a%20singleton,flow%C2%A0%231075)
4+
- Allows to change the full appearance for the payment element. It is possible to fully customize it by adding any of the values from the appearance api.
5+
- Fixes parsing PaymentMethod to contain dates and last4 digits. Closes [#1212](https://github.com/flutter-stripe/flutter_stripe/pull/1270#:~:text=Makes%20a%20singleton,flow%C2%A0%231075)
6+
- Fixes parsing Address to not add empty strings if null. Closes [#1208](https://github.com/flutter-stripe/flutter_stripe/pull/1270#:~:text=Makes%20a%20singleton,flow%C2%A0%231075)
7+
- Adds support for confirmAcssDebitPayment on web WebStripe.instance.confirmAcssDebitPayment. Ref [#794](https://github.com/flutter-stripe/flutter_stripe/pull/1270#:~:text=Makes%20a%20singleton,flow%C2%A0%231075)
8+
- Fixes text color not sync with CardStyle on the web card field. Closes [#541](https://github.com/flutter-stripe/flutter_stripe/pull/1270#:~:text=Makes%20a%20singleton,flow%C2%A0%231075)
9+
- Adds independent method for confirmIdealPayment: WebStripe.instance.confirmIdealPayment, that allows to pass a custom returnUrl. Ref [#1075](https://github.com/flutter-stripe/flutter_stripe/pull/1270#:~:text=Makes%20a%20singleton,flow%C2%A0%231075)
10+
111
## 3.0.1
212
Fixes PaymentConfirmationRedirect.ifRedirect enum value parsing
313
## 3.0.0

packages/stripe_js/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
name: stripe_js
22
description: Stripe.js bindings for dart. This package is used by Stripe web so that the Stripe js sdk can be invoked directly.
3-
version: 3.0.1
3+
version: 3.1.0
44
homepage: https://github.com/flutter-stripe/flutter_stripe
55

66
environment:
7-
sdk: ">=2.16.0 <4.0.0"
7+
sdk: ">=2.17.0 <4.0.0"
88

99
dependencies:
1010
freezed_annotation: ^2.2.0
1111
js: ^0.6.3
12-
json_annotation: ^4.5.0
12+
json_annotation: ^4.8.1
1313
meta: ^1.0.0
1414

1515
dev_dependencies:
1616
build_runner: ^2.3.2
17-
freezed: ^2.2.1
17+
freezed: ^2.3.5
1818
json_serializable: ^6.5.4
1919
test: ^1.22.0
2020

packages/stripe_platform_interface/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 9.2.2
2+
**Fixes**
3+
- Updates json_annotation version requirement
14
## 9.2.1
25
**Fixes**
36
- Move amount value to GooglePayPaymentMethodParams #1255

packages/stripe_platform_interface/lib/src/models/aubecs_form.freezed.dart

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@ abstract class $AubecsFormStyleCopyWith<$Res> {
5656
@useResult
5757
$Res call(
5858
{@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
59-
Color? textColor,
59+
Color? textColor,
6060
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
61-
Color? textErrorColor,
61+
Color? textErrorColor,
6262
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
63-
Color? placeholderColor,
63+
Color? placeholderColor,
6464
int? fontSize,
6565
int? borderWidth,
6666
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
67-
Color? backgroundColor,
67+
Color? backgroundColor,
6868
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
69-
Color? borderColor,
69+
Color? borderColor,
7070
int? borderRadius});
7171
}
7272

@@ -139,17 +139,17 @@ abstract class _$$_AubecsFormStyleCopyWith<$Res>
139139
@useResult
140140
$Res call(
141141
{@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
142-
Color? textColor,
142+
Color? textColor,
143143
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
144-
Color? textErrorColor,
144+
Color? textErrorColor,
145145
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
146-
Color? placeholderColor,
146+
Color? placeholderColor,
147147
int? fontSize,
148148
int? borderWidth,
149149
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
150-
Color? backgroundColor,
150+
Color? backgroundColor,
151151
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
152-
Color? borderColor,
152+
Color? borderColor,
153153
int? borderRadius});
154154
}
155155

@@ -216,17 +216,17 @@ class __$$_AubecsFormStyleCopyWithImpl<$Res>
216216
class _$_AubecsFormStyle implements _AubecsFormStyle {
217217
const _$_AubecsFormStyle(
218218
{@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
219-
this.textColor,
219+
this.textColor,
220220
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
221-
this.textErrorColor,
221+
this.textErrorColor,
222222
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
223-
this.placeholderColor,
223+
this.placeholderColor,
224224
this.fontSize,
225225
this.borderWidth,
226226
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
227-
this.backgroundColor,
227+
this.backgroundColor,
228228
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
229-
this.borderColor,
229+
this.borderColor,
230230
this.borderRadius});
231231

232232
factory _$_AubecsFormStyle.fromJson(Map<String, dynamic> json) =>
@@ -320,17 +320,17 @@ class _$_AubecsFormStyle implements _AubecsFormStyle {
320320
abstract class _AubecsFormStyle implements AubecsFormStyle {
321321
const factory _AubecsFormStyle(
322322
{@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
323-
final Color? textColor,
323+
final Color? textColor,
324324
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
325-
final Color? textErrorColor,
325+
final Color? textErrorColor,
326326
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
327-
final Color? placeholderColor,
327+
final Color? placeholderColor,
328328
final int? fontSize,
329329
final int? borderWidth,
330330
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
331-
final Color? backgroundColor,
331+
final Color? backgroundColor,
332332
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
333-
final Color? borderColor,
333+
final Color? borderColor,
334334
final int? borderRadius}) = _$_AubecsFormStyle;
335335

336336
factory _AubecsFormStyle.fromJson(Map<String, dynamic> json) =

packages/stripe_platform_interface/lib/src/models/card_field_input.freezed.dart

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -60,20 +60,20 @@ abstract class $CardStyleCopyWith<$Res> {
6060
$Res call(
6161
{int? borderWidth,
6262
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
63-
Color? backgroundColor,
63+
Color? backgroundColor,
6464
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
65-
Color? borderColor,
65+
Color? borderColor,
6666
int? borderRadius,
6767
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
68-
Color? cursorColor,
68+
Color? cursorColor,
6969
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
70-
Color? textColor,
70+
Color? textColor,
7171
int? fontSize,
7272
String? fontFamily,
7373
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
74-
Color? textErrorColor,
74+
Color? textErrorColor,
7575
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
76-
Color? placeholderColor});
76+
Color? placeholderColor});
7777
}
7878

7979
/// @nodoc
@@ -156,20 +156,20 @@ abstract class _$$_CardStyleConstructorCopyWith<$Res>
156156
$Res call(
157157
{int? borderWidth,
158158
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
159-
Color? backgroundColor,
159+
Color? backgroundColor,
160160
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
161-
Color? borderColor,
161+
Color? borderColor,
162162
int? borderRadius,
163163
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
164-
Color? cursorColor,
164+
Color? cursorColor,
165165
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
166-
Color? textColor,
166+
Color? textColor,
167167
int? fontSize,
168168
String? fontFamily,
169169
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
170-
Color? textErrorColor,
170+
Color? textErrorColor,
171171
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
172-
Color? placeholderColor});
172+
Color? placeholderColor});
173173
}
174174

175175
/// @nodoc
@@ -246,20 +246,20 @@ class _$_CardStyleConstructor extends _CardStyleConstructor {
246246
_$_CardStyleConstructor(
247247
{this.borderWidth,
248248
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
249-
this.backgroundColor,
249+
this.backgroundColor,
250250
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
251-
this.borderColor,
251+
this.borderColor,
252252
this.borderRadius,
253253
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
254-
this.cursorColor,
254+
this.cursorColor,
255255
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
256-
this.textColor,
256+
this.textColor,
257257
this.fontSize,
258258
this.fontFamily,
259259
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
260-
this.textErrorColor,
260+
this.textErrorColor,
261261
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
262-
this.placeholderColor})
262+
this.placeholderColor})
263263
: super._();
264264

265265
factory _$_CardStyleConstructor.fromJson(Map<String, dynamic> json) =>
@@ -367,20 +367,20 @@ abstract class _CardStyleConstructor extends CardStyle {
367367
factory _CardStyleConstructor(
368368
{final int? borderWidth,
369369
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
370-
final Color? backgroundColor,
370+
final Color? backgroundColor,
371371
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
372-
final Color? borderColor,
372+
final Color? borderColor,
373373
final int? borderRadius,
374374
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
375-
final Color? cursorColor,
375+
final Color? cursorColor,
376376
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
377-
final Color? textColor,
377+
final Color? textColor,
378378
final int? fontSize,
379379
final String? fontFamily,
380380
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
381-
final Color? textErrorColor,
381+
final Color? textErrorColor,
382382
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
383-
final Color? placeholderColor}) = _$_CardStyleConstructor;
383+
final Color? placeholderColor}) = _$_CardStyleConstructor;
384384
_CardStyleConstructor._() : super._();
385385

386386
factory _CardStyleConstructor.fromJson(Map<String, dynamic> json) =
@@ -472,20 +472,20 @@ abstract class $CardFormStyleCopyWith<$Res> {
472472
@useResult
473473
$Res call(
474474
{@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
475-
Color? backgroundColor,
475+
Color? backgroundColor,
476476
int? borderWidth,
477477
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
478-
Color? borderColor,
478+
Color? borderColor,
479479
int? borderRadius,
480480
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
481-
Color? cursorColor,
481+
Color? cursorColor,
482482
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
483-
Color? textColor,
483+
Color? textColor,
484484
int? fontSize,
485485
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
486-
Color? textErrorColor,
486+
Color? textErrorColor,
487487
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
488-
Color? placeholderColor});
488+
Color? placeholderColor});
489489
}
490490

491491
/// @nodoc
@@ -563,20 +563,20 @@ abstract class _$$_CardFormStyleConstructorCopyWith<$Res>
563563
@useResult
564564
$Res call(
565565
{@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
566-
Color? backgroundColor,
566+
Color? backgroundColor,
567567
int? borderWidth,
568568
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
569-
Color? borderColor,
569+
Color? borderColor,
570570
int? borderRadius,
571571
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
572-
Color? cursorColor,
572+
Color? cursorColor,
573573
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
574-
Color? textColor,
574+
Color? textColor,
575575
int? fontSize,
576576
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
577-
Color? textErrorColor,
577+
Color? textErrorColor,
578578
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
579-
Color? placeholderColor});
579+
Color? placeholderColor});
580580
}
581581

582582
/// @nodoc
@@ -647,20 +647,20 @@ class __$$_CardFormStyleConstructorCopyWithImpl<$Res>
647647
class _$_CardFormStyleConstructor extends _CardFormStyleConstructor {
648648
_$_CardFormStyleConstructor(
649649
{@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
650-
this.backgroundColor,
650+
this.backgroundColor,
651651
this.borderWidth,
652652
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
653-
this.borderColor,
653+
this.borderColor,
654654
this.borderRadius,
655655
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
656-
this.cursorColor,
656+
this.cursorColor,
657657
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
658-
this.textColor,
658+
this.textColor,
659659
this.fontSize,
660660
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
661-
this.textErrorColor,
661+
this.textErrorColor,
662662
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
663-
this.placeholderColor})
663+
this.placeholderColor})
664664
: super._();
665665

666666
factory _$_CardFormStyleConstructor.fromJson(Map<String, dynamic> json) =>
@@ -761,20 +761,20 @@ class _$_CardFormStyleConstructor extends _CardFormStyleConstructor {
761761
abstract class _CardFormStyleConstructor extends CardFormStyle {
762762
factory _CardFormStyleConstructor(
763763
{@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
764-
final Color? backgroundColor,
764+
final Color? backgroundColor,
765765
final int? borderWidth,
766766
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
767-
final Color? borderColor,
767+
final Color? borderColor,
768768
final int? borderRadius,
769769
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
770-
final Color? cursorColor,
770+
final Color? cursorColor,
771771
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
772-
final Color? textColor,
772+
final Color? textColor,
773773
final int? fontSize,
774774
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
775-
final Color? textErrorColor,
775+
final Color? textErrorColor,
776776
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
777-
final Color? placeholderColor}) = _$_CardFormStyleConstructor;
777+
final Color? placeholderColor}) = _$_CardFormStyleConstructor;
778778
_CardFormStyleConstructor._() : super._();
779779

780780
factory _CardFormStyleConstructor.fromJson(Map<String, dynamic> json) =

packages/stripe_platform_interface/lib/src/models/errors.freezed.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class _$_StripeErrorGeneric<T> implements _StripeErrorGeneric<T> {
117117
const _$_StripeErrorGeneric(
118118
{required this.message,
119119
@JsonKey(fromJson: _dataFromJson, toJson: _dataToJson)
120-
required this.code});
120+
required this.code});
121121

122122
factory _$_StripeErrorGeneric.fromJson(Map<String, dynamic> json) =>
123123
_$$_StripeErrorGenericFromJson(json);
@@ -166,7 +166,7 @@ abstract class _StripeErrorGeneric<T> implements StripeError<T> {
166166
const factory _StripeErrorGeneric(
167167
{required final String message,
168168
@JsonKey(fromJson: _dataFromJson, toJson: _dataToJson)
169-
required final T code}) = _$_StripeErrorGeneric<T>;
169+
required final T code}) = _$_StripeErrorGeneric<T>;
170170

171171
factory _StripeErrorGeneric.fromJson(Map<String, dynamic> json) =
172172
_$_StripeErrorGeneric<T>.fromJson;

0 commit comments

Comments
 (0)