analyzer 0.26.1+9

[outdated]

Static analyzer for Dart.

0.26.1+9 #

  • OptionsProcessor extension point API changed to pass associated AnalysisContext instance into the optionsProcessed call-back.

0.26.1+6 #

  • Provisional (internal) plugin manifest parsing.

0.26.1+5 #

  • Plugin configuration ErrorHandler typedef API fix.

0.26.1+4 #

  • Provisional (internal) support for plugin configuration via .analysis_options.

0.26.1+2 #

  • Extension point for WorkManagerFactory(s).
  • Resolve enum documentation comments.
  • Fix display of parameter lists in servers Element structure (issue 24194)
  • Band-aid fix for issue #24191.

0.26.1+1 #

  • Removed a warning about importing unnamed libraries
  • Fix handling of empty URIs in .packages files (issue 24126)

0.26.1 #

  • Fix line starts in multiline comments (issue 23919).
  • Various small fixes to Windows path handling.
  • Update LineInfo computation during incremental resolution.
  • Make exclude list apply to contexts (issue 23941).
  • Fix type propagation for asynchronous for-in statements.
  • Fix ToStringVisitor for external functions (issue 23968).
  • Fix sorting of compilation unit members.
  • Add forwarding for DefaultFormalParameter metadata.
  • Fix most implementations of UriResolver.restoreAbsolute.
  • Disable dart2js hints by default.
  • Support older SDKs (Dart 1.11).

0.26.0 #

  • Add hook for listening to implicitly analyzed files
  • Add a PathFilter and AnalysisOptionsProvider utility classes to aid clients in excluding files from analysis when directed to do so by an options file.
  • API change: UriResolver.resolveUri(..) now takes an optional actualUri.
  • Change ResolutionCopier.visitAwaitExpression to copy *Type fields.
  • Fix highlight range for missing enum constant in switch (issue 23904).
  • Fix analyzer's treatment of ClassName?.staticMember to match spec.
  • Implement DEP 34 (less restricted mixins).
  • Fix some implementations of UriResolver.resolveUri(..) that did not properly handle the new actualUri argument.

0.25.2 #

  • Requires Dart SDK 1.12-dev or greater
  • Enable null-aware operators (DEP 9) by default.
  • Generic method support in the element model.

0.25.2-alpha.1 #

  • dart:sdk extension .sdkext changed to _sdkext (to play nicer with pub).

0.25.2-alpha.0 #

  • Initial support for analyzing dart:sdk extensions from .sdkext.

0.25.1 #

  • (Internal) code reorganization to address analysis warnings due to SDK reorg.
  • First steps towards .packages support.

0.25.0 #

  • Commandline interface moved to dedicated analyzer_cli package. Files moved:
    • bin/analyzer.dart
    • lib/options.dart
    • lib/src/analyzer_impl.dart
    • lib/src/error_formatter.dart
  • Removed dependency on the args package.

0.22.1 #

  • Changes in the async/await support.

0.22.0 #

New API:

  • Source.uri added.

    Breaking changes:

  • DartSdk.fromEncoding replaced with fromFileUri.

  • Source.resolveRelative replaced with resolveRelativeUri.