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

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Nov 21, 2024

This PR contains the following updates:

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

Release Notes

dart-lang/sdk (analyzer)

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.

v6.4.1

  • Patch for crash in ffi_verifier.

v6.3.0

  • Updated the current language version to 3.3.
  • Removed generated ConstantEvaluator.

v6.2.0

  • Improvements for extension types.
  • Heap usage improvements.

v6.1.0

  • Added InstanceElement, a super-interface for InterfaceElement
    and ExtensionElement.
  • Added TypeSystem.greatestLowerBound.

v6.0.0

  • Remove deprecated declaredElement2 from AST.
  • Remove deprecated element2 from AST.
  • Remove deprecated name2 from AST.
  • Remove deprecated FunctionBody.isPotentiallyMutatedInClosure.
  • Remove deprecated extensionName, staticElement from ExtensionOverride.
  • Remove deprecated name from NamedType.

v5.13.0

v5.12.0

  • Deprecated DartType.isDynamic, use is DynamicType instead.
  • Updated NamedType to use importPrefix and name2 token.
    The deprecated name node is still visited in this version, but will stop
    in the next major version.
  • Updated ExtensionOverride to use importPrefix and name token.
    The deprecated extensionName node is still visited in this version, but
    will stop in the next major version.
  • Deprecated the default AnalysisError constructor, use tmp constructor,
    with names formal parameters. Theoretically no clients should use either,
    but practically there are two uses currently.
  • Added InvalidType, used when a named type cannot be resolved, or a
    property cannot be resolved, etc. Previously DynamicType was used.
    In the future DynamicType will be used only when specified explicitly,
    or a property is resolved against a dynamic target. The clients should
    prepare by checking also for InvalidType in addition to DynamicType.

v5.11.1

  • Restore previously published finalKeyword, interfaceKeyword and
    sealedKeyword of MixinElement. We added them preliminary while
    working on the class modifiers feature, but eventually decided to remove.
    https://github.com/dart-lang/sdk/issues/52159es/52159 for details.

v5.11.0

  • Removed @experimental from AST nodes and elements for records and patterns.
  • Deprecated IfStatement.condition, use expression instead.
  • Added NamedType.importPrefix, NamedType.name2, and NamedType.element.
    Deprecated NamedType.name. Currently Identifier is an expression, and
    an expression as a name of a type does not make sense. So, instead we model
    it as a name token, the Element that it references, and an optional import
    library prefix reference.

v5.10.0

  • Added DartType.isDartCoreType.

v5.9.0

  • Deprecated FunctionBody.isPotentiallyMutatedInClosure, not used by clients.
  • Fix for FunctionBody.isPotentiallyMutatedInScope and pattern assignment.

v5.8.0

  • Deprecated DartType.isVoid, use is VoidType instead.
  • records, patterns, and class-modifiers features enabled by default.

v5.7.1

  • Require SDK >=2.19.0 <3.0.0 to use PathNotFoundException from dart:io.

v5.6.0

  • Fixes for patterns parsing.
  • Implemented DartPattern.precedence.

v5.5.0

  • Rename RecordPatternField to PatternField.
  • Rename RecordPatternFieldName to PatternFieldName.

v5.4.0

  • Bug fixes: 50660

v5.3.1

  • Require collection: ^1.17.0 because we use elementAtOrNull.

v5.2.0

  • Deprecated Element.enclosingElement3, use enclosingElement instead.
  • Deprecated Directive.element2, use element instead.
  • Deprecated CatchClause.exceptionParameter2, use exceptionParameter instead.
  • Deprecated CatchClause.stackTraceParameter2, use stackTraceParameter instead.
  • Deprecated DartType.element2, use element instead.
  • Deprecated Element.isAccessibleIn2(), use isAccessibleIn() instead.
  • Deprecated CompilationUnitElement.enums2, use enums instead.
  • Deprecated CompilationUnitElement.getEnum2(), use getEnum() instead.
  • Deprecated CompilationUnitElement.mixins2, use mixins instead.
  • Deprecated LibraryElement.parts2, use parts instead.
  • Deprecated ImportElement.imports2, use imports instead.
  • Add AnalysisDriverForPackageBuild.sdkLibraryUris.
  • Deprecated buildSdkSummary2(), use buildSdkSummary() instead.

v5.1.0

  • Deprecated AstNode.name2, use name instead.
  • Deprecated AstNode.declaredElement2, use declaredElement instead.

v5.0.0

  • Removed deprecated methods from AST.
  • Removed deprecated DiagnosticMessage.message.
  • Removed deprecated LibraryElement.getImportsWithPrefix().
  • Removed deprecated ParameterElement.isNotOptional.
  • Removed deprecated DartType.displayName.
  • Removed deprecated methods from AnalysisDriver.
  • Removed deprecated ClassOrMixinDeclaration.
  • Removed deprecated Declaration.declaredElement.
  • Removed deprecated Element.enclosingElement and enclosingElement2.
  • Removed deprecated ExportElement, ImportElement.
  • Removed deprecated NamedCompilationUnitMember.name.
  • Removed deprecated Declaration.declaredElement.
  • Removed deprecated DartType.element.

Configuration

📅 Schedule: Branch creation - "after 9pm,before 6am" in timezone Africa/Johannesburg, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 dependencies renovate bot related dependency upgrades label Nov 21, 2024
@renovate renovate bot enabled auto-merge (squash) November 21, 2024 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies renovate bot related dependency upgrades
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants