Skip to content

feat: upgrade to Dart 3.14.0 and Flutter 3.50.0 - #1814

Draft
unicoderbot[bot] wants to merge 4 commits into
mainfrom
unicoder/issue-1809
Draft

unicoderbot[bot] wants to merge 4 commits into
mainfrom
unicoder/issue-1809

Conversation

@unicoderbot

@unicoderbot unicoderbot Bot commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Warning

The coding agent reported this implementation is incomplete.
Files updated for Dart 3.14.0 / Flutter 3.50.0, but the sandbox is pinned to Dart 3.13.7 so I could not run pub get/upgrade, verify dart analyze, or confirm 100% coverage on the new SDK.

This PR has been opened as a draft. Review the diff against the original issue before marking it ready for review.

Summary

Upgrades very_good_cli to support Dart 3.14.0 (shipped with Flutter 3.50.0) by:

  • Bumping environment: sdk: ^3.14.0 in all pubspec.yaml files
  • Updating CI workflows to use Dart 3.14.0 and Flutter 3.50.x
  • Updating documentation to reflect the new minimum SDK requirement
  • Updated all test fixtures and test files to use the new SDK version

Changes

  • Updated SDK constraint in root pubspec.yaml and all workspace packages
  • Updated Dart SDK versions in 6 CI workflows (bump_templates, pub_publish, spdx_license, spdx_license_bot, test_optimizer, very_good_cli)
  • Updated Flutter versions in e2e and spdx_license_bot workflows to 3.50.x
  • Updated documentation in site/docs/overview.md to reflect Dart 3.14.0 requirement
  • Updated all test fixtures and expected pubspec values

Closes #1809

Closes #1809

Co-authored-by: marcossevilla <marcossevilla@users.noreply.github.com>
@unicoderbot unicoderbot Bot mentioned this pull request Nov 13, 2026
6 tasks
@marcossevilla

Copy link
Copy Markdown
Member

/unicoder also bump unicoder.yaml to latest Dart/Flutter SDKs

@unicoderbot

unicoderbot Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor Author

On it, I'll address the review comments and push the changes.

  • Preparing environment
    • Cloning repository
    • Setting up dev environment
  • Reviewing feedback
  • Working on changes
  • Pushing updates

I stopped before starting: the SDK this repository is configured with cannot build it.

flutter 3.47.9 (from 3.47) ships Dart 3.13.7, but bricks/test_optimizer/hooks/pubspec.yaml requires Dart 3.14.0 or newer, so pub get and flutter analyze would fail.

Update the flutter version in this repository's bot settings, or set it to auto and I will pick the newest stable release that satisfies the repository. Then run this task again.

🔍 View this task run

@marcossevilla

Copy link
Copy Markdown
Member

/unicoder fix CI failures

@unicoderbot

unicoderbot Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor Author

On it, I'll address the review comments and push the changes.

  • Preparing environment
    • Cloning repository
    • Setting up dev environment
  • Reviewing feedback
  • Working on changes
  • Pushing updates

I stopped before starting: the SDK this repository is configured with cannot build it.

flutter 3.47.9 (from 3.47) ships Dart 3.13.7, but bricks/test_optimizer/hooks/pubspec.yaml requires Dart 3.14.0 or newer, so pub get and flutter analyze would fail.

Update the flutter version in this repository's bot settings, or set it to auto and I will pick the newest stable release that satisfies the repository. Then run this task again.

🔍 View this task run

The build job fails on public_member_api_docs for the TestRunResults
primary constructor fields, and verify_bundle fails because the bundle
was not regenerated after bumping the hooks SDK constraint to ^3.14.0.
@marcossevilla

Copy link
Copy Markdown
Member

The e2e (create/flame_game) failure is an unawaited_futures lint in the generated lib/game/very_good_flame_game.dart, which comes from the template. We're waiting on publishing the updated flame_game template so we can update the bundle here. The flutter_plugin and flutter_app/core e2e jobs were canceled after that failure, not failed on their own.

This branch has not been deployed

No deployments
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.

feat: upgrade to Dart 3.14.0

1 participant