From d88fd12ce8f9d5bf600077574b37f508473ef38b Mon Sep 17 00:00:00 2001 From: Daco Harkes Date: Mon, 10 Nov 2025 17:44:40 -0300 Subject: [PATCH] [native assets] Roll and unpin dependencies (#178181) Rolling the dependencies to the latest versions and unpinning them. Tests: All existing tests of build hooks and code assets. --- .../flutter_tools/lib/src/update_packages_pins.dart | 6 ------ packages/flutter_tools/pubspec.yaml | 10 +++++----- .../templates/package_ffi/pubspec.yaml.tmpl | 6 +++--- 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/packages/flutter_tools/lib/src/update_packages_pins.dart b/packages/flutter_tools/lib/src/update_packages_pins.dart index d0d5123cb3d..b4c88621b06 100644 --- a/packages/flutter_tools/lib/src/update_packages_pins.dart +++ b/packages/flutter_tools/lib/src/update_packages_pins.dart @@ -21,17 +21,11 @@ const kManuallyPinnedDependencies = { // Add pinned packages here. Please leave a comment explaining why. 'archive': '3.6.1', // https://github.com/flutter/flutter/issues/115660 - 'code_assets': - '0.19.7', // Under active development with breaking changes until 1.0.0. Manually rolled by @dcharkes. 'dds': '5.0.3', // 5.0.4 contains bugs described in https://github.com/Dart-Code/Dart-Code/issues/4678. 'flutter_gallery_assets': '1.0.2', // Tests depend on the exact version. 'flutter_template_images': '5.0.0', // Must always exactly match flutter_tools template. 'google_mobile_ads': '5.1.0', // https://github.com/flutter/flutter/issues/156912 - 'hooks': - '0.20.1', // Under active development with breaking changes until 1.0.0. Manually rolled by @dcharkes. - 'hooks_runner': - '0.23.0', // Under active development with breaking changes until 1.0.0. Manually rolled by @dcharkes. 'material_color_utilities': '0.11.1', // Keep pinned to latest until 1.0.0. }; diff --git a/packages/flutter_tools/pubspec.yaml b/packages/flutter_tools/pubspec.yaml index f6edce28f15..0cfe77541c7 100644 --- a/packages/flutter_tools/pubspec.yaml +++ b/packages/flutter_tools/pubspec.yaml @@ -58,10 +58,10 @@ dependencies: pubspec_parse: 1.5.0 graphs: 2.3.2 - hooks_runner: 0.23.0 - hooks: 0.20.1 - code_assets: 0.19.7 - data_assets: 0.19.3 + hooks_runner: 1.0.0 + hooks: 1.0.0 + code_assets: 1.0.0 + data_assets: 0.19.6 # We depend on very specific internal implementation details of the # 'test' package, which change between versions, so when upgrading @@ -127,4 +127,4 @@ dev_dependencies: dartdoc: # Exclude this package from the hosted API docs. nodoc: true -# PUBSPEC CHECKSUM: d3nerf +# PUBSPEC CHECKSUM: 1aoins diff --git a/packages/flutter_tools/templates/package_ffi/pubspec.yaml.tmpl b/packages/flutter_tools/templates/package_ffi/pubspec.yaml.tmpl index e616c27d1e9..08ff9f60e88 100644 --- a/packages/flutter_tools/templates/package_ffi/pubspec.yaml.tmpl +++ b/packages/flutter_tools/templates/package_ffi/pubspec.yaml.tmpl @@ -6,10 +6,10 @@ environment: sdk: {{dartSdkVersionBounds}} dependencies: - code_assets: ^0.19.7 - hooks: ^0.20.1 + code_assets: ^1.0.0 + hooks: ^1.0.0 logging: ^1.3.0 - native_toolchain_c: ^0.17.1 + native_toolchain_c: ^0.17.3 dev_dependencies: ffi: ^2.1.3