Skip to content

FED-3255 Allow analyzer 6.x#960

Merged
rmconsole5-wk merged 8 commits into
masterfrom
analyzer-6
Oct 18, 2024
Merged

FED-3255 Allow analyzer 6.x#960
rmconsole5-wk merged 8 commits into
masterfrom
analyzer-6

Conversation

@greglittlefield-wf

@greglittlefield-wf greglittlefield-wf commented Oct 16, 2024

Copy link
Copy Markdown
Contributor

Depends on #958

Motivation

over_react currently allows analyzer 5.x, but not analyzer 6.x, which prevents newer versions of other packages from being pulled in.

We were previously blocked on supporting analyzer 6.x since it can only be used in Dart 3, but now we support Dart 3!

Changes

  • Raise analyzer upper bound to allow 6.x
  • Add 6.x to CI matrix that validates behavior under different analyzer majors
  • Fix usages of deprecated NamedType.name, which was removed in analyzer 6.0.0
    • This getter included the name and any import prefix, and was deprecated in favor of the following getters:
      • name2 (the name without the prefix)
      • importPrefix (just the prefix)

Release Notes

Review

See CONTRIBUTING.md for more details on review types (+1 / QA +1 / +10) and code review process.

Please review:

QA Checklist

  • Tests were updated and provide good coverage of the changeset and other affected code
  • Manual testing was performed if needed

Merge Checklist

While we perform many automated checks before auto-merging, some manual checks are needed:

  • A Frontend Frameworks Design member has reviewed these changes
  • There are no unaddressed comments - this check can be automated if reviewers use the "Request Changes" feature
  • For release PRs - Version metadata in Rosie comment is correct

@aviary2-wf

Copy link
Copy Markdown

Security Insights

No security relevant content was detected by automated scans.

Action Items

  • Review PR for security impact; comment "security review required" if needed or unsure
  • Verify aviary.yaml coverage of security relevant code

Questions or Comments? Reach out on Slack: #support-infosec.

});
});

group('NameHelper', () {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This extension is exclusive to Identifier, and in analyzer 6 type names are no longer parsed as Identifier, so these cases needed to be updated

@rmconsole3-wf rmconsole3-wf changed the title Allow analyzer 6.x FED-3255 Allow analyzer 6.x Oct 16, 2024
@greglittlefield-wf greglittlefield-wf marked this pull request as ready for review October 16, 2024 23:12
robbecker-wf
robbecker-wf previously approved these changes Oct 17, 2024

@robbecker-wf robbecker-wf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎊

@robbecker-wf robbecker-wf added the Hold Hold merges label Oct 17, 2024
@greglittlefield-wf greglittlefield-wf changed the base branch from dart-3-ci to master October 18, 2024 18:18
@greglittlefield-wf greglittlefield-wf dismissed robbecker-wf’s stale review October 18, 2024 18:18

The base branch was changed.

@robbecker-wf

Copy link
Copy Markdown
Member

QA+1 CI passes on all combinations. Validated that analyzer 5 and 6 are actually used and pass.

@greglittlefield-wf

Copy link
Copy Markdown
Contributor Author

@Workiva/release-management-p

@rmconsole-wf rmconsole-wf left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 from RM

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.

5 participants