Require Dart SDK 3.7 and drop Dart 2 tooling - #474
Merged
Merged
Conversation
Raise the SDK floor so dart format --language-version works, always use dart analyze/format, allow webdev 3.x and 4.x, and remove TuneupCheckTool. Co-authored-by: Cursor <cursoragent@cursor.com>
Widen the constraint so Dart 3.13+ can resolve analyzer 14.x, and fail CI if stable does not actually get that version. Co-authored-by: Cursor <cursoragent@cursor.com>
3 tasks
robbecker-wf
added this pull request to stack #476
September 17, 2026 19:38
robbecker-wf
marked this pull request as ready for review
September 17, 2026 21:16
alanknight-wk
approved these changes
Sep 17, 2026
Member
Author
|
QA +1 CI passes @Workiva/release-management-p |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem / Feature
dart_dev still advertised Dart 2.19 support and branched on SDK commands (
dartanalyzer,dartfmt) and webdev 2.x that no longer exist. Dart 3.7+ also requires an explicitdart format --language-version, which the current minimum SDK cannot provide.Solution
Raise the SDK constraint to
>=3.7.0 <4.0.0and always rundart analyze/dart format.Formatter.dartfmtnow maps todart format(and is the default);AnalyzeTool.useDartAnalyzeis ignored. Serve accepts globally activated webdev>=3.0.0 <5.0.0.TuneupCheckToolis removed. CI tests 3.7.0 and stable; the format check is commented out until a dedicated format PR.Areas of Impact
Test Overview (QA Instructions)
dart analyzeis cleandart testpasses on Dart 3.7+3.7.0andstable(ubuntu + windows)--checkstep is still commented in.github/workflows/ci.ymlddev serveaccepts webdev 3.x or 4.x;TuneupCheckToolis no longer exportedMade with Cursor