Skip to content

chore(deps): update dependency analyzer to v12#925

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/analyzer-12.x
Open

chore(deps): update dependency analyzer to v12#925
renovate[bot] wants to merge 1 commit intomainfrom
renovate/analyzer-12.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 18, 2026

This PR contains the following updates:

Package Type Update Change
analyzer (source) dependencies major ^9.0.012.0.0
analyzer (source) dev_dependencies major ^9.0.012.0.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

dart-lang/sdk (analyzer)

v12.0.0

  • Added InstantiatedTypeAliasElement.nullabilitySuffix.
  • Support empty bodies (;) in enums, extensions, and mixins, representing
    them in the AST with EmptyEnumBody and EmptyClassBody.
  • Breaking Change: ClassBody is now a sealed class with subclasses
    BlockClassBody and EmptyClassBody. Getters like .members, .leftBracket,
    and .rightBracket are available on BlockClassBody. This affects
    ClassDeclaration, ExtensionDeclaration, and MixinDeclaration bodies.
  • Breaking Change: EnumBody is now a sealed class with subclasses
    BlockEnumBody and EmptyEnumBody. Getters like .members, .leftBracket,
    and .rightBracket are available on BlockEnumBody.
  • Breaking Change: Remove LibraryIdentifier. LibraryDirective.name and
    PartOfDirective.libraryName now return DottedName?.
  • Breaking Change: DottedName.components (NodeList) is
    replaced with DottedName.tokens (List).

v11.0.0

  • Remove deprecated ClassDeclaration.leftBracket.
  • Remove deprecated ClassDeclaration.members.
  • Remove deprecated ClassDeclaration.name.
  • Remove deprecated ClassDeclaration.rightBracket.
  • Remove deprecated ClassDeclaration.typeParameters.
  • Remove deprecated EnumDeclaration.constants.
  • Remove deprecated EnumDeclaration.leftBracket.
  • Remove deprecated EnumDeclaration.members.
  • Remove deprecated EnumDeclaration.name.
  • Remove deprecated EnumDeclaration.rightBracket.
  • Remove deprecated EnumDeclaration.semicolon.
  • Remove deprecated EnumDeclaration.typeParameters.
  • Remove deprecated ExtensionDeclaration.leftBracket.
  • Remove deprecated ExtensionDeclaration.members.
  • Remove deprecated ExtensionDeclaration.rightBracket.
  • Remove deprecated ExtensionTypeDeclaration.constKeyword.
  • Remove deprecated ExtensionTypeDeclaration.leftBracket.
  • Remove deprecated ExtensionTypeDeclaration.members.
  • Remove deprecated ExtensionTypeDeclaration.name.
  • Remove deprecated ExtensionTypeDeclaration.representation.
  • Remove deprecated ExtensionTypeDeclaration.rightBracket.
  • Remove deprecated ExtensionTypeDeclaration.typeParameters.
  • Remove deprecated ConstructorDeclaration.returnType.
  • Remove deprecated MixinDeclaration.leftBracket.
  • Remove deprecated MixinDeclaration.members.
  • Remove deprecated MixinDeclaration.rightBracket.
  • Remove deprecated NamedCompilationUnitMember.
  • Remove deprecated RepresentationConstructorName.
  • Remove deprecated RepresentationDeclaration.
  • Remove deprecated ConstructorElement.isSynthetic.
  • Remove deprecated ConstructorFragment.isSynthetic.
  • Remove deprecated Element.isSynthetic.
  • Remove deprecated ExecutableFragment.isSynthetic.
  • Remove deprecated PropertyAccessorElement.isSynthetic.
  • Remove deprecated PropertyInducingElement.isSynthetic.
  • Remove deprecated PropertyInducingFragment.isSynthetic.
  • Remove deprecated visitNamedCompilationUnitMember.
  • Remove deprecated visitRepresentationConstructorName.
  • Remove deprecated visitRepresentationDeclaration.
  • Remove deprecated RuleVisitorRegistry.addRepresentationConstructorName.
  • Remove deprecated RuleVisitorRegistry.addRepresentationDeclaration.
  • ClassDeclaration, EnumDeclaration, FunctionDeclaration,
    MixinDeclaration, and TypeAlias now implement CompilationUnitMember
    directly (instead of NamedCompilationUnitMember).

v10.2.0

  • Deprecate RuleVisitorRegistry.addRepresentationConstructorName.
  • Deprecate RuleVisitorRegistry.addRepresentationDeclaration.

v10.1.0

  • Add TypeSystem.futureValueType.
  • Remove experimental ConstructorElement.isDeclaring.
  • Stabilize ConstructorElement.isPrimary.
  • Stabilize FieldElement.declaringFormalParameter.
  • Stabilize FieldFormalParameterElement.isDeclaring and privateName.
  • Stabilize FieldFormalParameterFragment.privateName.
  • Deprecate LibraryFragment.isSynthetic, use isOriginNotExistingFile instead.

v10.0.2

  • Internal changes only

v10.0.1

  • Require version ^1.18.0 of the meta package.

v10.0.0

  • Deprecations in ClassDeclaration:
    • Properties leftBracket, members, rightBracket are deprecated; use
      body instead.
    • Properties name, typeParameters are deprecated; use namePart instead.
  • Deprecations in EnumDeclaration:
    • Properties leftBracket, constants, members, rightBracket are
      deprecated; use body instead.
    • Properties name, typeParameters are deprecated; use namePart instead.
  • Deprecations in ExtensionDeclaration:
    • Properties leftBracket, members, rightBracket are deprecated; use
      body instead.
  • Deprecations in ExtensionTypeDeclaration:
    • Properties leftBracket, constants, members, rightBracket are
      deprecated; use body instead.
    • Properties constKeyword, name, representation, typeParameters are
      deprecated; use primaryConstructor instead.
  • Breaking Change: While the deprecated members mentioned above still exist
    in the AST, their parent nodes have changed. This means that code relying on
    specific parent-child relationships for these nodes might break.
  • Breaking Change: Remove deprecated DiagnosticOrErrorListener and the
    DiagnosticOrErrorListenerExtension extension.
  • Breaking Change: Remove deprecated RecordingDiagnosticListener.onError
    and BooleanDiagnosticListener.onError methods.
  • Deprecate LintCode.new's hasPublishedDocs parameter.
  • Add RemovedAnalysisRule as the preferred way to represent removed lint
    rules. Deprecated RuleState.removed (which was the previous way to do so).
  • Deprecate ConstructorElement.isSynthetic.
    Use isOriginDeclaration, isOriginImplicitDefault,
    isOriginMixinApplication instead.
  • Deprecate TopLevelVariableElement.isSynthetic.
    Use isOriginDeclaration, isOriginGetterSetter.
  • Deprecate FieldElement.isSynthetic.
    Use isOriginDeclaration, isOriginGetterSetter,
    isOriginDeclaringFormalParameter, isOriginEnumValues instead.
  • Deprecate PropertyAccessorElement.isSynthetic.
    Use isOriginDeclaration, isOriginInterface, isOriginVariable instead.
  • Deprecate Element.isSynthetic; use isOriginXyz properties instead.
  • Deprecate LibraryElement.isSynthetic; use isOriginNotExistingFile instead.
  • Document that the class SyntacticEntity is not intended to be subclassed by
    clients.
  • Deprecate DiagnosticCode.name and DiagnosticCode.uniqueName. Use
    DiagnosticCode.lowerCaseName and DiagnosticCode.lowerCaseUniqueName
    instead.
  • Breaking Change: Remove GitPluginSource, PathPluginSource,
    PluginConfiguration, PluginSource, VersionedPluginSource from the
    public API.
  • Breaking Change: Remove deprecated
    AnalysisOptions.pluginConfigurations.

Configuration

📅 Schedule: Branch creation - "on wednesday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/analyzer-12.x branch from a21b55b to ce474a6 Compare March 21, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants