Skip to content

Commit

Permalink
[analyzer_plugin] Support latest analyzer in pubspec
Browse files Browse the repository at this point in the history
As the analyzer_plugin package is always built with the latest analyzer,
its pubspec should also report compatibility with the latest released
version.

This changes the analyzer constraint to `^2.0.0` which matches the
current version on pub.
It would be great if the next analyzer_plugin release could support the
latest analyzer.

Change-Id: I2a7b129f199bd80e6ca552821feb43b29193d2c0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207302
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
  • Loading branch information
simolus3 authored and commit-bot@chromium.org committed Jul 19, 2021
1 parent 8ea5fc2 commit 02fcbc7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions pkg/analyzer_plugin/CHANGELOG.md
@@ -1,3 +1,7 @@
## 0.7.0

- Support verison `2.x` of the `analyzer` package

## 0.6.0
- Bug fixes to the protocol.

Expand Down
2 changes: 1 addition & 1 deletion pkg/analyzer_plugin/pubspec.yaml
Expand Up @@ -7,7 +7,7 @@ environment:
sdk: '>=2.12.0 <3.0.0'

dependencies:
analyzer: ^1.5.0
analyzer: ^2.0.0
collection: ^1.15.0
dart_style: ^2.0.0
pub_semver: ^2.0.0
Expand Down

0 comments on commit 02fcbc7

Please sign in to comment.