Skip to content

chore: support Flutter 3.50.0 across packages, plugins and CI - #52

Merged
ProjectAJ14 merged 3 commits into
mainfrom
chore/flutter-3.50.0
Nov 14, 2026
Merged

ProjectAJ14 merged 3 commits into
mainfrom
chore/flutter-3.50.0

Conversation

@ProjectAJ14

Copy link
Copy Markdown
Contributor

Summary

Moves the whole monorepo (packages, plugins, CI, and nonstop create templates) to Flutter 3.50.0 (Dart 3.14).

  • CI: every workflow, including the generated-project quality.yml, pins Flutter 3.50.0. publish.yml authenticates with Dart 3.14.0.
  • Melos: dart run melos crashes on Dart 3.14. Platform.script now points at source, and cli_launcher ≤0.3.4+1 can't resolve it. Everything now calls a globally activated melos, which defers to the workspace-pinned 8.8.0. CI runs dart pub global activate melos 8.8.0. nonstop create now runs only dart pub get and no longer needs melos.
  • Material/Cupertino: package:flutter/material.dart and cupertino.dart are deprecated in 3.50, which fails --fatal-infos. Imports move to material_ui ^1.11.0 / cupertino_ui ^1.1.6. Packages using them declare flutter: ">=3.47.0".
  • contact_permission: pinned AGP to 9.3.1. AGP 9.4.1 needs Gradle 9.6+, so the plugin broke Android builds of fresh 3.50 apps, which use Gradle 9.5.0.
  • Coverage tool: rewrote the embedded driver in tools/coverage.py for the 3.50 flutter_tools API. It now reports driver breakage explicitly instead of a generic "Tests failed".
  • Regenerated pubspec.lock, the CLI bundles, and example/nonstop_example.

Verification (Flutter 3.50.0)

  • flutter pub get --enforce-lockfile, melos run lint: pass
  • python3 tools/coverage.py: every package at 100%
  • tools/tests (13) and tools/release tests with RELEASE_INTEGRATION=1 (23/23, real melos): pass
  • Brick hook tests (15), and all six verify_template profiles (analysis, tests, 100% coverage, web build): pass
  • contact_permission: native suites 100% (Kotlin 58/58, Swift/ObjC 44/44). A fresh 3.50 app with the plugin builds for Android and iOS.

Review notes

  • Contributors need dart pub global activate melos once. Revert to dart run melos when a fixed cli_launcher ships.
  • Two intentional legacy imports remain in the template (app.dart and developer_screen.dart). talker_flutter and firebase_ui_auth still need legacy MaterialLocalizations. Remove the imports once those packages move to material_ui.
  • The example snapshot no longer contains an iOS Podfile. That is the clean 3.50 nonstop create output; Flutter generates the Podfile on the first iOS build.
  • The coverage driver uses internal flutter_tools APIs, so expect it to need updates on future Flutter upgrades.
  • Melos 8.8.0 is hardcoded in five workflow steps. Keep them in sync with the root pin.

🤖 Generated with Claude Code

ProjectAJ14 and others added 3 commits November 14, 2026 21:03
- 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>
@ProjectAJ14
ProjectAJ14 merged commit 8727764 into main Nov 14, 2026
36 checks passed
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