Skip to content

Commit

Permalink
Prepare to publish analyzer_plugin 0.3.0
Browse files Browse the repository at this point in the history
We need this for https://dart-review.googlesource.com/c/sdk/+/154128

Change-Id: I7ce15ad1a0037e60422f412a0cb9840c29a7e4e0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/154129
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
  • Loading branch information
scheglov authored and commit-bot@chromium.org committed Jul 11, 2020
1 parent 93fa1cf commit a9e67d8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
3 changes: 3 additions & 0 deletions pkg/analyzer_plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 0.3.0
- Removed deprecated `Plugin.getResolveResult`. Use `getResolvedUnitResult`.

## 0.2.5
- Change supported analyzer version to `^0.39.12`

Expand Down
8 changes: 0 additions & 8 deletions pkg/analyzer_plugin/lib/plugin/plugin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -173,14 +173,6 @@ abstract class ServerPlugin {
return result;
}

/// Return the result of analyzing the file with the given [path].
///
/// Throw a [RequestFailure] is the file cannot be analyzed or if the driver
/// associated with the file is not an [AnalysisDriver].
@deprecated
Future<ResolveResult> getResolveResult(String path) =>
getResolvedUnitResult(path);

/// Handle an 'analysis.getNavigation' request.
///
/// Throw a [RequestFailure] if the request could not be handled.
Expand Down
2 changes: 1 addition & 1 deletion pkg/analyzer_plugin/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: analyzer_plugin
description: A framework and support code for building plugins for the analysis server.
version: 0.2.5
version: 0.3.0
author: Dart Team <misc@dartlang.org>
homepage: https://github.com/dart-lang/sdk/tree/master/pkg/analyzer_plugin

Expand Down

0 comments on commit a9e67d8

Please sign in to comment.