PackageTrack
Sign in Get early access

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
Release Pre-release

Releases

latest 24
  1. 0.3.20 13 Jul 2026
    Release notes
    • 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 analyze could spin indefinitely.
    • Require version 14.1.0 of the analyzer package.
    • Require version 0.14.14 of the analyzer_plugin package.
    • Allows fixes to be applied to the whole file with multiFixKind and the valid applicability options.
    Open source →
  2. 0.3.19 18 Jun 2026
    Release notes
    • Require version 14.0.0 of the analyzer package.
    • Require version 0.14.13 of the analyzer_plugin package.
    Open source →
  3. 0.3.18 11 Jun 2026
    Release notes
    • Require version 13.3.0 of the analyzer package.
    • Require version 0.14.12 of the analyzer_plugin package.
    Open source →
  4. 0.3.17 10 Jun 2026
    Release notes
    • Require version 13.2.0 of the analyzer package.
    • Require version 0.14.11 of the analyzer_plugin package.
    • Export the following classes from analyzer_plugin for convenience:
      • ChangeBuilder (along with ChangeWorkspace, EditBuilder, FileEditBuilder, LinkedEditBuilder, DartFileEditBuilder, DartEditBuilder, DartLinkedEditBuilder, ImportLibraryElementResult, YamlFileEditBuilder, YamlEditBuilder, YamlLinkedEditBuilder, LinkedEditSuggestionKind, Position, and SourceChange, which are found in ChangeBuilder's public API.
      • AssistKind
      • FixKind
      • RangeFactory (and the range singleton instance)
    Open source →
  5. 0.3.16 04 Jun 2026
    Release notes
    • Require version 13.1.0 of the analyzer package.
    • Require version 0.14.10 of the analyzer_plugin package.
    • 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.
    Open source →
  6. 0.3.15 22 Apr 2026
    Release notes
    • Add "plugin shutdown" support. Override Plugin.shutdown to take actions like cleaning up resources.
    • Require version 13.0.0 of the analyzer package.
    • Require version 0.14.9 of the analyzer_plugin package.
    Open source →
  7. 0.3.14 08 Apr 2026
    Release notes
    • Require version 12.1.0 of the analyzer package.
    • Require version 0.14.8 of the analyzer_plugin package.
    Open source →
  8. 0.3.13 17 Mar 2026
    Release notes
    • Require version 12.0.0 of the analyzer package.
    • Require version 0.14.7 of the analyzer_plugin package.
    Open source →
  9. 0.3.11 27 Feb 2026
    Release notes
    • Files which are excluded in analysis options are no longer analyzed by analyzer plugins.
    • Require version ^11.0.0-0 of the analyzer package.
    • Require version 0.14.5-dev of the analyzer_plugin package.
    Open source →
  10. 0.3.10 21 Feb 2026
    Release notes
    • Require version 10.2.0 of the analyzer package.
    • Require version 0.14.4 of the analyzer_plugin package.
    Open source →
  11. 0.3.9 17 Feb 2026
    Release notes
    • Require version 10.1.0 of the analyzer package.
    • Require version 0.14.3 of the analyzer_plugin package.
    Open source →
  12. 0.3.8 30 Jan 2026
    Release notes
    • Rules are more properly namespaced in the plugin in which they are registered, which means in particular that // ignore comments 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.2 of the analyzer package.
    Open source →
  13. 0.3.7 16 Jan 2026
    Release notes
    • Require version 10.0.1 of the analyzer package.
    Open source →
  14. 0.3.6 12 Jan 2026
    Release notes
    • Fix issue with displaying diagnostic context messages in IDEs.
    Open source →
  15. 0.3.5 07 Jan 2026
    Release notes
    • Require version 10.0.0 of the analyzer package.
    • Require version 0.14.0 of the analyzer_plugin package.
    • PluginRegistry.registerFixForRule now accepts a DiagnosticCode (a supertype of the old parameter type, LintCode).
    • Fixes can now be suggested and applied in part files. (Thanks @FMorschel)
    • AnalysisRuleVisitor.afterLibrary is now properly supported.
    • Various documentation improvements.
    Open source →
  16. 0.3.4 23 Oct 2025
    Release notes
    • Require version 9.0.0 of the analyzer package.
    Open source →
  17. 0.3.3 20 Oct 2025
    Release notes
    • Require version 8.4.0 of the analyzer package.
    Open source →
  18. 0.3.2 13 Oct 2025
    Release notes
    • Fix support for automatic re-analysis of '*.dart' files added, both on-disk and for files added in the IDE.
    Open source →
  19. 0.3.1 23 Sep 2025
    Release notes
    • Write more of a README.
    • Perform less redundant work when producing diagnostics.
    Open source →
  20. 0.3.0 22 Sep 2025
    Release notes
    • Require version 8.2.0 of the analyzer package.
    • 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.isInLibDir and RuleContext.package.
    • Add support for priority files in an IDE.
    • Correct the text range over which fixes are calculated.
    • Breaking change: a Plugin class must now implement String get name.
    Open source →
  21. 0.2.2 13 Aug 2025
    Release notes
    • Require version 8.1.1 of the analyzer package.
    Open source →
  22. 0.2.1 07 Aug 2025
    Release notes
    • Require version ^8.1.0 of the analyzer package.
    Open source →
  23. 0.2.0 05 Aug 2025
    Release notes
    • Require version ^8.0.0 of the analyzer package.
    • 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_testing package, 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-null fixKind, and that CorrectionProducers registered as assists have a non-null assistKind.
    • Various performance improvements are included.
    • Breaking change: The DartFixContext.librariesWithExtensions method now accepts a Name instead of a String, and only yields library elements that actually export an extension with a member of the given name.
    • CorrectionProducer.errorLength is renamed CorrectionProducer.diagnosticLength.
    • CorrectionProducer.errorOffset is renamed CorrectionProducer.diagnosticOffset.
    • FixContext.error is renamed FixContext.diagnostic.
    • The new minimum analyzer version contains a number of API changes that should be noted for use in this package:
      • ErrorCode is renamed DiagnosticCode.
      • AnalysisError is renamed Diagnostic. This class's errorCode field is now named diagnosticCode.
      • ErrorListener is renamed DiagnosticListener.
      • ErrorReporter is renamed DiagnosticReporter.
      • LintRule is split into two classses: AnalysisRule, for rules which report exactly one code, and MultiAnalysisRule, for rules which report multiple codes. These classes are public API. Classes that used to extend LintRule and either implemented the lintCode getter or the lintCodes getter now must implement diagnosticCode (for AnalysisRule) or diagnosticCodes (for MultiAnalysisRule).
      • NodeLintRegistry is renamed RuleVisitorRegistry. It is now public API.
      • A LintCode's severity can now be specified when in the constructor call.
      • LinterContext is renamed RuleContext. It is now public API.
      • LinterContextWithParsedResults is renamed RuleContextWithParsedResults.
      • LinterContextWithResolvedResults is renamed RuleContextWithResolvedResults.
      • LintRuleUnitContext is renamed RuleUnitContext. It is now public API.
      • CorrectionProducer.inheritanceManager is deprecated, in favor of the methods found on InterfaceElement.
    Open source →
  24. 0.1.0-dev.1 14 Feb 2025 pre-release
    Release notes
    • Initial release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive