analyzer_plugin 0.12.0 analyzer_plugin: ^0.12.0 copied to clipboard
A framework and support code for building plugins for the analysis server.
0.12.0 #
- Breaking changes to
DartFileEditBuilder
:convertFunctionFromSyncToAsync
andreplaceTypeWithFuture
. - Breaking changes to all classes in
lib/protocol/protocol_common.dart
andlib/protocol/protocol_generated.dart
that implementEnum
: These classes are all now proper Dart enums. Each such enum no longer has a staticVALUES
field, no a public constructor. Each enum value also no longer has an instance getter,name
(though theEnumName
extension indart:core
provides aname
instance getter). The instances of each enum are also now considered exhaustive (which may trigger new diagnostics on existing switch statements and switch expressions). - Support version
7.x
of theanalyzer
package. - Support change descriptions on SourceEdit.
- New API in
DartFileEditBuilder
:getIndent
,insertCaseClauseAtEnd
,insertConstructor
,insertField
,insertGetter
,insertMethod
,writeIndent
. - New API in
DartEditBuilder
:writeFormalParameter
andwriteFormalParameters
. - New experimental API in
DartEditBuilder
:writeOverride2
,writeReference2
,writeType2
,writeTypeParameter2
, andwriteTypeParameters2
.
0.11.3 #
- Support version
6.x
of theanalyzer
package.
0.11.2 #
- Support version
5.x
of theanalyzer
package.
0.11.1 #
- Call
analyzeFiles
fromhandleAffectedFiles
only for files that are analyzed in this analysis context.
0.11.0 #
- Using
AnalysisContextCollection
andAnalysisContext
for analysis.
0.10.0 #
- Support version
4.x
of theanalyzer
package.
0.9.0 #
- Support version
3.x
of theanalyzer
package.
0.8.0 #
- Require SDK
2.14
to useObject.hash()
. - Require
yaml 3.1.0
to userecover
.
0.7.0 #
- Support version
2.x
of theanalyzer
package.
0.6.0 #
- Bug fixes to the protocol.
0.5.0 #
- Changed the support version range of the analyzer to
^1.3.0
. - Removed
Plugin.fileContentOverlay
, insteadPlugin.resourceProvider
is nowOverlayResourceProvider
, andanalysis.updateContent
updates it. - Removed deprecated
DartChangeBuilder
andDartChangeBuilderImpl
. - Removed deprecated
ChangeBuilder.addFileEdit()
. - Stable null safety release.
- Updated dependencies to null safe releases.
0.4.0 #
- Deprecated the class
DartChangeBuilder
and enhancedChangeBuilder
to be the replacement for it. - Deprecated the method
ChangeBuilder.addFileEdit
and introducedChangeBuilder.addDartFileEdit
andChangeBuilder.addGenericFileEdit
to be the replacements for it. - Changed the supported version range of the analyzer to
>=0.41.0 <0.42.0
.
0.3.0 #
- Removed deprecated
Plugin.getResolveResult
. UsegetResolvedUnitResult
.
0.2.5 #
- Change supported analyzer version to
^0.39.12
0.2.4 #
- Exposed method
AnalyzerConverter.locationFromElement
(was previously private).
0.2.3 #
- Added class
Relevance
. - Removed
FixKind.name
, replaced withFixKind.id
. Technically this is a breaking change but we believe that in practice it is benign, sinceFixKind.name
was only used for debugging. - Added function
computeDartNavigation
. - Note: never published (had problematic imports of package:analysis_server).
0.2.2 #
- Change supported analyzer version to
^0.39.0
0.2.1 #
- Bump maximum supported version of the analyzer to
<0.39.0
. - Bug fixes: #37916, #38326.
0.2.0 #
- Change
DartEditBuilder.writeOverride()
to acceptExecutableElement
instead ofFunctionType
.
0.1.0 #
- Support the latest
pkg:analyzer
. - remove the declared type of generated setters
0.0.1-alpha.8 #
- Support the latest
pkg:analyzer
.
0.0.1-alpha.7 #
- Remove CompletionSuggestion.elementUri, replaced with AvailableSuggestionSet.
- Remove 'importUri' from CompletionSuggestion.
- Include type parameters into suggested code completions.
0.0.1-alpha.4 #
- Upgrade the Dart SDK version constraint
0.0.1 #
- Initial version