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

chore(deps): update dependency analyzer to v7 #418

Closed
wants to merge 1 commit into 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) dev_dependencies major ^5.4.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.

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.

Copy link

docs-page bot commented Nov 21, 2024

To view this pull requests documentation preview, visit the following URL:

docs.page/focustree/starknet.dart~418

Documentation is deployed and generated using docs.page.

Copy link
Contributor

coderabbitai bot commented Nov 21, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@lesnitsky lesnitsky closed this Dec 1, 2024
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