analysis_server_plugin
A framework and support code for building plugins for the analysis server.
0.3.20
dart-lang/sdk
What this package is like to depend on
Last release 1 months ago
13 Jul 2026
Release timing varies
gaps range from 9 days to 2 months
Nearly every release is documented
notes for 23 of 23 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
24 releases · first in 2025
20 releases in the last 12 months
see the full history below
Release timeline
24 releases · Feb 2025 to Jul 2026
2026
Releases
latest 24-
0.3.2013 Jul 2026Release notes
Open source →- Avoid an issue where one plugin's configuration, as specified in analysis options, would bleed into another's. This effectively would remove one or more plugin configurations.
- Fix an issue with Dart SDKs <= 3.12.x, where
dart analyzecould spin indefinitely. - Require version
14.1.0of theanalyzerpackage. - Require version
0.14.14of theanalyzer_pluginpackage. - Allows fixes to be applied to the whole file with
multiFixKindand the validapplicabilityoptions.
-
0.3.1918 Jun 2026Release notes
Open source →- Require version
14.0.0of theanalyzerpackage. - Require version
0.14.13of theanalyzer_pluginpackage.
- Require version
-
0.3.1811 Jun 2026Release notes
Open source →- Require version
13.3.0of theanalyzerpackage. - Require version
0.14.12of theanalyzer_pluginpackage.
- Require version
-
0.3.1710 Jun 2026Release notes
Open source →- Require version
13.2.0of theanalyzerpackage. - Require version
0.14.11of theanalyzer_pluginpackage. - Export the following classes from
analyzer_pluginfor convenience:ChangeBuilder(along withChangeWorkspace,EditBuilder,FileEditBuilder,LinkedEditBuilder,DartFileEditBuilder,DartEditBuilder,DartLinkedEditBuilder,ImportLibraryElementResult,YamlFileEditBuilder,YamlEditBuilder,YamlLinkedEditBuilder,LinkedEditSuggestionKind,Position, andSourceChange, which are found inChangeBuilder's public API.AssistKindFixKindRangeFactory(and therangesingleton instance)
- Require version
-
0.3.1604 Jun 2026Release notes
Open source →- Require version
13.1.0of theanalyzerpackage. - Require version
0.14.10of theanalyzer_pluginpackage. - Overhaul the plugin server which decides what files to re-analyze after various events, including overlay changes (in the IDE), file watch events, etc. This change results in better results caching, so that, generally speaking, fewer files need to be re-analyzed while making changes in the IDE.
- Require version
-
0.3.1522 Apr 2026Release notes
Open source →- Add "plugin shutdown" support. Override
Plugin.shutdownto take actions like cleaning up resources. - Require version
13.0.0of theanalyzerpackage. - Require version
0.14.9of theanalyzer_pluginpackage.
- Add "plugin shutdown" support. Override
-
0.3.1408 Apr 2026Release notes
Open source →- Require version
12.1.0of theanalyzerpackage. - Require version
0.14.8of theanalyzer_pluginpackage.
- Require version
-
0.3.1317 Mar 2026Release notes
Open source →- Require version
12.0.0of theanalyzerpackage. - Require version
0.14.7of theanalyzer_pluginpackage.
- Require version
-
0.3.1127 Feb 2026Release notes
Open source →- Files which are excluded in analysis options are no longer analyzed by analyzer plugins.
- Require version
^11.0.0-0of theanalyzerpackage. - Require version
0.14.5-devof theanalyzer_pluginpackage.
-
0.3.1021 Feb 2026Release notes
Open source →- Require version
10.2.0of theanalyzerpackage. - Require version
0.14.4of theanalyzer_pluginpackage.
- Require version
-
0.3.917 Feb 2026Release notes
Open source →- Require version
10.1.0of theanalyzerpackage. - Require version
0.14.3of theanalyzer_pluginpackage.
- Require version
-
0.3.830 Jan 2026Release notes
Open source →- Rules are more properly namespaced in the plugin in which they are registered,
which means in particular that
// ignorecomments work when there are two plugins registering rules with the same name. Dart 3.12 is required for this change to take effect. - Require version
10.0.2of theanalyzerpackage.
- Rules are more properly namespaced in the plugin in which they are registered,
which means in particular that
-
0.3.716 Jan 2026 -
0.3.612 Jan 2026 -
0.3.507 Jan 2026Release notes
Open source →- Require version
10.0.0of theanalyzerpackage. - Require version
0.14.0of theanalyzer_pluginpackage. PluginRegistry.registerFixForRulenow accepts aDiagnosticCode(a supertype of the old parameter type,LintCode).- Fixes can now be suggested and applied in part files. (Thanks @FMorschel)
AnalysisRuleVisitor.afterLibraryis now properly supported.- Various documentation improvements.
- Require version
-
0.3.423 Oct 2025 -
0.3.320 Oct 2025 -
0.3.213 Oct 2025Release notes
Open source →- Fix support for automatic re-analysis of '*.dart' files added, both on-disk and for files added in the IDE.
-
0.3.123 Sep 2025Release notes
Open source →- Write more of a README.
- Perform less redundant work when producing diagnostics.
-
0.3.022 Sep 2025Release notes
Open source →- Require version
8.2.0of theanalyzerpackage. - Require Dart SDK
^3.9.0. - Add support for automatic re-analysis of files changed on-disk (as opposed to file contents changed in the IDE, which is already supported).
- Add support for analyzing and reporting diagnostics in part files.
- Add support for
RuleContext.isInLibDirandRuleContext.package. - Add support for priority files in an IDE.
- Correct the text range over which fixes are calculated.
- Breaking change: a
Pluginclass must now implementString get name.
- Require version
-
0.2.213 Aug 2025 -
0.2.107 Aug 2025 -
0.2.005 Aug 2025Release notes
Open source →- Require version
^8.0.0of theanalyzerpackage. - Require Dart SDK version
^3.5.0. - Plugins can now register assists. See the documentation for details.
- With the initial release of the new
analyzer_testingpackage, there is now a framework for testing analysis rules. See the documentation for details. - Added documentation for several features:
- Require that CorrectionProducers registered as fixes have a non-
nullfixKind, and that CorrectionProducers registered as assists have a non-nullassistKind. - Various performance improvements are included.
- Breaking change: The
DartFixContext.librariesWithExtensionsmethod now accepts aNameinstead of aString, and only yields library elements that actually export an extension with a member of the given name. CorrectionProducer.errorLengthis renamedCorrectionProducer.diagnosticLength.CorrectionProducer.errorOffsetis renamedCorrectionProducer.diagnosticOffset.FixContext.erroris renamedFixContext.diagnostic.- The new minimum analyzer version contains a number of API changes that should
be noted for use in this package:
ErrorCodeis renamedDiagnosticCode.AnalysisErroris renamedDiagnostic. This class'serrorCodefield is now nameddiagnosticCode.ErrorListeneris renamedDiagnosticListener.ErrorReporteris renamedDiagnosticReporter.LintRuleis split into two classses:AnalysisRule, for rules which report exactly one code, andMultiAnalysisRule, for rules which report multiple codes. These classes are public API. Classes that used to extendLintRuleand either implemented thelintCodegetter or thelintCodesgetter now must implementdiagnosticCode(forAnalysisRule) ordiagnosticCodes(forMultiAnalysisRule).NodeLintRegistryis renamedRuleVisitorRegistry. It is now public API.- A
LintCode's severity can now be specified when in the constructor call. LinterContextis renamedRuleContext. It is now public API.LinterContextWithParsedResultsis renamedRuleContextWithParsedResults.LinterContextWithResolvedResultsis renamedRuleContextWithResolvedResults.LintRuleUnitContextis renamedRuleUnitContext. It is now public API.CorrectionProducer.inheritanceManageris deprecated, in favor of the methods found onInterfaceElement.
- Require version
-
0.1.0-dev.114 Feb 2025 pre-release