GGitHubRoll pub packages (#193129)
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Add missing @docImport directives for doc comment references (#192734) Add doc imports for elements that are not in the lexical scope of the file they appear in. These currently resolve in dartdoc because it maintains a global lookup of everything it has loaded, but the analyzer's `comment_references` lint reports them. Towards https://github.com/flutter/flutter/issues/192870 — enabling the `comment_references` lint. | 5 天前 | |
Bump Dart to 3.13, reformat, re-enable formatting check (#192649) Fixes https://github.com/flutter/flutter/issues/191628 Fixes https://github.com/flutter/flutter/issues/187204 Bumps Dart across the repo to 3.13 and reformats the repo The CI formatting check is also re-enabled with this change. #### Deviating pubspec.yaml Packages The following packages deviate from the standard repository Dart SDK constraint (^3.11.0-0 before the bump). Some of these cannot cleanly downgrade. Changing them is considered out of scope. Some of them may also pertain to active work that requires later versions of Dart. 1. ios_universal_link - Full File Path: dev/integration_tests/ios_universal_link/pubspec.yaml - Dart SDK Version: ^3.14.0-53.0.dev - Author: @okorohelijah - Commit: 2a071e20324 (2026-09-04) - PR / Message: Add iOS Universal Link integration test (Simulator) (#191443) 2. flutter_analyzer_plugin - Full File Path: dev/flutter_analyzer_plugin/pubspec.yaml - Dart SDK Version: ^3.7.0 - Author: @bkonyi - Commit: ae9963e8024 (2026-08-12) - PR / Message: [analysis] Reland "Added initial implementation of the flutter_analyzer_plugin (#175679)" (#191022) 3. widget_preview_scaffold - Full File Path: dev/integration_tests/widget_preview_scaffold/pubspec.yaml - Dart SDK Version: ^3.12.0 - Author: @polina-c - Commit: 3ca99c34868 (2026-05-15) - PR / Message: [ Widget Preview ] Improve zoom behavior and add zoom slider (#186422) 4. hybrid_platform_views - Full File Path: dev/integration_tests/hybrid_android_views/pubspec.yaml - Dart SDK Version: ^3.7.0-0 - Author: @andrewkolos - Commit: 112f1704d1e (2026-03-09) - PR / Message: Reland hybrid views test (#181336) 5. record_use_test_app - Full File Path: dev/integration_tests/record_use_test_app/pubspec.yaml - Dart SDK Version: >=3.5.0-0 <4.0.0 - Author: @dcharkes - Commit: eb6acab7f31 (2026-04-09) - PR / Message: [record_use] Add experimental flag and test project (#184719) 6. record_use_test_package - Full File Path: dev/integration_tests/record_use_test_package/pubspec.yaml - Dart SDK Version: >=3.5.0-0 <4.0.0 - Author: @dcharkes - Commit: eb6acab7f31 (2026-04-09) - PR / Message: [record_use] Add experimental flag and test project (#184719) 7. data_asset_app - Full File Path: dev/integration_tests/data_asset_app/pubspec.yaml - Dart SDK Version: >=3.5.0-0 <4.0.0 - Author: @dcharkes - Commit: a0924c76b0f (2026-04-07) - PR / Message: Reland "[data_assets] Cleanup tests" (#184714) 8. data_asset_package - Full File Path: dev/integration_tests/data_asset_package/pubspec.yaml - Dart SDK Version: >=3.5.0-0 <4.0.0 - Author: @dcharkes - Commit: a0924c76b0f (2026-04-07) - PR / Message: Reland "[data_assets] Cleanup tests" (#184714) ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [AI contribution guidelines] and understand my responsibilities, or I am not using AI tools. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement]. - [x] I signed the [CLA]. - [x] I listed at least one issue that this PR fixes in the description above. - [x] I updated/added relevant in-code documentation (doc comments with `///`). - [x] If this PR introduces a new feature or capability, I created and linked a website documentation issue or PR in [flutter/website] (or verified none is needed). - [x] I added new tests to check the change I am making, or this PR is [test-exempt]. - [x] I followed the [breaking change policy] and added [Data Driven Fixes] where supported. - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on [Discord]. If this change needs to override an active code freeze, provide a comment explaining why. The code freeze workflow can be overridden by code reviewers. See pinned issues for any active code freezes with guidance. **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. <!-- Links --> [Contributor Guide]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview [AI contribution guidelines]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#ai-contribution-guidelines [Tree Hygiene]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md [test-exempt]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests [Flutter Style Guide]: https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md [Features we expect every widget to implement]: https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement [CLA]: https://cla.developers.google.com/ [flutter/tests]: https://github.com/flutter/tests [flutter/website]: https://github.com/flutter/website [breaking change policy]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes [Discord]: https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md [Data Driven Fixes]: https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md | 11 天前 | |
[test cross imports] flutter_test cross import fixes (#189265) This PR fixes some more tests in flutter_test in relation to importing Material The `finders_test` was cleaned up a lot, but the remainder in that file is related to Material Tooltip, which is still a point of discussion relating to its test Finders. Part of https://github.com/flutter/flutter/issues/177415 *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].* ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [AI contribution guidelines] and understand my responsibilities, or I am not using AI tools. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement]. - [x] I signed the [CLA]. - [x] I listed at least one issue that this PR fixes in the description above. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] I added new tests to check the change I am making, or this PR is [test-exempt]. - [x] I followed the [breaking change policy] and added [Data Driven Fixes] where supported. - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on [Discord]. If this change needs to override an active code freeze, provide a comment explaining why. The code freeze workflow can be overridden by code reviewers. See pinned issues for any active code freezes with guidance. **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. <!-- Links --> [Contributor Guide]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview [AI contribution guidelines]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#ai-contribution-guidelines [Tree Hygiene]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md [test-exempt]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests [Flutter Style Guide]: https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md [Features we expect every widget to implement]: https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement [CLA]: https://cla.developers.google.com/ [flutter/tests]: https://github.com/flutter/tests [breaking change policy]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes [Discord]: https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md [Data Driven Fixes]: https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md | 1 个月前 | |
[analysis] Upgrade package:analyzer to 14.3.0 and enable custom plugin compilation (#191590) ## Description Upgrades `package:analyzer` to `14.2.0` and `_fe_analyzer_shared` to `106.0.0` in the root `pubspec.yaml`, pulling in modern transitive dependencies (`analysis_server_plugin: 0.3.21`, `analyzer_plugin: 0.14.15`, `dart_style: 3.1.12`, and `analyzer_testing: 0.4.0`). ### Key Changes: - **Dependency Upgrades**: Bumped `package:analyzer` to `14.2.0` and updated lockfiles. - **Update Packages Command**: Added `dev/flutter_analyzer_plugin` to `_updatePubspec` in `packages/flutter_tools/lib/src/commands/update_packages.dart` and added hermetic test coverage in `update_packages_test.dart`. - **Plugin Migration & Base Class**: - Introduced `FlutterAnalysisRule` in `dev/flutter_analyzer_plugin/lib/src/flutter_analysis_rule.dart` which intercepts `registerNodeProcessors` and automatically skips rule and visitor registration for read-only Material and Cupertino implementations and tests. - Migrated all 17 `dev/flutter_analyzer_plugin` rules to extend `FlutterAnalysisRule` and implement `registerCustomNodeProcessors`. - Migrated rules and test fixtures to Analyzer 14 AST patterns and `package:analyzer_testing`. - Added unit test suite `dev/flutter_analyzer_plugin/test/flutter_analysis_rule_test.dart` verifying path filtering behavior. - **Rule Scopes & Improvements**: - `no_sync_async_star`: Restricted to `packages/` and `examples/`, excluding test files. - `no_test_imports`: Restricted to `packages/` to avoid flagging runner helpers. - `integration_test_timeouts`: Restricted to `dev/` directory. - `deprecation_syntax`: Excluded `analyze-test-input` fixtures. - `skip_test_comments`: Expanded ignore scan window across multi-line argument nodes. - **Snippets Migration**: Migrated `dev/snippets` AST visitors and mock filesystem resource provider to Analyzer 14. - **SDK Compatibility**: Added `dependency_overrides: analysis_server_plugin: ^0.3.21` to subpackage `analysis_options.yaml` files to allow isolated plugin runners to resolve on development/master Dart SDKs that specify unreleased protocol constraints. - **Linter Fixes**: - Replaced `scope.catchError` with `scope.then(..., onError: ...)` in `packages/flutter_tools/lib/src/desktop_device.dart`. - Added missing `@protected` annotations to non-material public `State` subtypes in `packages/flutter/lib` (`form.dart`, `raw_tooltip.dart`). - **CI Tuning**: - Added heartbeat progress output every 30s during analysis passes in `dev/bots/analyze.dart` and `dev/devicelab/lib/tasks/analysis.dart`. - Updated `Linux analyzer_benchmark` in `.ci.yaml` to set `device_type: none`, routing to 32 GB RAM VM drone bots. ## Tests - Added unit tests in `packages/flutter_tools/test/commands.shard/hermetic/update_packages_test.dart`. - Added unit tests in `dev/flutter_analyzer_plugin/test/flutter_analysis_rule_test.dart`. - Ran all 65 unit tests in `dev/flutter_analyzer_plugin` (all pass). - Ran all 18 unit tests in `dev/snippets` (all pass). - Ran `flutter analyze --flutter-repo` (0 issues found). | 21 天前 | |
Randomize tests, exclude tests that fail with randomization. (#86793) * Randomize tests, exclude tests that fail with randomization. * Disable some more tool tests | 5 年前 | |
Roll pub packages (#193129) This PR was generated by `flutter update-packages --force-upgrade`. | 1 天前 |