Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency analyzer to v7 #641

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 27, 2025

This PR contains the following updates:

Package Type Update Change
analyzer (source) dependencies major ^6.7.0 -> ^7.0.0

Warning

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


Release Notes

dart-lang/sdk (analyzer)

v7.3.0

  • Add flags optional named parameter to FeatureSet.latestLanguageVersion().

v7.2.0

  • Add ElementDirective as superinterface for LibraryExport, LibraryImport,
    and PartInclude. It implements Annotatable.

v7.1.0

  • New APIs for element model with fragments.

v7.0.0

  • Remove deprecated DartType.element2.
  • Remove deprecated DartType.isDynamic.
  • Remove deprecated DartType.isVoid.
  • Remove deprecated DartType.resolveToBound.
  • Remove deprecated IfElement.condition.
  • Remove deprecated IfStatement.condition.
  • Remove deprecated AstNode.getProperty and AstNode.setProperty.
  • Remove File.createSource(), it violates levels of abstraction.
    You can get Source instances from AnalysisResults.
  • Remove deprecated LibraryElement.toLegacyTypeIfOptOut.
  • Remove deprecated LibraryElement.toLegacyElementIfOptOut.
  • Remove deprecated LibraryElement.isNonNullableByDefault.
  • Remove deprecated File.changes and Folder.changes.
  • Remove deprecated Resource.parent2.
  • Remove deprecated OnClause.
  • Remove deprecated ContextBuilder, use AnalysisContextCollection.
  • Remove deprecated ContextLocator, use AnalysisContextCollection.
  • Remove deprecated ClassOrAugmentationDeclaration..
  • Remove deprecated MixinOrAugmentationDeclaration..
  • Remove deprecated members of AnalysisError.
  • Remove deprecated TypeSystem.instantiateToBounds2.
  • Remove deprecated buildSdkSummary2().
  • Remove deprecated FileSource.fileReadMode.
  • Remove deprecated members of ErrorReporter.
  • Remove deprecated Comment.isBlock, isDocumentation, isEndOfLine.
  • Remove deprecated Element.enclosingElement.
  • Remove deprecated PropertyAccessor.variable.
  • Remove experimental LibraryOrAugmentationElement.
  • Remove deprecated LibraryElement properties.
  • Remove deprecated enabledPluginNames and hint from AnalysisOptions.
  • Remove deprecated source_io.dart.
  • Remove deprecated lint/Spelunker.
  • Remove deprecated source_resource.dart.
  • Remove MultiplyInheritedExecutableElement.
  • Remove AnalyzeFunctionBodiesPredicate.
  • Remove normalParameterNames and optionalParameterNames from FunctionType.

Configuration

📅 Schedule: Branch creation - "before 7am on Thursday" (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 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.

Copy link
Contributor Author

renovate bot commented Feb 27, 2025

⚠️ 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: das_client/das_custom_lints/pubspec.lock
Command failed: dart pub upgrade analyzer
Because no versions of analyzer_plugin match >0.11.3 <0.12.0 and analyzer_plugin >=0.11.2 <0.11.3 depends on analyzer ^5.0.0, analyzer_plugin >=0.11.2 <0.11.3-∞ or >0.11.3 <0.12.0 requires analyzer ^5.0.0.
And because analyzer_plugin 0.11.3 depends on analyzer ^6.0.0, analyzer_plugin ^0.11.2 requires analyzer ^5.0.0 or ^6.0.0.
So, because das_custom_lints depends on both analyzer ^7.0.0 and analyzer_plugin ^0.11.2, version solving failed.


You can try one of the following suggestions to make the pubspec resolve:
* Try upgrading your constraint on analyzer_plugin: dart pub add analyzer_plugin:^0.12.0
* Consider downgrading your constraint on analyzer: dart pub add analyzer:^6.11.0

@phirzel phirzel self-requested a review March 3, 2025 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant