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 #2670

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 21, 2024

This PR contains the following updates:

Package Type Update Change
analyzer (source) dependencies major ^6.4.1 -> ^7.1.0

Warning

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


Release Notes

dart-lang/sdk (analyzer)

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.

v6.11.0

  • Un-deprecated LibraryElement.exportedLibraries.
  • Un-deprecated LibraryElement.importedLibraries.

v6.10.0

  • Deprecated LibraryElement.accessibleExtensions, use
    CompilationUnitElement.accessibleExtensions instead.
  • Deprecated LibraryElement.exportedLibraries.
  • Deprecated LibraryElement.importedLibraries.
  • Deprecated LibraryElement.isBrowserApplication.
  • Deprecated LibraryElement.libraryExports,
    use CompilationUnitElement.libraryExports instead.
  • Deprecated LibraryElement.libraryImports,
    use CompilationUnitElement.libraryImports instead.
  • Deprecated LibraryElement.prefixes,
    use CompilationUnitElement.libraryImportPrefixes instead.
  • Deprecated LibraryElement.parts,
    use CompilationUnitElement.parts instead.
  • Deprecated LibraryElement.scope,
    use CompilationUnitElement.scope instead.

v6.9.0

  • NormalFormalParameter now implements AnnotatedNode.
  • Deprecated Element.enclosingElement, use enclosingElement3.

v6.8.0

  • Add AnalysisContextCollection.dispose(). It must be invoked at the end.
  • Deprecated ContextLocator and ContextBuilder.
    Use AnalysisContextCollection instead.

v6.7.0

  • Deprecated File.createSource(), it violates levels of abstraction.
    You can get Source instances from AnalysisResults.
  • Deprecated unused static members of AnalysisError.

v6.6.0

  • Stop exporting src/file_system/file_system.dart
    from file_system/file_system.dart.
  • Deprecated package:analyzer/src/source/source_resource.dart,
    import package:analyzer/source/file_source.dart instead.
  • Deprecated exports from package:analyzer/src/source/source.dart,
    import package:analyzer/source/source.dart instead.

v6.5.2

  • Updated constraints macros: '>=0.1.2-0 <0.1.3'.

v6.5.1

  • Updated constraints macros: '>=0.1.1-0 <0.1.2'.

v6.5.0

  • Deprecated LibraryElement.toLegacyTypeIfOptOut.
  • Deprecated LibraryElement.toLegacyElementIfOptOut.
  • Deprecated LibraryElement.isNonNullableByDefault.
  • Deprecated InterfaceElement.lookUpGetter, InterfaceElement.lookUpMethod,
    and InterfaceElement.lookUpSetter.
  • Fixed GeneralizingAstVisitor.visitNamedType to invoke visitTypeAnnotation.
  • Deprecated PropertyInducingElement get variable in PropertyAccessorElement,
    use PropertyInducingElement? get variable2 instead.
    The reason for this is that when the property accessor is an augmentation
    without the corresponding declaration, there is no corresponding variable.
  • Deprecated ExtensionDeclaration.onKeyword and extendedType.
    Use ExtensionOnClause? get onClause instead.
    Extension augmentations are not allowed to have onClause.
  • Deprecated OnClause, use MixinOnClause instead.
  • Support new meta annotation: @doNotSubmit.
  • Support new meta annotation: @mustBeConst.
  • Support new meta TargetKinds: constructor, directive, enumValue, and
    typeParameter.
  • Fix for accessing constants from extension type, when import prefixed.
  • Deprecated AstNode.getProperty and AstNode.setProperty. Clients who need
    the ability to add arbitrary decorations to AST nodes can achieve the same
    effect using Dart's built-in
    Expando class.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

@provokateurin provokateurin marked this pull request as draft November 21, 2024 07:59
@Leptopoda Leptopoda self-assigned this Dec 8, 2024
@renovate renovate bot force-pushed the renovate/analyzer-7.x branch from f1fd136 to 46ad7f9 Compare December 12, 2024 07:38
@Leptopoda Leptopoda marked this pull request as ready for review December 12, 2024 11:51
@renovate renovate bot force-pushed the renovate/analyzer-7.x branch from 46ad7f9 to c8d27bc Compare December 12, 2024 11:52
@Leptopoda Leptopoda marked this pull request as draft December 12, 2024 11:59
@Leptopoda Leptopoda removed their assignment Dec 12, 2024
@renovate renovate bot force-pushed the renovate/analyzer-7.x branch from c8d27bc to 6205697 Compare December 16, 2024 19: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.

1 participant