Skip to content

fix(deps): update dependency analyzer to v13#60

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

fix(deps): update dependency analyzer to v13#60
renovate[bot] wants to merge 1 commit intodevelopfrom
renovate/analyzer-13.x

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate Bot commented May 3, 2026

This PR contains the following updates:

Package Type Update Change
analyzer (source) dependencies major 8.4.013.0.0

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

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.
  • Breaking Change: Identifiers and prefixed identifiers that resolve to a type (such as a class, type
    alias, dynamic, or Never) in a value expression slot are now represented as TypeLiteral nodes instead of
    SimpleIdentifier or PrefixedIdentifier nodes (Issues 62763, 63113).

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.

v9.0.0

  • Remove deprecated field Diagnostic.data.
  • In the method DiagnosticReporter.atOffset and the constructors
    Diagnostic.tmp and Diagnostic.forValues, remove the deprecated named
    parameter errorCode, and make the named parameter diagnosticCode
    non-nullable and required.
  • Remove deprecated DiagnosticReporter.atOffset named parameter, errorCode.
  • Remove deprecated BooleanErrorListener.
  • Remove deprecated RecordingErrorListener.
  • Remove deprecated AnalysisErrorListener.NULL_LISTENER.
  • Remove deprecated AstNodeExtension.
  • Remove deprecated NullShortableExpression.
  • Remove deprecated getters and methods from AST and element model.
  • Remove deprecated PartDirective.configurations.
  • Remove deprecated TypeDefiningElement.
  • Remove deprecated TypeAliasElement.aliasedElement.
  • Remove deprecated resolveFile2.
  • Remove deprecated ErrorCode.
  • Remove deprecated ErrorSeverity.
  • Remove deprecated ErrorType.
  • Remove deprecated AnalysisErrorListener.
  • Remove deprecated RecordingDiagnosticListener.errors.
  • Remove deprecated RecordingDiagnosticListener.getErrorForSource.
  • Deprecate BooleanDiagnosticListener.onError in favor of .onDiagnostic.
  • Deprecate RecordingDiagnosticListener.onError in favor of .onDiagnostic.
  • Deprecate DiagnosticOrErrorListener in favor of DiagnosticListener.

Configuration

📅 Schedule: (in timezone Asia/Tokyo)

  • Branch creation
    • "before 10am on Monday"
  • 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 this update 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 added the deps label May 3, 2026
@renovate
Copy link
Copy Markdown
Author

renovate Bot commented May 3, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pubspec.lock
Command failed: flutter pub upgrade analyzer
Because pana 0.23.11 depends on analyzer >=8.4.0 <11.0.0 and sangria_lints depends on analyzer 13.0.0, pana 0.23.11 is forbidden.
So, because sangria_lints depends on pana 0.23.11, version solving failed.


You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on analyzer: flutter pub add analyzer:^8.4.0
Failed to update packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants