diff --git a/pkgs/test/CHANGELOG.md b/pkgs/test/CHANGELOG.md index 606d0d3ba..f1584dd8f 100644 --- a/pkgs/test/CHANGELOG.md +++ b/pkgs/test/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.26.3 + +* Expand pub constraint to allow the latest `analyzer`. + ## 1.26.2 * Graduate native assets from experiment to preview. diff --git a/pkgs/test/pubspec.yaml b/pkgs/test/pubspec.yaml index a62ae0e2f..8c4e81782 100644 --- a/pkgs/test/pubspec.yaml +++ b/pkgs/test/pubspec.yaml @@ -1,5 +1,5 @@ name: test -version: 1.26.2 +version: 1.26.3 description: >- A full featured library for writing and running Dart tests across platforms. repository: https://github.com/dart-lang/test/tree/master/pkgs/test @@ -10,7 +10,7 @@ environment: sdk: ^3.5.0 dependencies: - analyzer: '>=6.0.0 <8.0.0' + analyzer: '>=6.0.0 <9.0.0' async: ^2.5.0 boolean_selector: ^2.1.0 collection: ^1.15.0 @@ -36,8 +36,8 @@ dependencies: stream_channel: ^2.1.0 # Use an exact version until the test_api and test_core package are stable. - test_api: 0.7.6 - test_core: 0.6.11 + test_api: 0.7.7 + test_core: 0.6.12 typed_data: ^1.3.0 web_socket_channel: '>=2.0.0 <4.0.0' diff --git a/pkgs/test_api/CHANGELOG.md b/pkgs/test_api/CHANGELOG.md index ac26b156d..36110faa5 100644 --- a/pkgs/test_api/CHANGELOG.md +++ b/pkgs/test_api/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.7.7 + +* Expand pub constraint to allow the latest `analyzer`. + ## 0.7.6 * Fix an assertion failure when using `setUpAll` or `tearDownAll` and running diff --git a/pkgs/test_api/pubspec.yaml b/pkgs/test_api/pubspec.yaml index 47403c705..08640b880 100644 --- a/pkgs/test_api/pubspec.yaml +++ b/pkgs/test_api/pubspec.yaml @@ -1,5 +1,5 @@ name: test_api -version: 0.7.6 +version: 0.7.7 description: >- The user facing API for structuring Dart tests and checking expectations. repository: https://github.com/dart-lang/test/tree/master/pkgs/test_api @@ -21,7 +21,7 @@ dependencies: term_glyph: ^1.2.0 dev_dependencies: - analyzer: '>=6.0.0 <8.0.0' + analyzer: '>=6.0.0 <9.0.0' fake_async: ^1.2.0 glob: ^2.0.0 graphs: ^2.0.0 diff --git a/pkgs/test_core/CHANGELOG.md b/pkgs/test_core/CHANGELOG.md index 8029c3fe2..b37a239ae 100644 --- a/pkgs/test_core/CHANGELOG.md +++ b/pkgs/test_core/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.6.12 + +* Expand pub constraint to allow the latest `analyzer`. + ## 0.6.11 * Graduate native assets from experiment to preview. diff --git a/pkgs/test_core/lib/src/runner/parse_metadata.dart b/pkgs/test_core/lib/src/runner/parse_metadata.dart index fd2b5ee0b..e1e087376 100644 --- a/pkgs/test_core/lib/src/runner/parse_metadata.dart +++ b/pkgs/test_core/lib/src/runner/parse_metadata.dart @@ -214,6 +214,8 @@ class _Parser { Object? skip; for (var expression in expressions) { if (expression is InstanceCreationExpression) { + // Replace name2 with name when bumping min analyzer dependency + // ignore: deprecated_member_use var className = expression.constructorName.type.name2.lexeme; if (className == 'Timeout') { @@ -348,6 +350,8 @@ class _Parser { String? _findConstructorNameFromInstantiation( InstanceCreationExpression constructor, String className) { + // Replace name2 with name when bumping min analyzer dependency + // ignore: deprecated_member_use var actualClassName = constructor.constructorName.type.name2.lexeme; var constructorName = constructor.constructorName.name?.name; diff --git a/pkgs/test_core/pubspec.yaml b/pkgs/test_core/pubspec.yaml index 78cc8ea24..a60c9f3f5 100644 --- a/pkgs/test_core/pubspec.yaml +++ b/pkgs/test_core/pubspec.yaml @@ -1,5 +1,5 @@ name: test_core -version: 0.6.11 +version: 0.6.12 description: A basic library for writing tests and running them on the VM. repository: https://github.com/dart-lang/test/tree/master/pkgs/test_core issue_tracker: https://github.com/dart-lang/test/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Atest @@ -9,7 +9,7 @@ environment: sdk: ^3.5.0 dependencies: - analyzer: '>=6.0.0 <8.0.0' + analyzer: '>=6.0.0 <9.0.0' args: ^2.0.0 async: ^2.5.0 boolean_selector: ^2.1.0 @@ -28,7 +28,7 @@ dependencies: stack_trace: ^1.10.0 stream_channel: ^2.1.0 # Use an exact version until the test_api package is stable. - test_api: 0.7.6 + test_api: 0.7.7 vm_service: '>=6.0.0 <16.0.0' yaml: ^3.0.0