From 500a3824beca7589b152351192ccc6cb6fbdc1df Mon Sep 17 00:00:00 2001 From: clangenb <37865735+clangenb@users.noreply.github.com> Date: Sun, 8 Oct 2023 22:41:52 +0200 Subject: [PATCH] bump flutter: v3.10.1, lift dart-sdk constraint >= v3.0.1, bump http: v1.1.0 (#326) * bump http * bump dart version sdk and flutter version in fvm config * [polkadart_cli] fix new format in typegen test --- .fvm/fvm_config.json | 2 +- packages/polkadart/pubspec.yaml | 4 ++-- packages/polkadart_cli/pubspec.yaml | 4 ++-- packages/polkadart_cli/test/typegen/composite_test.dart | 2 ++ packages/polkadart_scale_codec/pubspec.yaml | 2 +- packages/ss58/pubspec.yaml | 2 +- packages/substrate_bip39/pubspec.yaml | 2 +- packages/substrate_metadata/pubspec.yaml | 2 +- pubspec.yaml | 2 +- 9 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.fvm/fvm_config.json b/.fvm/fvm_config.json index 27e33549..9474807e 100644 --- a/.fvm/fvm_config.json +++ b/.fvm/fvm_config.json @@ -1,4 +1,4 @@ { - "flutterSdkVersion": "3.7.12", + "flutterSdkVersion": "3.10.1", "flavors": {} } \ No newline at end of file diff --git a/packages/polkadart/pubspec.yaml b/packages/polkadart/pubspec.yaml index f4d9cd81..50deeb0d 100644 --- a/packages/polkadart/pubspec.yaml +++ b/packages/polkadart/pubspec.yaml @@ -5,11 +5,11 @@ homepage: https://github.com/rankanizer/polkadart/tree/main/packages/polkadart repository: https://github.com/rankanizer/polkadart environment: - sdk: '>=2.18.5 <3.0.0' + sdk: ">=3.0.1 <4.0.0" dependencies: convert: ^3.1.1 # BSD-3-Clause - http: ^0.13.5 # BSD-3-Clause + http: ^1.1.0 # BSD-3-Clause pointycastle: ^3.6.2 # MIT web_socket_channel: ^2.3.0 # BSD-3-Clause polkadart_scale_codec: ^1.1.0 # Apache 2.0 diff --git a/packages/polkadart_cli/pubspec.yaml b/packages/polkadart_cli/pubspec.yaml index 86aa0e69..f032a561 100644 --- a/packages/polkadart_cli/pubspec.yaml +++ b/packages/polkadart_cli/pubspec.yaml @@ -5,14 +5,14 @@ homepage: https://github.com/rankanizer/polkadart/tree/main/packages/polkadart_c repository: https://github.com/rankanizer/polkadart environment: - sdk: '>=2.18.5 <3.0.0' + sdk: ">=3.0.1 <4.0.0" dependencies: args: ^2.4.0 # BSD-3-Clause code_builder: ^4.4.0 # BSD-3-Clause convert: ^3.1.1 # BSD-3-Clause dart_style: ^2.2.4 # BSD-3-Clause - http: ^0.13.5 # BSD-3-Clause + http: ^1.1.0 # BSD-3-Clause recase: ^4.1.0 # BSD-2-Clause path: ^1.8.3 # BSD-3-Clause yaml: ^3.1.1 # MIT diff --git a/packages/polkadart_cli/test/typegen/composite_test.dart b/packages/polkadart_cli/test/typegen/composite_test.dart index f13d8ad8..0a08d153 100644 --- a/packages/polkadart_cli/test/typegen/composite_test.dart +++ b/packages/polkadart_cli/test/typegen/composite_test.dart @@ -96,6 +96,7 @@ void main() { ' \'x\': x,\n', ' \'y\': y,\n', ' };\n', + '\n', ' @override\n', ' bool operator ==(Object other) =>\n', ' identical(\n', @@ -103,6 +104,7 @@ void main() { ' other,\n', ' ) ||\n', ' other is Point && other.x == x && other.y == y;\n', + '\n', ' @override\n', ' int get hashCode => Object.hash(\n', ' x,\n', diff --git a/packages/polkadart_scale_codec/pubspec.yaml b/packages/polkadart_scale_codec/pubspec.yaml index 64e5f358..bcca191f 100644 --- a/packages/polkadart_scale_codec/pubspec.yaml +++ b/packages/polkadart_scale_codec/pubspec.yaml @@ -5,7 +5,7 @@ homepage: https://github.com/rankanizer/polkadart/tree/main/packages/polkadart_s repository: https://github.com/rankanizer/polkadart environment: - sdk: ">=2.17.6 <3.0.0" + sdk: ">=3.0.1 <4.0.0" dependencies: convert: ^3.0.2 # BSD-3-Clause diff --git a/packages/ss58/pubspec.yaml b/packages/ss58/pubspec.yaml index 08213093..62b08fad 100644 --- a/packages/ss58/pubspec.yaml +++ b/packages/ss58/pubspec.yaml @@ -5,7 +5,7 @@ homepage: https://github.com/rankanizer/polkadart/tree/main/packages/ss58 repository: https://github.com/rankanizer/polkadart environment: - sdk: '>=2.17.6 <3.0.0' + sdk: ">=3.0.1 <4.0.0" dependencies: equatable: ^2.0.5 # MIT diff --git a/packages/substrate_bip39/pubspec.yaml b/packages/substrate_bip39/pubspec.yaml index a1dd5b57..c552f0ee 100644 --- a/packages/substrate_bip39/pubspec.yaml +++ b/packages/substrate_bip39/pubspec.yaml @@ -5,7 +5,7 @@ homepage: https://github.com/rankanizer/polkadart/tree/main/packages/substrate_b repository: https://github.com/rankanizer/polkadart environment: - sdk: '>=2.19.6 <3.0.0' + sdk: ">=3.0.1 <4.0.0" dependencies: bip39_mnemonic: ^3.0.6 diff --git a/packages/substrate_metadata/pubspec.yaml b/packages/substrate_metadata/pubspec.yaml index 8267f2d3..f6a219fc 100644 --- a/packages/substrate_metadata/pubspec.yaml +++ b/packages/substrate_metadata/pubspec.yaml @@ -5,7 +5,7 @@ homepage: https://github.com/rankanizer/polkadart/tree/main/packages/substrate_m repository: https://github.com/rankanizer/polkadart environment: - sdk: ">=2.17.6 <3.0.0" + sdk: ">=3.0.1 <4.0.0" dependencies: equatable: ^2.0.5 diff --git a/pubspec.yaml b/pubspec.yaml index 15aeac6c..f27eaa51 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: polkadart_workspace publish_to: none environment: - sdk: ">=2.17.0 <3.0.0" + sdk: ">=3.0.1 <4.0.0" dev_dependencies: coverage: ^1.6.3