Repository navigation
chore: support Flutter 3.50.0 across packages, plugins and CI - #52
Merged
Merged
Conversation
- Pin Flutter 3.50.0 in all workflows and the generated-project CI. - Replace `dart run melos` with a globally activated `melos`: Dart 3.14 changed Platform.script for `dart run`, which cli_launcher <=0.3.4+1 cannot resolve. `nonstop create` now runs only `dart pub get`. - Migrate deprecated flutter/material and flutter/cupertino imports to material_ui and cupertino_ui; raise flutter minimums to 3.47.0 where material_ui is now required. - Update the coverage driver for the 3.50 flutter_tools API. - Regenerate pubspec.lock, nonstop_cli bundles and nonstop_example. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…toolchain AGP 9.4.1 requires Gradle 9.6+, but Flutter 3.50 app templates use Gradle 9.5.0 with AGP 9.3.1, so a fresh app adding the plugin failed to build for Android. Pin AGP 9.3.1. Also make tools/coverage.py name the cause when its driver stops compiling against a new Flutter SDK, instead of a generic test failure. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Move material_ui/cupertino_ui off retracted 1.3.0/1.1.0 to ^1.11.0/^1.1.6 and regenerate pubspec.lock, so CI tests what users resolve. - Declare flutter >=3.47.0 in html_rich_text, ns_firebase_utils and timer_button, which now depend on material_ui. - Use Dart 3.14.0 for pub.dev OIDC in publish.yml. - Correct docs: global melos activation is required for releases; CLI README and template CLAUDE.md reference Flutter 3.50.0. - Regenerate nonstop_cli bundles and nonstop_example. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Moves the whole monorepo (packages, plugins, CI, and
nonstop createtemplates) to Flutter 3.50.0 (Dart 3.14).quality.yml, pins Flutter 3.50.0.publish.ymlauthenticates with Dart 3.14.0.dart run meloscrashes on Dart 3.14.Platform.scriptnow points at source, andcli_launcher≤0.3.4+1 can't resolve it. Everything now calls a globally activatedmelos, which defers to the workspace-pinned 8.8.0. CI runsdart pub global activate melos 8.8.0.nonstop createnow runs onlydart pub getand no longer needs melos.package:flutter/material.dartandcupertino.dartare deprecated in 3.50, which fails--fatal-infos. Imports move tomaterial_ui ^1.11.0/cupertino_ui ^1.1.6. Packages using them declareflutter: ">=3.47.0".tools/coverage.pyfor the 3.50flutter_toolsAPI. It now reports driver breakage explicitly instead of a generic "Tests failed".pubspec.lock, the CLI bundles, andexample/nonstop_example.Verification (Flutter 3.50.0)
flutter pub get --enforce-lockfile,melos run lint: passpython3 tools/coverage.py: every package at 100%tools/tests(13) andtools/releasetests withRELEASE_INTEGRATION=1(23/23, real melos): passverify_templateprofiles (analysis, tests, 100% coverage, web build): passReview notes
dart pub global activate melosonce. Revert todart run meloswhen a fixedcli_launcherships.app.dartanddeveloper_screen.dart).talker_flutterandfirebase_ui_authstill need legacyMaterialLocalizations. Remove the imports once those packages move tomaterial_ui.nonstop createoutput; Flutter generates the Podfile on the first iOS build.flutter_toolsAPIs, so expect it to need updates on future Flutter upgrades.🤖 Generated with Claude Code