Skip to content

Commit

Permalink
feat: release versions (#1283)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesblasco authored Jun 17, 2023
1 parent 838e5a0 commit f2c17ee
Show file tree
Hide file tree
Showing 13 changed files with 207 additions and 166 deletions.
4 changes: 4 additions & 0 deletions packages/stripe/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 9.2.2
**Fixes**
- Updates json_annotation version requirement

## 9.2.1
**Fixes**
- Move amount value to GooglePayPaymentMethodParams #1255
Expand Down
4 changes: 2 additions & 2 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.1
version: 9.2.2
homepage: https://github.com/flutter-stripe/flutter_stripe
repository: https://github.com/flutter-stripe/flutter_stripe

Expand All @@ -24,7 +24,7 @@ dependencies:
meta: ^1.8.0
stripe_android: ^9.2.1
stripe_ios: ^9.2.1
stripe_platform_interface: ^9.2.1
stripe_platform_interface: ^9.2.2
dev_dependencies:
flutter_test:
sdk: flutter
Expand Down
10 changes: 10 additions & 0 deletions packages/stripe_js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## 3.1.0
- Makes WebStripe a singleton accessible by WebStripe.instance
- 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)
- 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.
- 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)
- 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)
- 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)
- 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)
- 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)

## 3.0.1
Fixes PaymentConfirmationRedirect.ifRedirect enum value parsing
## 3.0.0
Expand Down
8 changes: 4 additions & 4 deletions packages/stripe_js/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
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: 3.0.1
version: 3.1.0
homepage: https://github.com/flutter-stripe/flutter_stripe

environment:
sdk: ">=2.16.0 <4.0.0"
sdk: ">=2.17.0 <4.0.0"

dependencies:
freezed_annotation: ^2.2.0
js: ^0.6.3
json_annotation: ^4.5.0
json_annotation: ^4.8.1
meta: ^1.0.0

dev_dependencies:
build_runner: ^2.3.2
freezed: ^2.2.1
freezed: ^2.3.5
json_serializable: ^6.5.4
test: ^1.22.0

Expand Down
3 changes: 3 additions & 0 deletions packages/stripe_platform_interface/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 9.2.2
**Fixes**
- Updates json_annotation version requirement
## 9.2.1
**Fixes**
- Move amount value to GooglePayPaymentMethodParams #1255
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@ abstract class $AubecsFormStyleCopyWith<$Res> {
@useResult
$Res call(
{@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? textColor,
Color? textColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? textErrorColor,
Color? textErrorColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? placeholderColor,
Color? placeholderColor,
int? fontSize,
int? borderWidth,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? backgroundColor,
Color? backgroundColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? borderColor,
Color? borderColor,
int? borderRadius});
}

Expand Down Expand Up @@ -139,17 +139,17 @@ abstract class _$$_AubecsFormStyleCopyWith<$Res>
@useResult
$Res call(
{@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? textColor,
Color? textColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? textErrorColor,
Color? textErrorColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? placeholderColor,
Color? placeholderColor,
int? fontSize,
int? borderWidth,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? backgroundColor,
Color? backgroundColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? borderColor,
Color? borderColor,
int? borderRadius});
}

Expand Down Expand Up @@ -216,17 +216,17 @@ class __$$_AubecsFormStyleCopyWithImpl<$Res>
class _$_AubecsFormStyle implements _AubecsFormStyle {
const _$_AubecsFormStyle(
{@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
this.textColor,
this.textColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
this.textErrorColor,
this.textErrorColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
this.placeholderColor,
this.placeholderColor,
this.fontSize,
this.borderWidth,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
this.backgroundColor,
this.backgroundColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
this.borderColor,
this.borderColor,
this.borderRadius});

factory _$_AubecsFormStyle.fromJson(Map<String, dynamic> json) =>
Expand Down Expand Up @@ -320,17 +320,17 @@ class _$_AubecsFormStyle implements _AubecsFormStyle {
abstract class _AubecsFormStyle implements AubecsFormStyle {
const factory _AubecsFormStyle(
{@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
final Color? textColor,
final Color? textColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
final Color? textErrorColor,
final Color? textErrorColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
final Color? placeholderColor,
final Color? placeholderColor,
final int? fontSize,
final int? borderWidth,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
final Color? backgroundColor,
final Color? backgroundColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
final Color? borderColor,
final Color? borderColor,
final int? borderRadius}) = _$_AubecsFormStyle;

factory _AubecsFormStyle.fromJson(Map<String, dynamic> json) =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,20 @@ abstract class $CardStyleCopyWith<$Res> {
$Res call(
{int? borderWidth,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? backgroundColor,
Color? backgroundColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? borderColor,
Color? borderColor,
int? borderRadius,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? cursorColor,
Color? cursorColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? textColor,
Color? textColor,
int? fontSize,
String? fontFamily,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? textErrorColor,
Color? textErrorColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? placeholderColor});
Color? placeholderColor});
}

/// @nodoc
Expand Down Expand Up @@ -156,20 +156,20 @@ abstract class _$$_CardStyleConstructorCopyWith<$Res>
$Res call(
{int? borderWidth,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? backgroundColor,
Color? backgroundColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? borderColor,
Color? borderColor,
int? borderRadius,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? cursorColor,
Color? cursorColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? textColor,
Color? textColor,
int? fontSize,
String? fontFamily,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? textErrorColor,
Color? textErrorColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? placeholderColor});
Color? placeholderColor});
}

/// @nodoc
Expand Down Expand Up @@ -246,20 +246,20 @@ class _$_CardStyleConstructor extends _CardStyleConstructor {
_$_CardStyleConstructor(
{this.borderWidth,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
this.backgroundColor,
this.backgroundColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
this.borderColor,
this.borderColor,
this.borderRadius,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
this.cursorColor,
this.cursorColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
this.textColor,
this.textColor,
this.fontSize,
this.fontFamily,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
this.textErrorColor,
this.textErrorColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
this.placeholderColor})
this.placeholderColor})
: super._();

factory _$_CardStyleConstructor.fromJson(Map<String, dynamic> json) =>
Expand Down Expand Up @@ -367,20 +367,20 @@ abstract class _CardStyleConstructor extends CardStyle {
factory _CardStyleConstructor(
{final int? borderWidth,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
final Color? backgroundColor,
final Color? backgroundColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
final Color? borderColor,
final Color? borderColor,
final int? borderRadius,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
final Color? cursorColor,
final Color? cursorColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
final Color? textColor,
final Color? textColor,
final int? fontSize,
final String? fontFamily,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
final Color? textErrorColor,
final Color? textErrorColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
final Color? placeholderColor}) = _$_CardStyleConstructor;
final Color? placeholderColor}) = _$_CardStyleConstructor;
_CardStyleConstructor._() : super._();

factory _CardStyleConstructor.fromJson(Map<String, dynamic> json) =
Expand Down Expand Up @@ -472,20 +472,20 @@ abstract class $CardFormStyleCopyWith<$Res> {
@useResult
$Res call(
{@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? backgroundColor,
Color? backgroundColor,
int? borderWidth,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? borderColor,
Color? borderColor,
int? borderRadius,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? cursorColor,
Color? cursorColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? textColor,
Color? textColor,
int? fontSize,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? textErrorColor,
Color? textErrorColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? placeholderColor});
Color? placeholderColor});
}

/// @nodoc
Expand Down Expand Up @@ -563,20 +563,20 @@ abstract class _$$_CardFormStyleConstructorCopyWith<$Res>
@useResult
$Res call(
{@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? backgroundColor,
Color? backgroundColor,
int? borderWidth,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? borderColor,
Color? borderColor,
int? borderRadius,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? cursorColor,
Color? cursorColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? textColor,
Color? textColor,
int? fontSize,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? textErrorColor,
Color? textErrorColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
Color? placeholderColor});
Color? placeholderColor});
}

/// @nodoc
Expand Down Expand Up @@ -647,20 +647,20 @@ class __$$_CardFormStyleConstructorCopyWithImpl<$Res>
class _$_CardFormStyleConstructor extends _CardFormStyleConstructor {
_$_CardFormStyleConstructor(
{@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
this.backgroundColor,
this.backgroundColor,
this.borderWidth,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
this.borderColor,
this.borderColor,
this.borderRadius,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
this.cursorColor,
this.cursorColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
this.textColor,
this.textColor,
this.fontSize,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
this.textErrorColor,
this.textErrorColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
this.placeholderColor})
this.placeholderColor})
: super._();

factory _$_CardFormStyleConstructor.fromJson(Map<String, dynamic> json) =>
Expand Down Expand Up @@ -761,20 +761,20 @@ class _$_CardFormStyleConstructor extends _CardFormStyleConstructor {
abstract class _CardFormStyleConstructor extends CardFormStyle {
factory _CardFormStyleConstructor(
{@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
final Color? backgroundColor,
final Color? backgroundColor,
final int? borderWidth,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
final Color? borderColor,
final Color? borderColor,
final int? borderRadius,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
final Color? cursorColor,
final Color? cursorColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
final Color? textColor,
final Color? textColor,
final int? fontSize,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
final Color? textErrorColor,
final Color? textErrorColor,
@JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson)
final Color? placeholderColor}) = _$_CardFormStyleConstructor;
final Color? placeholderColor}) = _$_CardFormStyleConstructor;
_CardFormStyleConstructor._() : super._();

factory _CardFormStyleConstructor.fromJson(Map<String, dynamic> json) =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class _$_StripeErrorGeneric<T> implements _StripeErrorGeneric<T> {
const _$_StripeErrorGeneric(
{required this.message,
@JsonKey(fromJson: _dataFromJson, toJson: _dataToJson)
required this.code});
required this.code});

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

factory _StripeErrorGeneric.fromJson(Map<String, dynamic> json) =
_$_StripeErrorGeneric<T>.fromJson;
Expand Down
Loading

0 comments on commit f2c17ee

Please sign in to comment.