Skip to content

Commit 6cf2ed4

Browse files
authored
Chore(): dependency version bumps (#6165)
* bumped archive version * unified args version across packages * unified build version across packages * unified build_version version across packages * unified build_test version across packages * unified build_web_compilers version across packages * bumped grpc version * bumped mason version * bumped cli_util version * unified code_builder version across packages * unified collection version across packages * updated connectivity_plus_platform_interface version to use caret syntax * unified convert version across packages * unified crypto version across packages * unified ffi version across packages * updated file version to use caret syntax * unified glob version across packages * updated git version to use caret syntax * unified http version across packages * unified io version across packages * updated json_annotation version to use caret syntax * updated mime version to use caret syntax * updated path version to use caret syntax * unified path_provider version across packages * unified pub_semver version across packages * unified pub_semver version across packages * unified retry version across packages * unified shelf version across packages * unified shelf_router version across packages * unified stream_transform version across packages * unified test version across packages * updated uuid version to use caret syntax * updated win32 version to use caret syntax * unified yaml version across packages * unified yaml_edit version across packages * Updated Dart sdk to 3.8.0 * Updated Flutter to 3.32.0 * fixed js_interop types * Updated Dart Formatter to 3.8.0 * Regenerated Files * removed experiment inline-class * Removed js package * Updated flutter_lints version * Updated lints version * Fixed linter unnecessary_underscores warnings * Regenerated smithy goldens to fix implicit_call_tearoffs * Updated intl version * Updated json_rpc_2 version * Updated markdown version * Updated protobuf version * Updated pub_api_client version * Added archiveSha256 to pub_server * Updated shelf_web_socket version * Updated sqlite3 version * Updated web_socket_channel version * Updated xml version * Updated MockWebSocketChannel to use WebSocketChannel interface * Updated pigeon version * formatted files * Updated build_test version * chore update smithy pubspec.dart codegen versions
1 parent 6e878f9 commit 6cf2ed4

File tree

1,459 files changed

+26347
-28443
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,459 files changed

+26347
-28443
lines changed

.github/ISSUE_TEMPLATE/BUG-REPORT.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ body:
7979
attributes:
8080
label: "Flutter Version"
8181
description: "Please share which version of Flutter you're using (found using `flutter --version`)."
82-
placeholder: "3.29.0"
82+
placeholder: "3.32.0"
8383
validations:
8484
required: true
8585
- type: input

.github/workflows/actions.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup Dart
3232
uses: dart-lang/setup-dart@e58aeb62aef51dcc4d0ba8eada7c08092aad5314 # main
3333
with:
34-
sdk: 3.7.0
34+
sdk: 3.8.0
3535

3636
- name: Setup pnpm
3737
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # 4.0.0
@@ -63,7 +63,7 @@ jobs:
6363
- name: Setup Dart
6464
uses: dart-lang/setup-dart@e58aeb62aef51dcc4d0ba8eada7c08092aad5314 # main
6565
with:
66-
sdk: 3.7.0
66+
sdk: 3.8.0
6767

6868
- name: Setup aft
6969
shell: bash # Run in bash regardless of platform
@@ -78,7 +78,7 @@ jobs:
7878

7979
- name: Test
8080
working-directory: actions
81-
run: dart --enable-experiment=inline-class test -p node
81+
run: dart test -p node
8282

8383
test_setup_chromedriver:
8484
name: Test Action (setup_chromedriver)

.github/workflows/amplify_canaries.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- "any" # latest
3333
include:
3434
- channel: "stable"
35-
flutter-version: "3.29.0"
35+
flutter-version: "3.32.0"
3636
steps:
3737
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # 3.6.0
3838
with:
@@ -88,7 +88,7 @@ jobs:
8888
- "any" # latest
8989
include:
9090
- channel: "stable"
91-
flutter-version: "3.29.0"
91+
flutter-version: "3.32.0"
9292
steps:
9393
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # 3.6.0
9494
with:
@@ -162,7 +162,7 @@ jobs:
162162
- "any" # latest
163163
include:
164164
- channel: "stable"
165-
flutter-version: "3.29.0"
165+
flutter-version: "3.32.0"
166166
ios-version:
167167
- "15.0"
168168
- "17.5"

.github/workflows/dart_dart2js.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
matrix:
2323
sdk:
2424
# Minimum supported Dart version
25-
- "3.7.0"
25+
- "3.8.0"
2626
- stable
2727
- beta
2828
browser:

.github/workflows/dart_ddc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
matrix:
2323
sdk:
2424
# Minimum supported Dart version
25-
- "3.7.0"
25+
- "3.8.0"
2626
- stable
2727
- beta
2828
browser:

.github/workflows/dart_vm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
matrix:
2222
sdk:
2323
# Minimum supported Dart version
24-
- "3.7.0"
24+
- "3.8.0"
2525
- stable
2626
- beta
2727
# Skips 'beta' tests on PRs

.github/workflows/flutter_vm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- "any" # latest
3232
include:
3333
- channel: "stable"
34-
flutter-version: "3.29.0"
34+
flutter-version: "3.32.0"
3535
# Skips 'beta' tests on PRs
3636
exclude:
3737
- channel: ${{ (github.event_name == 'pull_request') && 'beta' || 'NONE' }}

actions/analysis_options.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,5 @@ include: package:amplify_lints/library.yaml
33
analyzer:
44
errors:
55
public_member_api_docs: ignore
6-
enable-experiment:
7-
- inline-class
86
exclude:
97
- "**/*.g.dart"

actions/bin/launch_ios_simulator.dart

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ Future<void> main(List<String> args) => wrapMain(launch);
1414
Future<void> launch() async {
1515
await installXcodes();
1616
final iosVersionArg = core.getInput('ios-version');
17-
final iosVersion =
18-
iosVersionArg == 'latest' ? await getLatest() : 'iOS $iosVersionArg';
17+
final iosVersion = iosVersionArg == 'latest'
18+
? await getLatest()
19+
: 'iOS $iosVersionArg';
1920
core.info('Launching simulator for $iosVersion');
2021

2122
var runtimeIdentifier = await core.withGroup(
@@ -73,8 +74,8 @@ Future<String?> getRuntimeId(String iosVersion) async {
7374
throw Exception('Could not list runtimes');
7475
}
7576
final runtimesJson = jsonDecode(runtimesRes.stdout) as Map<String, Object?>;
76-
final runtimes =
77-
(runtimesJson['runtimes'] as List<Object?>).cast<Map<String, Object?>>();
77+
final runtimes = (runtimesJson['runtimes'] as List<Object?>)
78+
.cast<Map<String, Object?>>();
7879
final versionRuntime = runtimes.firstWhereOrNull(
7980
(runtime) => (runtime['name'] as String).startsWith(iosVersion),
8081
);

actions/bin/log_cw_metric.dart

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,9 @@ Future<String> getFailingStep(
198198
final jobsList = GithubJobsList.fromJson(response);
199199
final matchingJob = jobsList.jobs.firstWhere(
200200
(job) => job.name.toLowerCase().contains(jobIdentifier),
201-
orElse:
202-
() =>
203-
throw Exception(
204-
'No job found matching <$jobIdentifier>. Ensure full workflow path run name is unique. Available jobs: ${jobsList.jobs.map((e) => e.name).join(', ')}. Note that the "jobIdentifier" used to find the proper job uses the job id and not the job name, setting the "name" field in the workflow yaml will break this logic. See comments for more context.',
205-
),
201+
orElse: () => throw Exception(
202+
'No job found matching <$jobIdentifier>. Ensure full workflow path run name is unique. Available jobs: ${jobsList.jobs.map((e) => e.name).join(', ')}. Note that the "jobIdentifier" used to find the proper job uses the job id and not the job name, setting the "name" field in the workflow yaml will break this logic. See comments for more context.',
203+
),
206204
);
207205
final steps = matchingJob.steps;
208206

actions/lib/src/android/shell_script.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ import 'package:path/path.dart' as p;
1010
extension type ShellScript(String script) {
1111
/// Executes the script with `/bin/bash` and throws if there's an error.
1212
Future<void> run() async {
13-
final fullScript = '''
13+
final fullScript =
14+
'''
1415
#!/bin/bash
1516
set -eo pipefail
1617
$script

actions/lib/src/android/types.dart

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@ enum AndroidAbi {
1515

1616
static AndroidAbi parse(String value) => values.firstWhere(
1717
(el) => el.name == value || el.abi == value,
18-
orElse:
19-
() =>
20-
throw ArgumentError.value(
21-
value,
22-
'value',
23-
'Invalid Android ABI. Expected one of: [${allAbis.join(', ')}]',
24-
),
18+
orElse: () => throw ArgumentError.value(
19+
value,
20+
'value',
21+
'Invalid Android ABI. Expected one of: [${allAbis.join(', ')}]',
22+
),
2523
);
2624

2725
static AndroidAbi forArch(Arch arch) => switch (arch) {
@@ -94,14 +92,12 @@ enum AndroidSystemImageTarget {
9492

9593
static AndroidSystemImageTarget parse(String target) => values.firstWhere(
9694
(el) => el.tag == target,
97-
orElse:
98-
() =>
99-
throw ArgumentError.value(
100-
target,
101-
'target',
102-
'Invalid Android system image taget. '
103-
'Expected one of: [${allTags.join(', ')}]',
104-
),
95+
orElse: () => throw ArgumentError.value(
96+
target,
97+
'target',
98+
'Invalid Android system image taget. '
99+
'Expected one of: [${allTags.join(', ')}]',
100+
),
105101
);
106102

107103
static List<String> get allTags => values.map((el) => el.tag).toList();

actions/lib/src/chromedriver/downloads.dart

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@ final class AllChromeDownloads {
2727
// If the exact version doesn't match, get the latest for the patch version.
2828
if (url == null) {
2929
final patchVersion = version.split('.').sublist(0, 3).join('.');
30-
final latestChromeVersion =
31-
versions
32-
.where((v) => v.version.startsWith(patchVersion))
33-
.sortedBy<num>((v) => int.parse(v.version.split('.').last))
34-
.lastOrNull;
30+
final latestChromeVersion = versions
31+
.where((v) => v.version.startsWith(patchVersion))
32+
.sortedBy<num>((v) => int.parse(v.version.split('.').last))
33+
.lastOrNull;
3534
url = latestChromeVersion?.chromeDriverUrl(platform);
3635
}
3736
return url ??
@@ -54,10 +53,9 @@ final class ChromeVersion {
5453
final String revision;
5554
final ChromeVersionDownloads downloads;
5655

57-
String? chromeDriverUrl(ChromePlatform platform) =>
58-
downloads.chromedriver
59-
.firstWhereOrNull((download) => download.platform == platform)
60-
?.url;
56+
String? chromeDriverUrl(ChromePlatform platform) => downloads.chromedriver
57+
.firstWhereOrNull((download) => download.platform == platform)
58+
?.url;
6159
}
6260

6361
@serializable
@@ -98,7 +96,8 @@ enum ChromePlatform {
9896
(OS.linux, Arch.x64) => ChromePlatform.linux64,
9997
(OS.macOS, Arch.x64) => ChromePlatform.macX64,
10098
(OS.macOS, Arch.arm64) => ChromePlatform.macArm64,
101-
final unsupported =>
102-
throw UnsupportedError('Unsupported OS/arch combo: $unsupported'),
99+
final unsupported => throw UnsupportedError(
100+
'Unsupported OS/arch combo: $unsupported',
101+
),
103102
};
104103
}

actions/lib/src/chromedriver/downloads.g.dart

Lines changed: 3 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

actions/lib/src/githubJobs/github_jobs.g.dart

Lines changed: 6 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

actions/lib/src/node/actions/core.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ extension type Core._(JSObject it) {
2424
final inputValue = _getInput(name);
2525
return inputValue.isEmpty
2626
? (throw StateError(
27-
'Input "$name" was required but no value was passed',
28-
))
27+
'Input "$name" was required but no value was passed',
28+
))
2929
: inputValue;
3030
}
3131

actions/lib/src/node/actions/exec.dart

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,25 +32,24 @@ extension type Exec._(JSObject it) {
3232
final stderr = StringBuffer();
3333
final options = _ExecOptions(
3434
listeners: _ExecListeners(
35-
stdout:
36-
((JSUint8Array buffer) => stdout.write(utf8.decode(buffer.toDart)))
37-
.toJS,
38-
stderr:
39-
((JSUint8Array buffer) => stderr.write(utf8.decode(buffer.toDart)))
40-
.toJS,
35+
stdout: ((JSUint8Array buffer) => stdout.write(
36+
utf8.decode(buffer.toDart),
37+
)).toJS,
38+
stderr: ((JSUint8Array buffer) => stderr.write(
39+
utf8.decode(buffer.toDart),
40+
)).toJS,
4141
),
4242
silent: !echoOutput,
4343
cwd: workingDirectory,
4444
ignoreReturnCode: !failOnNonZeroExit,
4545
);
4646
try {
47-
final jsExitCode =
48-
await _exec(
49-
commandLine,
50-
args.map((arg) => arg.toJS).toList().toJS,
51-
options,
52-
).toDart;
53-
47+
final jsExitCode = await _exec(
48+
commandLine,
49+
args.map((arg) => arg.toJS).toList().toJS,
50+
options,
51+
).toDart;
52+
5453
final exitCode = (jsExitCode as JSNumber).toDartInt;
5554
return ExecResult(
5655
exitCode: exitCode,

actions/lib/src/node/actions/http_request.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ extension type HttpClient._(JSObject it) {
2121
Map<String, String> headers = const {},
2222
}) async {
2323
final jsHeaders = Headers();
24-
for(final entry in headers.entries) {
25-
jsHeaders.append(entry.key, entry.value);
26-
}
24+
for (final entry in headers.entries) {
25+
jsHeaders.append(entry.key, entry.value);
26+
}
2727

2828
final response = await _getJson(requestUrl, jsHeaders).toDart;
2929
final result = response as TypedResponse<JSObject>;

0 commit comments

Comments
 (0)