Skip to content

Update dependency analyzer to v13#989

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/analyzer-13.x
Open

Update dependency analyzer to v13#989
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/analyzer-13.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 22, 2026

This PR contains the following updates:

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

Warning

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


Release Notes

dart-lang/sdk (analyzer)

v13.0.0

  • Breaking Change: MixinFragment.superclassConstraints has been removed. Use fragment.element.superclassConstraints instead.
  • Breaking Change: DefaultFormalParameter has been removed. Default values for parameters are now represented compositionally via a defaultClause property on all FormalParameter nodes.
  • Breaking Change: SimpleFormalParameter and FunctionTypedFormalParameter have been removed and replaced by RegularFormalParameter.
  • Breaking Change: Function-typed parameters are now represented compositionally via a functionTypedSuffix property on FormalParameter.
  • Breaking Change: NormalFormalParameter has been removed from the AST hierarchy.
  • Breaking Change: AstVisitor methods visitDefaultFormalParameter, visitSimpleFormalParameter, and visitFunctionTypedFormalParameter have been removed. Use visitRegularFormalParameter instead for standard parameters.
  • Added FormalParameterDefaultClause and FunctionTypedFormalParameterSuffix AST nodes to represent parameter defaults and function-typed parameter structures.
  • Breaking Change: NamedExpression has been removed and replaced with NamedArgument in ArgumentList and RecordLiteralNamedField in RecordLiteral.
  • Breaking Change: Added Argument and RecordLiteralField AST node interfaces, which Expression now implements.
  • Breaking Change: ArgumentList.arguments now returns NodeList<Argument> instead of NodeList<Expression>.
  • Breaking Change: RecordLiteral.fields now returns NodeList<RecordLiteralField> instead of NodeList<Expression>.
  • Breaking Change: AstVisitor.visitNamedExpression has been removed. Use visitNamedArgument and visitRecordLiteralNamedField instead.
  • Breaking Change: FormalParameterElement.firstFragment and .fragments now return FormalParameterFragment (instead of specific parameter fragment subtypes like FieldFormalParameterFragment), making formal parameter fragments heterogeneous to support augmentations.
  • Added LabelReference AST node to represent references to labels without them being in the expression hierarchy.
  • Breaking Change: Label now uses a Token name instead of SimpleIdentifier label.
  • Breaking Change: BreakStatement.label and ContinueStatement.label now return LabelReference? instead of SimpleIdentifier?.

v12.1.0

  • Support type aliases for dynamic, Never, and void. As a result, it is no longer safe to assume that
    there is a single instance of DynamicType, NeverType, or VoidType. Use type checks (is DynamicType)
    instead of identical().

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).

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "on wednesday"
  • 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-13.x branch from 3cf100e to a57c2b6 Compare May 18, 2026 10:11
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