From 1d68858899ff915e12fc4ecd2004935708b32c57 Mon Sep 17 00:00:00 2001 From: flemming-it Date: Fri, 29 May 2026 07:15:25 +0200 Subject: [PATCH] =?UTF-8?q?chore(deps):=20bump=20file=5Fpicker=208?= =?UTF-8?q?=E2=86=9211=20+=20transitive=20lifts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `flutter pub upgrade` lifts every transitive dep that the constraint solver can reach: google_cloud 0.4.1→0.5.0, googleapis_auth 2.3.0→2.3.1, hooks 1.0.3→2.0.0, objective_c 9.3.0→9.4.1 (plus xml 6.6.1). Direct: file_picker 8.0.0 → 11.0.0. The major jump is the move from instance API (`FilePicker.platform.pickFiles(...)`) to static API (`FilePicker.pickFiles(...)`). Two call sites updated (`lib/pages/flows.dart` for the run-flow form's file input, `lib/widgets/fai_flow_output.dart` for the flow-output "Save as" affordance) — both functionally identical, just the surface that lost the `.platform.` hop. Locked behind external pins (no action possible from Studio side this pass): - grpc 4.2.0 → 5.1.0 ─┐ - protobuf 4.2.0 → 6.0.0 ┤── pinned by fai_client_sdk; a │ major SDK bump is its own │ piece of work (regenerated │ bindings, possibly Studio │ call-site shifts). - characters / meta / vector_math / win32 / native_toolchain_c ─ all pinned by the Flutter SDK; lift with the next Flutter SDK upgrade. dart analyze clean; flutter test green (12 tests pass). Bumped pubspec to 0.48.1. Signed-off-by: flemming-it --- lib/pages/flows.dart | 2 +- lib/widgets/fai_flow_output.dart | 2 +- pubspec.lock | 80 ++++++++++++++------------------ pubspec.yaml | 4 +- 4 files changed, 40 insertions(+), 48 deletions(-) diff --git a/lib/pages/flows.dart b/lib/pages/flows.dart index 654d5ea..c911bd2 100644 --- a/lib/pages/flows.dart +++ b/lib/pages/flows.dart @@ -550,7 +550,7 @@ class _FlowInputDialogState extends State<_FlowInputDialog> { } Future _pickFile(String inputName) async { - final result = await FilePicker.platform.pickFiles(withData: true); + final result = await FilePicker.pickFiles(withData: true); if (result == null || result.files.isEmpty) return; final f = result.files.first; var bytes = f.bytes; diff --git a/lib/widgets/fai_flow_output.dart b/lib/widgets/fai_flow_output.dart index 59fd0df..f8c4239 100644 --- a/lib/widgets/fai_flow_output.dart +++ b/lib/widgets/fai_flow_output.dart @@ -162,7 +162,7 @@ class _BytesView extends StatelessWidget { Future _save(BuildContext context) async { final l = AppLocalizations.of(context)!; - final path = await FilePicker.platform.saveFile( + final path = await FilePicker.saveFile( dialogTitle: l.flowsOutputSaveAsTitle, fileName: _defaultFilename(), ); diff --git a/pubspec.lock b/pubspec.lock index 4753715..f91f029 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -45,10 +45,10 @@ packages: dependency: transitive description: name: code_assets - sha256: "83ccdaa064c980b5596c35dd64a8d3ecc68620174ab9b90b6343b753aa721687" + sha256: "67cf6d84013f9c601e42a6f8a6b74c4c0d9dc1a1619d775f2b28b732d3551b85" url: "https://pub.dev" source: hosted - version: "1.0.0" + version: "1.2.0" collection: dependency: transitive description: @@ -81,6 +81,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.0.9" + dbus: + dependency: transitive + description: + name: dbus + sha256: d0c98dcd4f5169878b6cf8f6e0a52403a9dff371a3e2f019697accbf6f44a270 + url: "https://pub.dev" + source: hosted + version: "0.7.12" fai_client_sdk: dependency: "direct main" description: @@ -116,10 +124,10 @@ packages: dependency: "direct main" description: name: file_picker - sha256: ab13ae8ef5580a411c458d6207b6774a6c237d77ac37011b13994879f68a8810 + sha256: f13a03000d942e476bc1ff0a736d2e9de711d2f89a95cd4c1d88f861c3348387 url: "https://pub.dev" source: hosted - version: "8.3.7" + version: "11.0.2" fixnum: dependency: transitive description: @@ -172,22 +180,14 @@ packages: description: flutter source: sdk version: "0.0.0" - glob: - dependency: transitive - description: - name: glob - sha256: c3f1ee72c96f8f78935e18aa8cecced9ab132419e8625dc187e1c2408efc20de - url: "https://pub.dev" - source: hosted - version: "2.1.3" google_cloud: dependency: transitive description: name: google_cloud - sha256: fbcde933b2d8600c3cdb2328f8f4c47628ec29a39e9cef85dee535c7868993c4 + sha256: b385e20726ef5315d302c5933bfb728103116c5be2d3d17094b01a82da538c1f url: "https://pub.dev" source: hosted - version: "0.4.1" + version: "0.5.0" google_fonts: dependency: "direct main" description: @@ -208,10 +208,10 @@ packages: dependency: transitive description: name: googleapis_auth - sha256: "661738b763d3e524de69df53bf4e03943e4e01e98265cebcc6684871b06a5379" + sha256: "2a8895c3885197f96bb2fd91ee0ae77b53ff3874c7b1f1eadb6566248e880958" url: "https://pub.dev" source: hosted - version: "2.3.0" + version: "2.3.1" grpc: dependency: transitive description: @@ -224,10 +224,10 @@ packages: dependency: transitive description: name: hooks - sha256: "025f060e86d2d4c3c47b56e33caf7f93bf9283340f26d23424ebcfccf34f621e" + sha256: a41af4e8fc687cd6d33de9751eb936c8c0204ebe2bcb6c15ecf707504bf47f31 url: "https://pub.dev" source: hosted - version: "1.0.3" + version: "2.0.0" http: dependency: transitive description: @@ -260,14 +260,6 @@ packages: url: "https://pub.dev" source: hosted version: "0.20.2" - io: - dependency: transitive - description: - name: io - sha256: dfd5a80599cf0165756e3181807ed3e77daf6dd4137caaad72d0b7931597650b - url: "https://pub.dev" - source: hosted - version: "1.0.5" jni: dependency: transitive description: @@ -356,22 +348,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.17.0" - native_toolchain_c: - dependency: transitive - description: - name: native_toolchain_c - sha256: "6ba77bb18063eebe9de401f5e6437e95e1438af0a87a3a39084fbd37c90df572" - url: "https://pub.dev" - source: hosted - version: "0.17.6" objective_c: dependency: transitive description: name: objective_c - sha256: "100a1c87616ab6ed41ec263b083c0ef3261ee6cd1dc3b0f35f8ddfa4f996fe52" + sha256: "6cb691c686fa2838c6deb34980d426145c2a5d537491cb83d463c33cdbc726ed" url: "https://pub.dev" source: hosted - version: "9.3.0" + version: "9.4.1" package_config: dependency: transitive description: @@ -436,6 +420,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.3.0" + petitparser: + dependency: transitive + description: + name: petitparser + sha256: "91bd59303e9f769f108f8df05e371341b15d59e995e6806aefab827b58336675" + url: "https://pub.dev" + source: hosted + version: "7.0.2" platform: dependency: transitive description: @@ -532,14 +524,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.4.1" - shelf: - dependency: transitive - description: - name: shelf - sha256: e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12 - url: "https://pub.dev" - source: hosted - version: "1.4.2" sky_engine: dependency: transitive description: flutter @@ -641,6 +625,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.1.0" + xml: + dependency: transitive + description: + name: xml + sha256: "971043b3a0d3da28727e40ed3e0b5d18b742fa5a68665cca88e74b7876d5e025" + url: "https://pub.dev" + source: hosted + version: "6.6.1" yaml: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index 651b5ac..72a9ab0 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: fai_studio description: "F∆I Studio — desktop GUI for the F∆I hub" publish_to: 'none' -version: 0.48.0 +version: 0.48.1 environment: sdk: ^3.11.0-200.1.beta @@ -33,7 +33,7 @@ dependencies: # operator clicks "Choose file" and macOS / Linux / Windows # routes through the OS dialog so sandboxed Studio still # gets read access to the chosen file). - file_picker: ^8.0.0 + file_picker: ^11.0.0 dev_dependencies: flutter_test: