diff --git a/CHANGELOG.md b/CHANGELOG.md index 582a033d..78ac3b9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -163,6 +163,8 @@ are included, some of them breaking: intended to be extended or implemented. They are now all marked `final` to make that intention explicit. +* Require `package:analyzer` `>=6.5.0 <8.0.0`. + ## 2.3.7 * Allow passing a language version to `DartFomatter()`. Formatted code will be diff --git a/pubspec.yaml b/pubspec.yaml index d14af4c8..4d477e82 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -9,7 +9,7 @@ environment: sdk: "^3.4.0" dependencies: - analyzer: '^6.5.0' + analyzer: ">=6.5.0 <8.0.0" args: ">=1.0.0 <3.0.0" collection: "^1.17.0" package_config: ^2.1.0