diff --git a/.ci/Dockerfile b/.ci/Dockerfile index 73efa3103922..f8dfe0fcb7ad 100644 --- a/.ci/Dockerfile +++ b/.ci/Dockerfile @@ -1,7 +1,7 @@ # The Flutter version is not important here, since the CI scripts update Flutter # before running. What matters is that the base image is pinned to minimize # unintended changes when modifying this file. -FROM cirrusci/flutter:2.8.0 +FROM cirrusci/flutter:2.12.0-4.1.pre RUN apt-get update -y diff --git a/.ci/flutter_master.version b/.ci/flutter_master.version index 103b05611de2..5ed6264b7026 100644 --- a/.ci/flutter_master.version +++ b/.ci/flutter_master.version @@ -1 +1 @@ -2b8333240d38cf72b8e13580e24d01f5a188e26c +df8d0eacd5bf1f50ec4595aa225c91d332a96882 diff --git a/script/tool/CHANGELOG.md b/script/tool/CHANGELOG.md index df76e4819e63..c6c91ebad9ab 100644 --- a/script/tool/CHANGELOG.md +++ b/script/tool/CHANGELOG.md @@ -1,7 +1,9 @@ -## NEXT +## 0.8.3 - Adds a new `readme-check` command. - Updates `publish-plugin` command documentation. +- Bumps pubspec of `all-plugins-app` to `>=2.17.0` so super parameters work in + the generated app. ## 0.8.2 diff --git a/script/tool/lib/src/create_all_plugins_app_command.dart b/script/tool/lib/src/create_all_plugins_app_command.dart index 82f29bd501f3..19a0c8b016ac 100644 --- a/script/tool/lib/src/create_all_plugins_app_command.dart +++ b/script/tool/lib/src/create_all_plugins_app_command.dart @@ -155,7 +155,7 @@ class CreateAllPluginsAppCommand extends PluginCommand { version: Version.parse('1.0.0+1'), environment: { 'sdk': VersionConstraint.compatibleWith( - Version.parse('2.12.0'), + Version.parse('2.17.0'), ), }, dependencies: { diff --git a/script/tool/pubspec.yaml b/script/tool/pubspec.yaml index f005c565be17..5f2cf6adb243 100644 --- a/script/tool/pubspec.yaml +++ b/script/tool/pubspec.yaml @@ -1,7 +1,7 @@ name: flutter_plugin_tools description: Productivity utils for flutter/plugins and flutter/packages repository: https://github.com/flutter/plugins/tree/main/script/tool -version: 0.8.2 +version: 0.8.3 dependencies: args: ^2.1.0 diff --git a/script/tool/test/create_all_plugins_app_command_test.dart b/script/tool/test/create_all_plugins_app_command_test.dart index 0066cc53f61a..095c42caaac3 100644 --- a/script/tool/test/create_all_plugins_app_command_test.dart +++ b/script/tool/test/create_all_plugins_app_command_test.dart @@ -76,14 +76,14 @@ void main() { ])); }); - test('pubspec is compatible with null-safe app code', () async { + test('pubspec is compatible with super parameters in app code', () async { createFakePlugin('plugina', packagesDir); await runCapturingPrint(runner, ['all-plugins-app']); final String pubspec = command.appDirectory.childFile('pubspec.yaml').readAsStringSync(); - expect(pubspec, contains(RegExp('sdk:\\s*(?:["\']>=|[^])2\\.12\\.'))); + expect(pubspec, contains(RegExp('sdk:\\s*(?:["\']>=|[^])2\\.17\\.'))); }); test('handles --output-dir', () async {