upgrade: update dependency analyzer_testing to v0.2.6#440
upgrade: update dependency analyzer_testing to v0.2.6#440renovate[bot] wants to merge 1 commit intomainfrom
Conversation
e007279 to
3542dcb
Compare
3542dcb to
f4c9b7e
Compare
f4c9b7e to
6f03766
Compare
6f03766 to
8fddd1b
Compare
There was a problem hiding this comment.
📝 Info: Deprecated API pattern in use - analysisRule getter
The release notes for analyzer_testing v0.1.7 state: "Deprecate AnalysisRuleTest.analysisRule; instead of implementing this getter, set the rule field in the setUp method, before calling super.setUp."
All test files in this project use the deprecated pattern, for example in packages/nilts/test/unstable_enum_name_test.dart:114:
@override
String get analysisRule => UnstableEnumName.ruleName;This is found in 19 test files. While deprecated APIs typically continue to work, upgrading to 0.1.10 will likely produce deprecation warnings during test runs. Consider updating to the new pattern (rule = MyRule() in setUp before super.setUp()) to stay current with the library's conventions.
Was this helpful? React with 👍 or 👎 to provide feedback.
8fddd1b to
5bb4980
Compare
|
|
||
| test: 1.26.3 | ||
| analyzer_testing: 0.1.5 | ||
| analyzer_testing: 0.2.1 |
There was a problem hiding this comment.
📝 Info: All three packages updated consistently
I verified that all three packages (nilts, nilts_clock, nilts_flutter_hooks) were updated from 0.1.5 to 0.2.1 consistently. The fourth workspace member (nilts_core at packages/nilts_core/pubspec.yaml) does not depend on analyzer_testing and is not affected. The workspace root pubspec.yaml also does not list analyzer_testing. So the change is consistent across the repo — this is not a bug, just confirmation that no package was missed.
Was this helpful? React with 👍 or 👎 to provide feedback.
5bb4980 to
4678fa1
Compare
4738ab6 to
c89b49a
Compare
c89b49a to
2f9658c
Compare
2f9658c to
4343e55
Compare
|
|
||
| test: 1.31.0 | ||
| analyzer_testing: 0.1.9 | ||
| analyzer_testing: 0.2.5 |
There was a problem hiding this comment.
🚩 Minor version bump within 0.x range may include breaking changes
The analyzer_testing package is being bumped from 0.1.9 to 0.2.6. Under semver conventions, for packages with a major version of 0, minor version bumps (0.1.x → 0.2.x) can include breaking API changes. All test files across the three packages use AnalysisRuleTest from package:analyzer_testing/analysis_rule/analysis_rule.dart and rely on methods like assertDiagnostics, assertNoDiagnostics, lint, setUp, getFile, newFile, and writeTestPackageConfig. If any of these APIs changed in the 0.2.x release, tests would fail. This should be verified by running the test suite (CI should catch this).
Was this helpful? React with 👍 or 👎 to provide feedback.
4343e55 to
3120500
Compare
This PR contains the following updates:
0.1.9→0.2.6Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
dart-lang/sdk (analyzer_testing)
v0.2.613.0.0of theanalyzerpackage.v0.2.512.1.0of theanalyzerpackage.v0.2.412.0.0of theanalyzerpackage.v0.2.2^11.0.0-0of theanalyzerpackage.v0.2.110.3.0-devof theanalyzerpackage.v0.2.0MockPackagesMixin.addAngularMetaMockPackagesMixin.addFlutterTestMockPackagesMixin.addJsMockPackagesMixin.addKernelMockPackagesMixin.pedanticandMockPackagesMixin.addUI.10.1.0of theanalyzerpackage.v0.1.10addFlutterPackageDepgetter to returntrue. This API existed before but isnow functional; same with
addFixnumPackageDep,addMetaPackageDep, andaddTestReflectiveLoaderPackageDep.10.0.2of theanalyzerpackage.Configuration
📅 Schedule: (in timezone Asia/Tokyo)
* 0-3 * * *)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.